diff --git a/devspc/devspace-api/templates/configmap.yaml b/devspc/devspace-api/templates/configmap.yaml index b9feff1..6052c5a 100644 --- a/devspc/devspace-api/templates/configmap.yaml +++ b/devspc/devspace-api/templates/configmap.yaml @@ -20,4 +20,9 @@ data: front-settings: keycloak-url: '{{$.Values.keycloak.url}}' keycloak-client-id: '{{$.Values.keycloak.clientId}}' - keycloak-realm: '{{$.Values.keycloak.realm}}' \ No newline at end of file + keycloak-realm: '{{$.Values.keycloak.realm}}' + app: + auth: + enabled: {{$.Value.auth.enabled}} + jwk-uri: {{$.Value.auth.jwk.url}} + jwt-service-claim-name: dev-space \ No newline at end of file diff --git a/devspc/devspace-api/values.yaml b/devspc/devspace-api/values.yaml index 2d333c9..f9572f8 100644 --- a/devspc/devspace-api/values.yaml +++ b/devspc/devspace-api/values.yaml @@ -21,5 +21,10 @@ s3: bucketName: 'devspace' keycloak: url: 'https://192.168.76.150/' - clientId: 'devspace-dev-realm' - realm: 'devspace-dev' \ No newline at end of file + clientId: 'dev-app' + realm: 'devspace-dev' +auth: + enabled: 'true' + jwk: + url: 'https://192.168.76.150/realms/devspace-dev/protocol/openid-connect/certs' + claimName: 'dev-space' \ No newline at end of file