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