blob: 1488be6969b0feffc9f92d31688702b5c373d5bc [file] [log] [blame]
Andreas Geisslerdce54c82023-03-20 13:07:32 +01001---
2apiVersion: v1
3kind: Secret
4metadata:
5 name: keycloak-config-cli-config-realms
6 namespace: {{ include "common.namespace" . }}
7 labels:
8 app: {{ include "common.name" . }}
9 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
10 release: {{ include "common.release" . }}
11 heritage: {{ .Release.Service }}
Andreas Geisslerdce54c82023-03-20 13:07:32 +010012data:
Andreas Geisslere9f67622024-04-24 15:38:24 +020013{{- $dot := . }}
14{{- range $realm := .Values.realmSettings }}
15 {{ $realm.name }}: {{ include "auth.realm" (dict "dot" $dot "realm" $realm) | fromYaml | toPrettyJson | indent 2 | b64enc | quote }}
16{{- end -}}