first commit
This commit is contained in:
13
templates/pep-server/serviceaccount.yaml
Normal file
13
templates/pep-server/serviceaccount.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
{{- if ( and .Values.pepServer.serviceAccount.enabled ( not .Values.pepServer.serviceAccount.preexisting ) ) -}}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "pep-server.serviceAccountName" . }}
|
||||
labels:
|
||||
{{- include "pep-server.labels" . | nindent 4 }}
|
||||
{{- with .Values.pepServer.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.pepServer.serviceAccount.automountServiceAccountToken }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user