aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/resources/config/conf/oauth-provider.config.json
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-04-06 12:35:18 +0000
committerGerrit Code Review <gerrit@onap.org>2021-04-06 12:35:18 +0000
commit7e8244a3a3a835a8758ffa865542f4dc53bb6771 (patch)
treef63fa226051851e441e363ee6d4aeb2d6a3ac709 /kubernetes/sdnc/resources/config/conf/oauth-provider.config.json
parent333281b85d86c356ab0f09caab82890fce0442fb (diff)
parentb43e92cc48e97622a3bdcb0cc385ae5bf894b1b5 (diff)
Merge "[SDNC] Enable SDNC to use external oauth provider"
Diffstat (limited to 'kubernetes/sdnc/resources/config/conf/oauth-provider.config.json')
-rw-r--r--kubernetes/sdnc/resources/config/conf/oauth-provider.config.json8
1 files changed, 8 insertions, 0 deletions
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