15 lines
590 B
YAML
Executable file
15 lines
590 B
YAML
Executable file
{{- if .Values.serviceAccount.create }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ template "zookeeper.serviceAccountName" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels: {{- include "zookeeper.labels" . | nindent 4 }}
|
|
role: zookeeper
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "zookeeper.tplValue" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "zookeeper.tplValue" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|