mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
418 B
16 lines
418 B
{{- if and .Values.replication.enabled .Values.slave.config }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ template "slave.fullname" . }}
|
|
labels:
|
|
app: {{ template "mariadb.name" . }}
|
|
component: "slave"
|
|
chart: {{ template "mariadb.chart" . }}
|
|
release: {{ .Release.Name | quote }}
|
|
heritage: {{ .Release.Service | quote }}
|
|
data:
|
|
my.cnf: |-
|
|
{{ .Values.slave.config | indent 4 }}
|
|
{{- end }}
|