-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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: document ipv{4,6}NativeRoutingCIDR option missing in helm reference #21195
Conversation
e39b4e2
to
4b56988
Compare
86f04d3
to
938cd07
Compare
not sure why the Smoke test / conformance-test (pull_request) failed. could not find sysdump file to check
|
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 a lot for your PR, I have couple of comments below.
One of them will help with the below smoke test failure you mentioned. I would also suggest taking a quick look in code to confirm the default value in helm and implementation are the same, sometimes we didn't pay much attention in helm especially it's commented.
This is a huge change, and we need to track down every variable to see if the provided sample is, in fact, the default, or just an example. For each variable, we need to determine if an empty value can be provided (and thus consumed appropriately). I know this is a lot of work, but as it stands, this PR isn't safe to merge. |
@squeed How about splitting the singe huge change one commit in multiple commits/PRs, for examples, the two or three options I have tested and verified to work in one commit/PR, and the ones that I am not sure and has not tested/verified in following-up commits/PRs ? |
Absolutely, piecemeal is the way to go here. And needless to say, thanks for looking in to this! |
e4162b5
to
20a9123
Compare
Documentation Updates CI check failure should be addressed with 5ea92fa. Following Sebastian's reasoning, we're good to go, I'm marking as ready to merge. |
I'd expect the CI check to have reported other errors too if there was any, but right, I was somewhat on the fence as well. @vincentmli Can you rebase and update the PR please? |
…ence helm options that are commented out in install/kubernetes/cilium/values.yaml.tmpl are missing documentation in Documentation/helm-values.rst and in helm reference this is reported in a few GH issues, for example: cilium#21107 This appears to be known helm-doc bug and the bug has not been resolved, a related PR norwoodj/helm-docs#99 that seems has not completely resloved the issue. before the helm-doc bug is root caused, uncomment these helm options as workaround. Since Documentation/helm-values.rst install/kubernetes/cilium/README.md are auto generated, it is difficult to avoid rebase/squash conflicts in local branch and upstream master branch, so introduce the helm option in smaller changes so it easy to review and rebase/squash and merge. Fixes: cilium#21334 cilium#21107 Signed-off-by: Vincent Li <v.li@f5.com>
20a9123
to
1e3d3ae
Compare
done |
Thanks! |
This is follow-up of cilium#21195 to continue to document missing helm options. Signed-off-by: Vincent Li <v.li@f5.com>
This is follow-up of #21195 to continue to document missing helm options. Signed-off-by: Vincent Li <v.li@f5.com>
As this PR doesn't include a new feature, is there any chance it could be backported to the next release of v1.12? @vincentmli |
add missing bpf.hostLegacyRouting, bpf.tproxy, bpf.vlanBypass in helm reference and helm documents. remove bpf.lbBypassFIBLookup, hostRouting when original commented helm option is uncommented, the helm template generated manifest will include the new uncommented helm option even helm template does not specify the new uncommented option, this behavior could affect unknown effect, see cilium#21195 (comment) For bool type helm option, gandro suggested (not (eq nil $value)) check, but it didn't work. see cilium#21195 (comment) Eventually gandro suggested the {{- if (not (kindIs "invalid" .Values.bpf.tproxy)) }} trick found in Masterminds/sprig#53 (comment) see: cilium#21195 (comment) cilium#21195 (comment) Signed-off-by: Vincent Li <v.li@f5.com>
add missing bpf.hostLegacyRouting, bpf.tproxy, bpf.vlanBypass in helm reference and helm documents. remove bpf.lbBypassFIBLookup, hostRouting when original commented helm option is uncommented, the helm template generated manifest will include the new uncommented helm option even helm template does not specify the new uncommented option, this behavior could affect unknown effect, see #21195 (comment) For bool type helm option, gandro suggested (not (eq nil $value)) check, but it didn't work. see #21195 (comment) Eventually gandro suggested the {{- if (not (kindIs "invalid" .Values.bpf.tproxy)) }} trick found in Masterminds/sprig#53 (comment) see: #21195 (comment) #21195 (comment) Signed-off-by: Vincent Li <v.li@f5.com>
helm options that are commented out in install/kubernetes/cilium/values.yaml.tmpl
are missing documentation in Documentation/helm-values.rst and in helm reference
this is reported in a few GH issues, for example:
#21107
This appears to be known helm-doc bug and the bug has not been resolved, a related
PR norwoodj/helm-docs#99 that seems has not completely resloved
the issue.
before the helm-doc bug is root caused, uncomment these helm options as workaround.
This PR is to document ipv4, ipv6 native routing cidr helm option
Signed-off-by: Vincent Li v.li@f5.com
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Fixes: #21107