summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-resources/resources
diff options
context:
space:
mode:
authorroger yuan <roger.yuan@yoppworks.com>2021-04-20 09:20:38 -0600
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-04-22 13:45:30 +0000
commita08006e532a4c4594ca61ef18514f0ad5716e5bc (patch)
tree8bc86357e84788d33e26fb9268fa1cb350499edd /kubernetes/aai/components/aai-resources/resources
parent1b162638763115959a0960a1195618f571d5499b (diff)
[AAI] Keycloak integration into aai-resources updates
fix Keycloak integration into aai-resources PR by replacing all hard coded values with reference values in values.yaml file. Issue-ID: AAI-3326 Signed-off-by: Roger Yuan <roger.yuan@yoppworks.com> Change-Id: Ie8bd900d6512ad171ed3a5977a2f7e9e1c1da5ab
Diffstat (limited to 'kubernetes/aai/components/aai-resources/resources')
-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