aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/authentication/components/oauth2-proxy/templates/configmap-wait-for-redis.yaml
blob: 721048d786b388cd3b2a0531d6be4d820b7ca73e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{{- if and .Values.redis.enabled .Values.initContainers.waitForRedis.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    app: {{ template "oauth2-proxy.name" . }}
{{- include "oauth2-proxy.labels" . | indent 4 }}
  name: {{ template "oauth2-proxy.fullname" . }}-wait-for-redis
  namespace: {{ template "oauth2-proxy.namespace" $ }}
data:
  check-redis.sh: |
{{ .Files.Get "scripts/check-redis.sh" | indent 4 }}
{{- end }}