summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-resources/resources/config/application-keycloak.properties
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-04-27 20:20:57 +0000
committerGerrit Code Review <gerrit@onap.org>2021-04-27 20:20:57 +0000
commitf545b5b04321e75824d2eb609c1deab0a75c9509 (patch)
tree4718694d434fd48dbf7595ce90beb18d4ebd8ad2 /kubernetes/aai/components/aai-resources/resources/config/application-keycloak.properties
parent8e34a4ba53b5e2a280eed6517ed6549bab4cd516 (diff)
parenta08006e532a4c4594ca61ef18514f0ad5716e5bc (diff)
Merge "[AAI] Keycloak integration into aai-resources updates"
Diffstat (limited to 'kubernetes/aai/components/aai-resources/resources/config/application-keycloak.properties')
-rw-r--r--kubernetes/aai/components/aai-resources/resources/config/application-keycloak.properties6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/aai/components/aai-resources/resources/config/application-keycloak.properties b/kubernetes/aai/components/aai-resources/resources/config/application-keycloak.properties
index 4f480cb5d7..774e8bd5ca 100644
--- a/kubernetes/aai/components/aai-resources/resources/config/application-keycloak.properties
+++ b/kubernetes/aai/components/aai-resources/resources/config/application-keycloak.properties
@@ -3,10 +3,10 @@ spring.autoconfigure.exclude=\
org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,\
org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
-multi.tenancy.enabled=true
+multi.tenancy.enabled={{ .Values.config.keycloak.multiTenancy.enabled }}
keycloak.auth-server-url=http://{{ .Values.config.keycloak.host }}:{{ .Values.config.keycloak.port }}/auth
-keycloak.realm=aai-resources
-keycloak.resource=aai-resources-app
+keycloak.realm={{ .Values.config.keycloak.realm }}
+keycloak.resource={{ .Values.config.keycloak.resource }}
keycloak.public-client=true
keycloak.principal-attribute=preferred_username