diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-03-20 13:07:32 +0100 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-03-24 17:46:52 +0100 |
commit | dce54c8e4d6936f5a2189a55f7e6409747a0ecbe (patch) | |
tree | d48adbf93b99060b0bb4c5ae685df38b0d14f3c7 /kubernetes/platform/components/keycloak-init/templates | |
parent | 0879dfcaad420fcc7a6adc77b2b9c72b9522e3cb (diff) |
[PLATFORM] Add Oauth2-Proxy client to ONAP Realm
Add the oauth2-proxy client to the ONAP keycloak REALM
Issue-ID: OOM-2489
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I3c38df8ad79a7cdaa87f4b55b1bb38afb18d2c0e
Diffstat (limited to 'kubernetes/platform/components/keycloak-init/templates')
-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 }} |