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,9 +2,10 @@
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 }}
{{- end }} {{ $key }}: {{ $value | quote }}
{{- end }}
labels: labels:
{{- include "ingress-nginx.labels" . | nindent 4 }} {{- include "ingress-nginx.labels" . | nindent 4 }}
app.kubernetes.io/component: controller app.kubernetes.io/component: controller