You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

redis-ha-configmap.yaml 640 B

12345678910111213141516171819202122232425
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. name: {{ template "redis-ha.fullname" . }}-configmap
  5. namespace: {{ .Release.Namespace }}
  6. labels:
  7. heritage: {{ .Release.Service }}
  8. release: {{ .Release.Name }}
  9. chart: {{ .Chart.Name }}-{{ .Chart.Version }}
  10. app: {{ template "redis-ha.fullname" . }}
  11. data:
  12. redis.conf: |
  13. {{- include "config-redis.conf" . }}
  14. sentinel.conf: |
  15. {{- include "config-sentinel.conf" . }}
  16. init.sh: |
  17. {{- include "config-init.sh" . }}
  18. {{ if .Values.haproxy.enabled }}
  19. haproxy.cfg: |-
  20. {{- include "config-haproxy.cfg" . }}
  21. {{- end }}
  22. haproxy_init.sh: |
  23. {{- include "config-haproxy_init.sh" . }}