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
Adding a nexus.extraLabels mapping causes templating to fail with the following message:
Error: YAML parse error on nexus-repository-manager/templates/deployment.yaml: error converting YAML to JSON: yaml: line 11: mapping values are not allowed in this context
Looking at the output with --debug, it appears the the first entry in the extraLabels map is indented too far, and this is causing the problem.
The template files seem to use the syntax:
{{- if .Values.nexus.extraLabels }}
{{- with .Values.nexus.extraLabels }}
{{ toYaml . | indent 4 }}
{{- end }}
{{- end }}
I believe switching from indent to nindent should fix the issue.
The text was updated successfully, but these errors were encountered:
Adding a
nexus.extraLabels
mapping causes templating to fail with the following message:Looking at the output with
--debug
, it appears the the first entry in theextraLabels
map is indented too far, and this is causing the problem.The template files seem to use the syntax:
I believe switching from
indent
tonindent
should fix the issue.The text was updated successfully, but these errors were encountered: