Repository navigation
fix(k8s): key claim table by chart version - #3812
Merged
Merged
Conversation
The claim table CHART_CLAIMS had the chart name as its key. A chart release can move the value that sets a claim or an affinity, and the test then passed on a stale path. The key is now the chart and the version that the entry was read from, as in the token test of #1652. A new test asserts that the keys equal the pinned charts, so a chart bump fails until a person reads the claim values of the new version again. Closes #2519
Owner
Author
|
Test evidence for #2519.
|
dan-petty
marked this pull request as ready for review
November 6, 2026 17:35
dan-petty
pushed a commit
that referenced
this pull request
Nov 6, 2026
🤖 I have created a release *beep* *boop* --- ## [0.70.1](v0.70.0...v0.70.1) (2026-11-06) ### Bug Fixes * **k8s:** key claim table by chart version ([#3812](#3812)) ([555280f](555280f)) * **openspec:** accept every Verification line of an active plan ([#3809](#3809)) ([e999bfe](e999bfe)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #2519:
CHART_CLAIMSintests/core/test_k8s_local_path_placement.pyhas the chart name as its key. No check ties an entry to the chart version that an Argo CD Application pins. A chart release can move the claim switch or the affinity path of a pod. The test then reads a value that the chart no longer uses, and it passes. The pod can bind its volume on the control-plane node. The token test of #1652 solved this with a key of chart and version, and a check that the key set equalspinned_charts(). This change givesCHART_CLAIMSthe same key and the same check.Closes #2519
Change:
openspec/changes/archive/2026-11-06-2519-the-claim-table-of-the-local/