mirror of https://github.com/easzlab/kubeasz.git
13 lines
366 B
YAML
13 lines
366 B
YAML
|
{{- if .Values.serviceAccount.create }}
|
||
|
apiVersion: v1
|
||
|
kind: ServiceAccount
|
||
|
metadata:
|
||
|
name: {{ template "redis-ha.serviceAccountName" . }}
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
labels:
|
||
|
heritage: {{ .Release.Service }}
|
||
|
release: {{ .Release.Name }}
|
||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||
|
app: {{ template "redis-ha.fullname" . }}
|
||
|
{{- end }}
|