kubeasz/manifests/mariadb-cluster/mariadb/templates/master-configmap.yaml

16 lines
391 B
YAML
Raw Normal View History

2019-01-25 10:21:40 +08:00
{{- if .Values.master.config }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "master.fullname" . }}
labels:
app: {{ template "mariadb.name" . }}
component: "master"
chart: {{ template "mariadb.chart" . }}
release: {{ .Release.Name | quote }}
heritage: {{ .Release.Service | quote }}
data:
my.cnf: |-
{{ .Values.master.config | indent 4 }}
{{- end -}}