kubernetes-handbook/manifests/nginx-ingress/templates/serviceaccount.yaml

12 lines
288 B
YAML
Raw Normal View History

2017-10-27 19:09:01 +08:00
{{- if .Values.rbac.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app: {{ template "name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
name: {{ template "fullname" . }}
{{- end -}}