summaryrefslogtreecommitdiff
path: root/astroshop-platform/argocd-helmchart/charts/redis-ha/templates/redis-ha-health-configmap.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'astroshop-platform/argocd-helmchart/charts/redis-ha/templates/redis-ha-health-configmap.yaml')
-rw-r--r--astroshop-platform/argocd-helmchart/charts/redis-ha/templates/redis-ha-health-configmap.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/astroshop-platform/argocd-helmchart/charts/redis-ha/templates/redis-ha-health-configmap.yaml b/astroshop-platform/argocd-helmchart/charts/redis-ha/templates/redis-ha-health-configmap.yaml
new file mode 100644
index 0000000..7aa7002
--- /dev/null
+++ b/astroshop-platform/argocd-helmchart/charts/redis-ha/templates/redis-ha-health-configmap.yaml
@@ -0,0 +1,20 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ template "redis-ha.fullname" . }}-health-configmap
+ namespace: {{ .Release.Namespace | quote }}
+ labels:
+ heritage: {{ .Release.Service }}
+ release: {{ .Release.Name }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version }}
+ app: {{ template "redis-ha.fullname" . }}
+ {{- range $key, $value := .Values.extraLabels }}
+ {{ $key }}: {{ $value | quote }}
+ {{- end }}
+data:
+ redis_liveness.sh: |
+{{- include "redis_liveness.sh" . }}
+ redis_readiness.sh: |
+{{- include "redis_readiness.sh" . }}
+ sentinel_liveness.sh: |
+{{- include "sentinel_liveness.sh" . }}