From b43e92cc48e97622a3bdcb0cc385ae5bf894b1b5 Mon Sep 17 00:00:00 2001 From: demskeq8 Date: Fri, 12 Feb 2021 15:43:48 +0100 Subject: [SDNC] Enable SDNC to use external oauth provider - add additional environment variables - add config file for external oauth-providers Issue-ID: OOM-2675 Signed-off-by: demskeq8 Change-Id: I235d3f46f5d109a1e82bdaa3c9de97508116fbe3 [Improve secretes handling] Signed-off-by: Krzysztof Opasiak --- kubernetes/sdnc/resources/config/conf/oauth-provider.config.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 kubernetes/sdnc/resources/config/conf/oauth-provider.config.json (limited to 'kubernetes/sdnc/resources') diff --git a/kubernetes/sdnc/resources/config/conf/oauth-provider.config.json b/kubernetes/sdnc/resources/config/conf/oauth-provider.config.json new file mode 100644 index 0000000000..8d3c106bb9 --- /dev/null +++ b/kubernetes/sdnc/resources/config/conf/oauth-provider.config.json @@ -0,0 +1,8 @@ +{ + "tokenSecret": "${OAUTH_TOKEN_SECRET}", + "tokenIssuer": {{ .Values.config.sdnr.oauth.tokenIssuer | quote }}, + "publicUrl": {{ .Values.config.sdnr.oauth.publicUrl | quote }}, + "redirectUri": "{{ .Values.config.sdnr.oauth.redirectUri | quote | default "null" }}", + "supportOdlUsers": "{{ .Values.config.sdnr.oauth.supportOdlUsers | default "true" }}", + "providers": {{ .Values.config.sdnr.oauth.providers | toJson }} +} \ No newline at end of file -- cgit 1.2.3-korg