Skip to content
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

helm: fix envoy daemonset loglevel with multiple verbose debug groups #27698

Conversation

mhofstetter
Copy link
Member

@mhofstetter mhofstetter commented Aug 25, 2023

Currently, the Envoy DaemonSet loglevel is not set correctly if multiple verbose debug groups are passed as helm values.

-> Unknown verbose debug group: <...> in Cilium Agent log

The problem is that the comma is used as group separator instead of a space. (Got confused because Go Viper flags are separated by a comma.)

This commit fixes this by changing the separator.

@mhofstetter mhofstetter added kind/bug This is a bug in the Cilium logic. area/proxy Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers. release-note/bug This PR fixes an issue in a previous release of Cilium. area/servicemesh GH issues or PRs regarding servicemesh labels Aug 25, 2023
@mhofstetter
Copy link
Member Author

/test

@mhofstetter mhofstetter marked this pull request as ready for review August 25, 2023 11:33
@mhofstetter mhofstetter requested review from a team as code owners August 25, 2023 11:33
@mhofstetter mhofstetter added the needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch label Aug 25, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from main in 1.14.2 Aug 25, 2023
Copy link
Contributor

@youngnick youngnick left a comment

Choose a reason for hiding this comment

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

Nice one.

Currently, the Envoy DaemonSet loglevel is not set correctly if multiple
verbose debug groups are passed as helm values. Comma is used as group
separator instead of a space. (Got confused because Go Viper flags are
separated by a comma.)

This commit fixes this by changing the separator.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter force-pushed the pr/mhofstetter/envoy-fix-loglevel-multiple-verbose branch from 0e65976 to 74d93b8 Compare August 28, 2023 07:25
@mhofstetter
Copy link
Member Author

rebased to main to pull in naming changes of github actions

@mhofstetter
Copy link
Member Author

/test

@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 Aug 28, 2023
@tklauser tklauser merged commit 9d0ffdf into cilium:main Aug 29, 2023
60 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/envoy-fix-loglevel-multiple-verbose branch August 29, 2023 08:51
@jibi jibi mentioned this pull request Sep 4, 2023
16 tasks
@jibi jibi added backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. and removed needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch labels Sep 4, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from main to Backport pending to v1.14 in 1.14.2 Sep 4, 2023
@jibi jibi added backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. and removed backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. labels Sep 7, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.14 to Backport done to v1.14 in 1.14.2 Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/proxy Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers. area/servicemesh GH issues or PRs regarding servicemesh backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. kind/bug This is a bug in the Cilium logic. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/bug This PR fixes an issue in a previous release of Cilium.
Projects
No open projects
1.14.2
Backport done to v1.14
Development

Successfully merging this pull request may close these issues.

None yet

5 participants