Skip to content

Conversation

joamaki
Copy link
Contributor

@joamaki joamaki commented Sep 24, 2024

Add support for showing config.cilium.io annotations in configmaps/cilium-config in "cilium status". This allows informing the user of a non-fatal misconfigured or unsupported configuration.

Example output with annotation {"config.cilium.io/example": "This is an example warning"}:

  $ cilium status
  ...
  Configuration:                This is an example warning

@joamaki joamaki added the release-note/misc This PR makes changes that have no direct user impact. label Sep 24, 2024
@github-actions github-actions bot added the cilium-cli This PR contains changes related with cilium-cli label Sep 24, 2024
@joamaki joamaki marked this pull request as ready for review September 24, 2024 10:23
@joamaki joamaki requested review from a team as code owners September 24, 2024 10:23
Copy link
Member

@tklauser tklauser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat, thanks!

@joamaki joamaki changed the title cilium-cli: Show taint annotations cilium-cli: Show config.cilium.io annotations on CiliumNode Sep 25, 2024
@joamaki joamaki requested a review from a team as a code owner September 26, 2024 12:42
@joamaki joamaki requested a review from gandro September 26, 2024 12:42
@joamaki joamaki changed the title cilium-cli: Show config.cilium.io annotations on CiliumNode cilium-cli: Show config.cilium.io annotations on configmap Sep 26, 2024
@joamaki joamaki requested review from joestringer and removed request for thorn3r September 26, 2024 12:43
@joamaki
Copy link
Contributor Author

joamaki commented Sep 26, 2024

/test

Add support to "cilium status" for showing config.cilium.io/ annotations in configmaps/cilium-config.
This allows marking non-fatal issues in the configuration and showing them to the user.

Example output with configmaps/cilium-config with annotation
{"config.cilium.io/example": "This is an example error"}:

  $ cilium status
  ...
  Configuration:          This is an example error

Signed-off-by: Jussi Maki <jussi@isovalent.com>
@joamaki
Copy link
Contributor Author

joamaki commented Sep 26, 2024

/test

@joamaki joamaki enabled auto-merge September 26, 2024 14:04
@joamaki joamaki added backport/author The backport will be carried out by the author of the PR. needs-backport/1.16 This PR / issue needs backporting to the v1.16 branch labels Oct 1, 2024
@joamaki joamaki added this pull request to the merge queue Oct 1, 2024
Merged via the queue into cilium:main with commit a0409f0 Oct 1, 2024
62 of 63 checks passed
@joamaki joamaki deleted the pr/joamaki/taints branch October 1, 2024 10:35
@joamaki joamaki mentioned this pull request Oct 1, 2024
1 task
@github-actions github-actions bot added the backport-done/1.16 The backport for Cilium 1.16.x for this PR is done. label Oct 2, 2024
@julianwiedmann julianwiedmann removed the needs-backport/1.16 This PR / issue needs backporting to the v1.16 branch label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/author The backport will be carried out by the author of the PR. backport-done/1.16 The backport for Cilium 1.16.x for this PR is done. cilium-cli This PR contains changes related with cilium-cli 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.

6 participants