We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Using default values the helm template generates invalid manifests.
To Reproduce
helm template myapp .
You will end up with something like:
apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: myapp-operator-manager-role labels: namespace: default ...
This happens on multiple resources.
I think the bulk of the issues come from the operator, for example: https://github.com/kubeshop/helm-charts/blob/main/charts/testkube-operator/templates/rolebinding.yaml#L8
It's also not clear where globalLabels comes from (not sure it's specified as an option in values.yaml)
globalLabels
values.yaml
Expected behavior If there are no label values defined the labels field should not be present.
labels
Version / Cluster
The text was updated successfully, but these errors were encountered:
thank you @nabadger I will ask our devops engineers @ypoplavs @dejanzele to check it out
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Using default values the helm template generates invalid manifests.
To Reproduce
You will end up with something like:
This happens on multiple resources.
I think the bulk of the issues come from the operator, for example: https://github.com/kubeshop/helm-charts/blob/main/charts/testkube-operator/templates/rolebinding.yaml#L8
It's also not clear where
globalLabels
comes from (not sure it's specified as an option invalues.yaml
)Expected behavior
If there are no label values defined the
labels
field should not be present.Version / Cluster
The text was updated successfully, but these errors were encountered: