Skip to content

Commit c9ca168

Browse files
authored
BUGFIX incorrect indentation (#10254)
Error: Failed to render chart: exit status 1: Error: YAML parse error on ingress-nginx/templates/controller-serviceaccount.yaml: error converting YAML to JSON: yaml: line 14: mapping values are not allowed in this context Use --debug flag to render out invalid YAML Error: plugin "diff" exited with error
1 parent d45a0c3 commit c9ca168

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

charts/ingress-nginx/templates/controller-serviceaccount.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ metadata:
1111
name: {{ template "ingress-nginx.serviceAccountName" . }}
1212
namespace: {{ .Release.Namespace }}
1313
{{- if .Values.serviceAccount.annotations }}
14-
annotations:
15-
{{- toYaml .Values.serviceAccount.annotations | nindent 4 }}
14+
annotations: {{ toYaml .Values.serviceAccount.annotations | nindent 4 }}
1615
{{- end }}
1716
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
1817
{{- end }}

0 commit comments

Comments
 (0)