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

Yaml fails to render podLabels properly since version 3.14.0 #3251

Closed
DanTulovsky opened this issue Feb 2, 2024 · 1 comment
Closed

Yaml fails to render podLabels properly since version 3.14.0 #3251

DanTulovsky opened this issue Feb 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@DanTulovsky
Copy link

What steps did you take and what happened:
[A clear and concise description of what the bug is.]

In version 3.13.4 this file: https://github.com/open-policy-agent/gatekeeper/blob/v3.13.4/charts/gatekeeper/templates/_helpers.tpl

had:

image

In version 3.14.0 it's:

image

The missing nindent is causing failures to render yaml:

Error: YAML parse error on gatekeeper/templates/gatekeeper-audit-deployment.yaml: error converting YAML to JSON: yaml: line 33: mapping values are not allowed in this context
helm.go:84: [debug] error converting YAML to JSON: yaml: line 33: mapping values are not allowed in this context
image

Was there a reason the nindent was removed?

thank you

What did you expect to happen:

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Gatekeeper version:
  • Kubernetes version: (use kubectl version):
@DanTulovsky DanTulovsky added the bug Something isn't working label Feb 2, 2024
@DanTulovsky
Copy link
Author

looks like this is: #3240

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant