Skip to content

Commit f5129bb

Browse files
committed
feat: template all annotation values
1 parent 77b866e commit f5129bb

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

deploy/charts/github-token-manager/templates/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
{{- with (default dict .Values.commonAnnotations) }}
88
annotations:
99
{{- range $key, $value := . }}
10-
{{ $key }}: {{ $value | quote }}
10+
{{ $key }}: {{ tpl $value $ | quote }}
1111
{{- end }}
1212
{{- end }}
1313
labels:

deploy/charts/github-token-manager/templates/crds.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
{{- with mergeOverwrite (default dict .Values.commonAnnotations) (ternary (dict "helm.sh/resource-policy" "keep") (dict) .Values.crds.keep) }}
88
annotations:
99
{{- range $key, $value := . }}
10-
{{ $key }}: {{ $value | quote }}
10+
{{ $key }}: {{ tpl $value $ | quote }}
1111
{{- end }}
1212
{{- end }}
1313
labels:
@@ -396,7 +396,7 @@ metadata:
396396
{{- with mergeOverwrite (default dict .Values.commonAnnotations) (ternary (dict "helm.sh/resource-policy" "keep") (dict) .Values.crds.keep) }}
397397
annotations:
398398
{{- range $key, $value := . }}
399-
{{ $key }}: {{ $value | quote }}
399+
{{ $key }}: {{ tpl $value $ | quote }}
400400
{{- end }}
401401
{{- end }}
402402
labels:

deploy/charts/github-token-manager/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
{{- with mergeOverwrite (default dict .Values.commonAnnotations) (default dict $deployment.annotations) }}
88
annotations:
99
{{- range $key, $value := . }}
10-
{{ $key }}: {{ $value | quote }}
10+
{{ $key }}: {{ tpl $value $ | quote }}
1111
{{- end }}
1212
{{- end }}
1313
labels:

deploy/charts/github-token-manager/templates/rbac.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
{{- with mergeOverwrite (default dict .Values.commonAnnotations) (default dict .Values.rbac.serviceAccount.annotations) }}
88
annotations:
99
{{- range $key, $value := . }}
10-
{{ $key }}: {{ $value | quote }}
10+
{{ $key }}: {{ tpl $value $ | quote }}
1111
{{- end }}
1212
{{- end }}
1313
labels:
@@ -21,7 +21,7 @@ metadata:
2121
{{- with (default dict .Values.commonAnnotations) }}
2222
annotations:
2323
{{- range $key, $value := . }}
24-
{{ $key }}: {{ $value | quote }}
24+
{{ $key }}: {{ tpl $value $ | quote }}
2525
{{- end }}
2626
{{- end }}
2727
labels:
@@ -67,7 +67,7 @@ metadata:
6767
{{- with (default dict .Values.commonAnnotations) }}
6868
annotations:
6969
{{- range $key, $value := . }}
70-
{{ $key }}: {{ $value | quote }}
70+
{{ $key }}: {{ tpl $value $ | quote }}
7171
{{- end }}
7272
{{- end }}
7373
labels:
@@ -89,7 +89,7 @@ metadata:
8989
{{- with (default dict .Values.commonAnnotations) }}
9090
annotations:
9191
{{- range $key, $value := . }}
92-
{{ $key }}: {{ $value | quote }}
92+
{{ $key }}: {{ tpl $value $ | quote }}
9393
{{- end }}
9494
{{- end }}
9595
labels:
@@ -175,7 +175,7 @@ metadata:
175175
{{- with (default dict .Values.commonAnnotations) }}
176176
annotations:
177177
{{- range $key, $value := . }}
178-
{{ $key }}: {{ $value | quote }}
178+
{{ $key }}: {{ tpl $value $ | quote }}
179179
{{- end }}
180180
{{- end }}
181181
labels:
@@ -194,7 +194,7 @@ metadata:
194194
{{- with (default dict .Values.commonAnnotations) }}
195195
annotations:
196196
{{- range $key, $value := . }}
197-
{{ $key }}: {{ $value | quote }}
197+
{{ $key }}: {{ tpl $value $ | quote }}
198198
{{- end }}
199199
{{- end }}
200200
labels:
@@ -221,7 +221,7 @@ metadata:
221221
{{- with (default dict .Values.commonAnnotations) }}
222222
annotations:
223223
{{- range $key, $value := . }}
224-
{{ $key }}: {{ $value | quote }}
224+
{{ $key }}: {{ tpl $value $ | quote }}
225225
{{- end }}
226226
{{- end }}
227227
labels:
@@ -243,7 +243,7 @@ metadata:
243243
{{- with (default dict .Values.commonAnnotations) }}
244244
annotations:
245245
{{- range $key, $value := . }}
246-
{{ $key }}: {{ $value | quote }}
246+
{{ $key }}: {{ tpl $value $ | quote }}
247247
{{- end }}
248248
{{- end }}
249249
labels:

deploy/charts/github-token-manager/templates/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
{{- with (default dict .Values.commonAnnotations) }}
88
annotations:
99
{{- range $key, $value := . }}
10-
{{ $key }}: {{ $value | quote }}
10+
{{ $key }}: {{ tpl $value $ | quote }}
1111
{{- end }}
1212
{{- end }}
1313
labels:

0 commit comments

Comments
 (0)