Andreas Geissler | dce54c8 | 2023-03-20 13:07:32 +0100 | [diff] [blame] | 1 | --- |
| 2 | apiVersion: v1 |
| 3 | kind: Secret |
| 4 | metadata: |
| 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 Geissler | dce54c8 | 2023-03-20 13:07:32 +0100 | [diff] [blame] | 12 | data: |
Andreas Geissler | e9f6762 | 2024-04-24 15:38:24 +0200 | [diff] [blame^] | 13 | {{- $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 -}} |