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.
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,
| {{- $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.
Please refer to Contributing to Helm Chart for modifying the Helm chart.
There was a problem hiding this comment.
I've updated the corresponding files. Please have a look.
There was a problem hiding this comment.
@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.
…get.yaml see helm/helm#10149 Signed-off-by: Thomas Berreis <thomas@berreis.de>
|
Fixes #3527 |
…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.yamlit 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: