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

[Helm] Duplicate allowedHostPaths in psp.yaml #4

Closed
RedBlackThunder opened this issue Apr 22, 2022 · 3 comments · Fixed by #5
Closed

[Helm] Duplicate allowedHostPaths in psp.yaml #4

RedBlackThunder opened this issue Apr 22, 2022 · 3 comments · Fixed by #5

Comments

@RedBlackThunder
Copy link

The key allowedHostPaths in duplicated in the template psp.yaml, which results in an error message with helm.

Kind regards,
Florian

@MrEcco
Copy link
Contributor

MrEcco commented Apr 23, 2022

Thank you for your issue

Field duplication in YAML does not produce errors, and even for validation by jsonschema it is invisible. Nevertheless, this can confuse while reading the chart. We will fix it soon.

set -e

# Is YAML valid?
helm template . | yq . >/dev/null

# Is manifests valid?
helm template . | kubeval --schema-location \
    https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/ 

@MrEcco
Copy link
Contributor

MrEcco commented Apr 23, 2022

@RedBlackThunder

Now you able to see v0.9.5 release. Also we have add the info about helm registry that we deploy this chart in.

@RedBlackThunder
Copy link
Author

Thx for fixing.

I do not know why, but we are using FluxCD and Helm and it was complaining about that duplicate key.

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 a pull request may close this issue.

2 participants