Skip to content

cilium-cli: add annotation to indicate we should wait for policy #38867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2025

Conversation

squeed
Copy link
Contributor

@squeed squeed commented Apr 10, 2025

The connectivity tests wait for policy changes to roll out; they do so by counting the number of policy resources and waiting for each agent's revision to be incremented by that number.

There are, however, other resources or actions that can cause policy revision bumps such as config changes or CiliumEnvoyConfigs. Rather than coding them all in, enable a special annotation that triggers this.

@squeed squeed added the release-note/misc This PR makes changes that have no direct user impact. label Apr 10, 2025
@squeed squeed requested a review from a team as a code owner April 10, 2025 11:49
@squeed squeed requested a review from derailed April 10, 2025 11:49
@github-actions github-actions bot added cilium-cli This PR contains changes related with cilium-cli cilium-cli-exclusive This PR only impacts cilium-cli binary labels Apr 10, 2025
@squeed
Copy link
Contributor Author

squeed commented Apr 10, 2025

/test

The connectivity tests wait for policy changes to roll out; they do so
by counting the number of policy resources and waiting for each agent's
revision to be incremented by that number.

There are, however, other resources or actions that can cause policy
revision bumps such as config changes or CiliumEnvoyConfigs. Rather
than coding them all in, enable a special annotation that triggers this.

Signed-off-by: Casey Callendrello <cdc@isovalent.com>
@squeed squeed force-pushed the cli-policy-bump-anno branch from 9d03041 to 8e59744 Compare April 16, 2025 13:05
@squeed
Copy link
Contributor Author

squeed commented Apr 16, 2025

/test

@squeed squeed requested a review from derailed April 16, 2025 13:07
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Apr 17, 2025
@squeed squeed added this pull request to the merge queue Apr 17, 2025
Merged via the queue into cilium:main with commit 471c873 Apr 17, 2025
68 of 69 checks passed
@squeed squeed deleted the cli-policy-bump-anno branch April 17, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cilium-cli This PR contains changes related with cilium-cli cilium-cli-exclusive This PR only impacts cilium-cli binary ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants