Skip to content

Commit 32656cd

Browse files
authored
Fix service account annotations not being applied (#9)
The template rendered a blank line between the annotations key and its values: ```yaml annotations: iam.gke.io/gcp-service-account: example@project.iam.gserviceaccount.com ``` This caused annotations to be ignored, breaking features like GKE Workload Identity Federation. Fixed output: ```yaml annotations: iam.gke.io/gcp-service-account: example@project.iam.gserviceaccount.com ```
1 parent ec0ce87 commit 32656cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/connector/templates/serviceaccount.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ metadata:
77
{{- include "connector.labels" . | nindent 4 }}
88
{{- with .Values.serviceAccount.annotations }}
99
annotations:
10-
{{ . | toYaml | nindent 4 }}
10+
{{- toYaml . | nindent 4 }}
1111
{{- end }}
1212
{{- end }}

0 commit comments

Comments
 (0)