You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a new image is built the image updater shows following log:
helm template . --name-template some --namespace some --kube-version 1.27 \
--set-string apps.api.image.repository=some \
--set-string apps.api.image.tag=some <api versions removed> --include-crds` failed exit status 1:
Error: template: chart/file.yaml:22:17: executing \"chart/file.yaml\" at <$app.webserver.upstream>: nil pointer evaluating interface {}.upstream%0A%0A
Expected behavior
Expected is the new image being updated. However it seems the existing chart becomes incompatible when switching to valuesObject:, and im wondering how we should proceed.
Chart snippet (unchanged)
data:
api.conf: |
{{- with $app.webserver.upstream }}
upstream backend {
{{- . | nindent 6 }}
}
{{- end }}
Nested value (unchanged)
valuesObject: # values: |apps:
api:
webserver:
upstream: | multi line
Checklist:
argocd version
.Describe the bug
We are trying to migrate from
values: |
tovaluesObject:
as per https://argo-cd.readthedocs.io/en/stable/user-guide/helm/#valuesWhen a new image is built the image updater shows following log:
Expected behavior
Expected is the new image being updated. However it seems the existing chart becomes incompatible when switching to
valuesObject:
, and im wondering how we should proceed.Chart snippet (unchanged)
Nested value (unchanged)
Version
The text was updated successfully, but these errors were encountered: