fix controller service annotations

This commit is contained in:
Oleksandr Ivanov 2020-10-30 17:43:44 +02:00
parent 9db53ae7cc
commit 9872e37b0d

View file

@ -2,8 +2,9 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
{{- if .Values.controller.service.annotations }} annotations:
annotations: {{ toYaml .Values.controller.service.annotations | nindent 4 }} {{- range $key, $value := .Values.controller.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }} {{- end }}
labels: labels:
{{- include "ingress-nginx.labels" . | nindent 4 }} {{- include "ingress-nginx.labels" . | nindent 4 }}