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 : correct typo when using global.annotations #420

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

ThomasLachaux
Copy link
Contributor

When using global.annotation with ingress, the templating errored with the following error :

Error: template: kyverno/charts/policy-reporter/templates/ingress.yaml:33:22: executing "kyverno/charts/policy-reporter/templates/ingress.yaml" at <.Values.annotations>: nil pointer evaluating interface {}.annotations

Use --debug flag to render out invalid YAML

This fixes it.

Signed-off-by: Thomas de Lachaux <[email protected]>
Signed-off-by: Thomas de Lachaux <[email protected]>
@fjogeleit fjogeleit merged commit cb5d836 into kyverno:main Apr 11, 2024
3 checks passed
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8649372950

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 91.645%

Totals Coverage Status
Change from base Build 8342416432: 0.04%
Covered Lines: 4574
Relevant Lines: 4991

💛 - Coveralls

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

3 participants