Skip to content

Commit aadb0a5

Browse files
committed
use custom-annotations helper for ingress as well
1 parent 35c1dc8 commit aadb0a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

templates/ingress.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ metadata:
1515
{{- if .Values.ingress.tls }}
1616
ingress.kubernetes.io/secure-backends: "true"
1717
{{- end }}
18-
{{- range $key, $value := .Values.ingress.annotations }}
19-
{{ $key }}: {{ $value | quote }}
20-
{{- end }}
18+
{{ include "custom-annotations" .Values.ingress | indent 4 }}
2119
spec:
2220
rules:
2321
{{- range .Values.ingress.hosts }}

0 commit comments

Comments
 (0)