ingress-nginx-helm/charts/ingress-nginx/templates/admission-webhooks/job-patch/serviceaccount.yaml
Manuel Alejandro de Brito Fontes 624cb5f048
Start migration of helm chart (#5159)
2020-02-24 16:25:57 -03:00

15 lines
607 B
YAML

{{- if and .Values.controller.admissionWebhooks.enabled .Values.controller.admissionWebhooks.patch.enabled }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "nginx-ingress.fullname" . }}-admission
annotations:
"helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
labels:
app: {{ template "nginx-ingress.name" . }}
chart: {{ template "nginx-ingress.chart" . }}
component: "{{ .Values.controller.name }}"
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
{{- end }}