fix(argocd): stop the document separator gluing itself to the last chart value

`{{- end -}}` ate the newline before the trailing `---`, so the last line of
the rendered values always absorbed it. It had been silently corrupting
serverAddress ("https://argocd.arcodange.lab/---") and turned fatal the moment
a *name* landed last: the install failed with

  Deployment.apps "argocd-image-updater-controller" is invalid:
  spec.template.spec.volumes[6].name: Invalid value: "homelab-ca---"

k3s had already uninstalled the release before the failed reinstall, so the
fleet is running with no image-updater until this lands.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013ws8L74dVZmp97Wu36fm8j
This commit is contained in:
2026-07-20 09:22:41 +02:00
co-authored by Claude Fable 5
parent 34c1ad697f
commit 54a603bf3a
+1 -2
View File
@@ -10,5 +10,4 @@ spec:
targetNamespace: argocd
valuesContent: |-
{{- toYaml . | nindent 4 }}
{{- end -}}
---
{{- end }}