update rocket-chat
This commit is contained in:
15
deploy/rocket-chat/templates/serviceaccount.yaml
Normal file
15
deploy/rocket-chat/templates/serviceaccount.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
{{ if .Values.serviceAccount.create }}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "rocketchat.name" . }}
|
||||
helm.sh/chart: {{ include "rocketchat.chart" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
name: {{ template "rocketchat.serviceAccountName" . }}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user