-
Notifications
You must be signed in to change notification settings - Fork 767
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
fix: liniting error in gatekeeper-controller-manager-poddisruptionbudget.yaml #3519
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3519 +/- ##
==========================================
- Coverage 54.49% 47.99% -6.51%
==========================================
Files 134 219 +85
Lines 12329 15169 +2840
==========================================
+ Hits 6719 7280 +561
- Misses 5116 7072 +1956
- Partials 494 817 +323
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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 the PR!
PTAL @sozercan @maxsmythe. We will probably need to CP this in 3.17. Also, we should add CI check to prevent this in future,
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
{{- $v1 := .Capabilities.APIVersions.Has "policy/v1/PodDisruptionBudget" -}} | ||
{{- $v1beta1 := .Capabilities.APIVersions.Has "policy/v1beta1/PodDisruptionBudget" -}} | ||
{{ $v1 := .Capabilities.APIVersions.Has "policy/v1/PodDisruptionBudget" -}} | ||
{{ $v1beta1 := .Capabilities.APIVersions.Has "policy/v1beta1/PodDisruptionBudget" -}} |
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.
Please refer to Contributing to Helm Chart for modifying the Helm chart.
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.
I've updated the corresponding files. Please have a look.
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.
@tberreis you need to remove the changes from charts
. The changes will be promoted to the root charts directory the next time a Gatekeeper release is cut. You need to limit the changes to cmd/build/helmify
and manifest_staging
.
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.
Thx @JaydipGabani. Done.
…get.yaml see helm/helm#10149 Signed-off-by: Thomas Berreis <thomas@berreis.de>
Fixes #3527 |
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! LGTM
…get.yaml (open-policy-agent#3519) Signed-off-by: Thomas Berreis <thomas@berreis.de> Co-authored-by: Jaydipkumar Arvindbhai Gabani <gabanijaydip@gmail.com> (cherry picked from commit 3f45732)
…get.yaml (open-policy-agent#3519) Signed-off-by: Thomas Berreis <thomas@berreis.de> Co-authored-by: Jaydipkumar Arvindbhai Gabani <gabanijaydip@gmail.com> (cherry picked from commit 3f45732) Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
With v3.17.0 the separator
---
has been added to a lot of templates.For the
gatekeeper-controller-manager-poddisruptionbudget.yaml
it unfortunately breaks the helm linting:For details please see helm/helm#10149.
What this PR does / why we need it:
This PR fixes the linting error. The rendered chart remains untouched.
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):Fixes #
Special notes for your reviewer: