mirror of https://github.com/easzlab/kubeasz.git
11 lines
313 B
YAML
11 lines
313 B
YAML
|
{{- if .Values.exporter.script }}
|
||
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: {{ template "redis-ha.fullname" . }}-exporter-script-configmap
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
labels:
|
||
|
{{ include "labels.standard" . | indent 4 }}
|
||
|
data:
|
||
|
script: {{ toYaml .Values.exporter.script | indent 2 }}
|
||
|
{{- end }}
|