blob: 1488be6969b0feffc9f92d31688702b5c373d5bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---
apiVersion: v1
kind: Secret
metadata:
name: keycloak-config-cli-config-realms
namespace: {{ include "common.namespace" . }}
labels:
app: {{ include "common.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
data:
{{- $dot := . }}
{{- range $realm := .Values.realmSettings }}
{{ $realm.name }}: {{ include "auth.realm" (dict "dot" $dot "realm" $realm) | fromYaml | toPrettyJson | indent 2 | b64enc | quote }}
{{- end -}}
|