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
Error: YAML parse error on octopusdeploy-helm/templates/statefulset.yaml: error converting YAML to JSON: yaml: line 26: mapping values are not allowed in this context
The helm chart statefulset template has to be changed as below
Current Pod Labels Block
{{- if .Values.octopus.pods.labels }}
{{ toYaml .Values.octopus.pods.labels | indent 2 }}
{{- end }}
Proposed Pod Labels Block
{{- with .Values.octopus.pods.labels }}
{{ toYaml . | indent 2 }}
{{- end }}
The text was updated successfully, but these errors were encountered:
The current helm chart supports adding only one Pod label via the helm chart.
Below is our values file and error we're seeing when trying to assign multiple pod labels
Values.yaml
Error
The helm chart statefulset template has to be changed as below
Current Pod Labels Block
Proposed Pod Labels Block
The text was updated successfully, but these errors were encountered: