From bb828ac686d860b9386fff1a89e7672b06306382 Mon Sep 17 00:00:00 2001 From: Bernard Tison Date: Fri, 8 Dec 2023 15:00:08 +0100 Subject: [PATCH] use variable for client name --- .../templates/keycloak-realmimport.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/globex-keycloak/keycloak-realm-import/templates/keycloak-realmimport.yaml b/globex-keycloak/keycloak-realm-import/templates/keycloak-realmimport.yaml index 64dbf55..7fe0fa9 100644 --- a/globex-keycloak/keycloak-realm-import/templates/keycloak-realmimport.yaml +++ b/globex-keycloak/keycloak-realm-import/templates/keycloak-realmimport.yaml @@ -456,7 +456,7 @@ spec: - default-roles-{{ $.Values.realm.name }} - web-user clientRoles: - globex-web-gateway: + {{ $.Values.client.gateway }}: - uma_protection notBefore: 0 groups: [] @@ -478,7 +478,7 @@ spec: - default-roles-{{ $.Values.realm.name }} - web-user clientRoles: - globex-web-gateway: + {{ $.Values.client.gateway }}: - uma_protection notBefore: 0 groups: [] @@ -500,7 +500,7 @@ spec: - default-roles-{{ $.Values.realm.name }} - web-user clientRoles: - globex-web-gateway: + {{ $.Values.client.gateway }}: - uma_protection notBefore: 0 groups: [] @@ -522,7 +522,7 @@ spec: - default-roles-{{ $.Values.realm.name }} - web-user clientRoles: - globex-web-gateway: + {{ $.Values.client.gateway }}: - uma_protection notBefore: 0 groups: [] @@ -544,7 +544,7 @@ spec: - default-roles-{{ $.Values.realm.name }} - web-user clientRoles: - globex-web-gateway: + {{ $.Values.client.gateway }}: - uma_protection notBefore: 0 groups: [] @@ -709,7 +709,7 @@ spec: - offline_access - microprofile-jwt - id: {{ uuidv4 }} - clientId: globex-web-gateway + clientId: {{ $.Values.client.gateway }} surrogateAuthRequired: false enabled: true alwaysDisplayInConsole: false