github.com/nginxinc/kubernetes-ingress@v1.12.5/deployments/helm-chart/templates/controller-serviceaccount.yaml (about) 1 {{- if .Values.rbac.create }} 2 apiVersion: v1 3 kind: ServiceAccount 4 metadata: 5 name: {{ include "nginx-ingress.serviceAccountName" . }} 6 namespace: {{ .Release.Namespace }} 7 labels: 8 {{- include "nginx-ingress.labels" . | nindent 4 }} 9 {{- if .Values.controller.serviceAccount.imagePullSecretName }} 10 imagePullSecrets: 11 - name: {{ .Values.controller.serviceAccount.imagePullSecretName }} 12 {{- end }} 13 {{- end }}