-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
cli: Use custom named map instead of StringToStringVar #19968
Conversation
11fcedb
to
a8a5fbb
Compare
Out of all the flags having string map type, only these two flags are StringToStringVar type, which failed validation if the passed value is json format. ``` 2022-05-26T12:03:33.817769447Z level=fatal msg="Incorrect config-map flag subnet-tags-filter" error="{\"type\":\"private\"} must be formatted as key=value" subsys=config ``` Relates: cilium#16014 Fixes: cilium#19961 Signed-off-by: Tam Mach <tam.mach@cilium.io>
/test |
/test-1.23-net-next Job 'Cilium-PR-K8s-1.23-kernel-net-next' failed: Click to show.Test Name
Failure Output
If it is a flake and a GitHub issue doesn't already exist to track it, comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of this.
/test-1.23-net-next |
Reviews are in, all required tests are passed. Marking this ready to merge. |
Description
Out of all the flags having string map type, only these two flags are
StringToStringVar type, which failed validation if the passed value is
json format.
Relates: #16014
Fixes: #19961
Signed-off-by: Tam Mach tam.mach@cilium.io
Testing
Testing was done locally before and after for below helm value file.