-
Notifications
You must be signed in to change notification settings - Fork 732
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
Update helm templates for compatibility with kustomize #1031
Conversation
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.
LGTM
Thanks for tackling this!
@smlx there are some conflicts now, can you rebase when you get a chance? |
OK, rebased. |
Codecov Report
@@ Coverage Diff @@
## master #1031 +/- ##
==========================================
- Coverage 48.08% 47.84% -0.24%
==========================================
Files 62 62
Lines 4274 4264 -10
==========================================
- Hits 2055 2040 -15
- Misses 1964 1966 +2
- Partials 255 258 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
LGTM. I think you need to run Update: |
kustomize is now stricter on k8s object validation, so we need to massage the templates and replacement strings a bit. Signed-off-by: Scott Leggett <scott@sl.id.au>
Some values are hard-coded in existing base yaml. In helm these should be controlled via values.yaml. Signed-off-by: Scott Leggett <scott@sl.id.au>
Signed-off-by: Scott Leggett <scott@sl.id.au>
Signed-off-by: Scott Leggett <scott@sl.id.au>
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.
LGTM
@smlx thanks for the PR! Looks like there are a few conflicts, please let us know if you get a chance to resolve them. |
hi @sozercan sorry I've already rebased and fixed conflicts twice now since sending this PR and don't have the time/energy to do it again. Feel free to close or anyone is welcome to take over. |
No worries at all, thanks for the PR again. I pushed to your branch to fix the conflicts. @maxsmythe still lgty? |
charts/gatekeeper/templates/gatekeeper-controller-manager-deployment.yaml
Outdated
Show resolved
Hide resolved
LGTM, I think there is one stray character in here though (search for |
Thanks for getting this over the line, much appreciated! 🎉 |
…gent#1031) Co-authored-by: Sertac Ozercan <sozercan@gmail.com>
What this PR does / why we need it:
kustomize now does additional validation on YAML. This PR updates the helm chart templates for compatibility with kustomize.
Which issue(s) this PR fixes:
Closes #1022
Superseded / Closes: #980
Special notes for your reviewer:
The new kustomization patches are based on diffing the generated helm chart to avoid any unrelated changes.