diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-03-27 13:48:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-03-27 13:48:11 +0000 |
commit | 6539e7a7ee21d68ce6b0cc7be7b14e71ebaaf4d9 (patch) | |
tree | 9308c76f5e9c5a63253959b44a7d589d94f642c1 /kubernetes/platform/components/keycloak-init/templates/secret.yaml | |
parent | 5dad6df09aad4aa5b8e0db5366d0a286f015c6b2 (diff) | |
parent | dce54c8e4d6936f5a2189a55f7e6409747a0ecbe (diff) |
Merge "[PLATFORM] Add Oauth2-Proxy client to ONAP Realm"
Diffstat (limited to 'kubernetes/platform/components/keycloak-init/templates/secret.yaml')
-rw-r--r-- | kubernetes/platform/components/keycloak-init/templates/secret.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kubernetes/platform/components/keycloak-init/templates/secret.yaml b/kubernetes/platform/components/keycloak-init/templates/secret.yaml new file mode 100644 index 0000000000..0d9b387dfa --- /dev/null +++ b/kubernetes/platform/components/keycloak-init/templates/secret.yaml @@ -0,0 +1,17 @@ +--- +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 }} +{{- with .Files.Glob "resources/realms/*json" }} +data: +{{- range $path, $bytes := . }} + {{ base $path }}: {{ tpl ($.Files.Get $path) $ | b64enc | quote }} +{{- end }} +{{- end }} |