rancher-charts/charts/neuvector/102.0.9+up2.7.6/templates/serviceaccount.yaml

14 lines
333 B
YAML

{{- if not .Values.leastPrivilege }}
{{- if ne .Values.serviceAccount "default"}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.serviceAccount }}
namespace: {{ .Release.Namespace }}
labels:
chart: {{ template "neuvector.chart" . }}
release: {{ .Release.Name }}
heritage: Helm
{{- end }}
{{- end }}