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

fix(helm): add nindent in objectSelector #3071

Merged
merged 6 commits into from
Oct 23, 2023

Conversation

leewoobin789
Copy link
Contributor

@leewoobin789 leewoobin789 commented Oct 16, 2023

What this PR does / why we need it:

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 indentation problem occurred when you specify objectSelector via either validatingWebhookObjectSelector or mutatingWebhookObjectSelector

Special notes for your reviewer:

for instance, adding validatingWebhookObjectSelector causes templating error

Error: YAML parse error on gatekeeper/charts/gatekeeper/templates/gatekeeper-validating-webhook-configuration-validatingwebhookconfiguration.yaml: error converting YAML to JSON: yaml: line 33: mapping values are not allowed in this context

Copy link
Member

@sozercan sozercan left a comment

Choose a reason for hiding this comment

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

see comment

Signed-off-by: leewoobin789 <leewoobin789@gmail.com>
This reverts commit b85c78d.

Signed-off-by: leewoobin789 <leewoobin789@gmail.com>
Signed-off-by: leewoobin789 <leewoobin789@gmail.com>
Copy link
Member

@ritazh ritazh left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ce8a955) 52.46% compared to head (ed13f33) 52.46%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3071   +/-   ##
=======================================
  Coverage   52.46%   52.46%           
=======================================
  Files         134      134           
  Lines       11952    11952           
=======================================
  Hits         6271     6271           
+ Misses       5190     5189    -1     
- Partials      491      492    +1     
Flag Coverage Δ
unittests 52.46% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ritazh
Copy link
Member

ritazh commented Oct 17, 2023

@sozercan PTAL

@leewoobin789
Copy link
Contributor Author

@sozercan could you review it once again? :)

@sozercan sozercan merged commit f58c5a8 into open-policy-agent:master Oct 23, 2023
16 checks passed
Mattes83 pushed a commit to Mattes83/gatekeeper that referenced this pull request Oct 25, 2023
Signed-off-by: leewoobin789 <leewoobin789@gmail.com>
Co-authored-by: Rita Zhang <rita.z.zhang@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants