Merge pull request #6401 from ivanov-aleksander/fix/annotations

Fix controller service annotations
This commit is contained in:
Kubernetes Prow Robot 2020-11-01 12:18:51 -08:00 committed by GitHub
commit 340850447f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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