-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
kustomize rendering/templating of helmchart has issues with Values.server.route.enabled #2717
Comments
this turned out to be related to the templating, and specifically: charts/argo-cd-6.0.6/argo-cd/templates/argocd-server/openshift/route.yaml and it's, {{- if .Values.server.route.enabled -}} evaluating to false. This would be the case if there were no server.route.enabled defined in the argocd helm chart's values file. I don't use openshift and have moved on to the API gateway so I just removed the {{- if .Values.server.route.enabled -}} templating. |
apologies... that did not actually fix it. Oh well,back to the drawing board. |
Describe the bug
error: Error: template: argo-cd/templates/argocd-server/openshift/route.yaml:1:14: executing "argo-cd/templates/argocd-server/openshift/route.yaml" at <.Values.server.route.enabled>: nil pointer evaluating interface {}.route
Related helm chart
argo-cd
Helm chart version
6.0.6
To Reproduce
Expected behavior
Proper templating of this .Values.server.route.enabled
omitting it in value.yaml also produces the above errors. Explicitly providing is also does.
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: