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: document missing bpf helm option #21650

Merged
merged 1 commit into from
Oct 18, 2022
Merged

Conversation

vincentmli
Copy link
Contributor

@vincentmli vincentmli commented Oct 10, 2022

add missing bpf.lbBypassFIBLookup, bpf.hostLegacyRouting bpf.tproxy, bpf.vlanBypass in helm reference and helm documents

Signed-off-by: Vincent Li v.li@f5.com

Please ensure your pull request adheres to the following guidelines:

  • For first time contributors, read Submitting a pull request
  • All code is covered by unit and/or runtime tests where feasible.
  • All commits contain a well written commit description including a title,
    description and a Fixes: #XXX line if the commit addresses a particular
    GitHub issue.
  • If your commit description contains a Fixes: <commit-id> tag, then
    please add the commit author[s] as reviewer[s] to this issue.
  • All commits are signed off. See the section Developer’s Certificate of Origin
  • Provide a title or release-note blurb suitable for the release notes.
  • Thanks for contributing!

Fixes: #issue-number

document  missing  bpf.hostLegacyRouting, bpf.tproxy, bpf.vlanBypass option

@vincentmli vincentmli requested review from a team as code owners October 10, 2022 20:28
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Oct 10, 2022
Copy link
Member

@kaworu kaworu left a comment

Choose a reason for hiding this comment

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

Hi @vincentmli and thanks for the PR.

The kindIs "invalid" Helm tests look a bit odd, any reason not to set the default values into Helm directly instead (e.g. masquerade: false)?

@kaworu kaworu added kind/enhancement This would improve or streamline existing functionality. area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. release-note/misc This PR makes changes that have no direct user impact. area/helm Impacts helm charts and user deployment experience labels Oct 11, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Oct 11, 2022
@vincentmli
Copy link
Contributor Author

Hi @vincentmli and thanks for the PR.

The kindIs "invalid" Helm tests look a bit odd, any reason not to set the default values into Helm directly instead (e.g. masquerade: false)?

sorry I should have maybe included previous PR discussion, it is suggested by @gandro here is the discussion #21195 (comment) and #21195 (comment)

@vincentmli
Copy link
Contributor Author

@kaworu I updated the commit message to give some context on the kindIs "invalid"

Copy link
Member

@gandro gandro left a comment

Choose a reason for hiding this comment

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

Thanks! Some of the default values are off however.

install/kubernetes/cilium/values.yaml.tmpl Outdated Show resolved Hide resolved
install/kubernetes/cilium/values.yaml.tmpl Outdated Show resolved Hide resolved
@vincentmli vincentmli force-pushed the vli-doc branch 3 times, most recently from 0b6de80 to ab6b40f Compare October 12, 2022 14:09
Copy link
Member

@gandro gandro left a comment

Choose a reason for hiding this comment

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

Thanks!

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>
Copy link
Member

@qmonnet qmonnet left a comment

Choose a reason for hiding this comment

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

Looks good, thank you.

@squeed squeed added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Oct 18, 2022
@squeed
Copy link
Contributor

squeed commented Oct 18, 2022

This is a nice cleanup - thanks!

@qmonnet qmonnet merged commit 5bf3c90 into cilium:master Oct 18, 2022
@gandro gandro mentioned this pull request Feb 14, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. area/helm Impacts helm charts and user deployment experience kind/enhancement This would improve or streamline existing functionality. 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.

None yet

5 participants