blob: 0d9b387dfad504a2e467142d75d5dfa225dde8b6 [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 }}
12{{- with .Files.Glob "resources/realms/*json" }}
13data:
14{{- range $path, $bytes := . }}
15 {{ base $path }}: {{ tpl ($.Files.Get $path) $ | b64enc | quote }}
16{{- end }}
17{{- end }}