Skip to content
Snippets Groups Projects
Commit 746ee3c7 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4183 OZG-4584 rename usermanager to ozgcloud

parent 20538a97
No related merge requests found
......@@ -18,7 +18,7 @@ This properties must be configured to run the application
| ozgcloud.keycloak.api.realm | realm-name | none | yes | The name of the realm |
| ozgcloud.keycloak.api.organisations-einheit-id-key | organisationseinheitId | organisationseinheitId | no | The key where the organisationsEinheitId of the group is saved |
| ozgcloud.keycloak.api.ldap-id-key | LDAP_ID | LDAP_ID | no | The key to get the keycloak user id from |
| ozgcloud.usermanager.url | http://localhost:8080 | none | yes | The external root url of the usermanager |
| ozgcloud.user-manager.url | http://localhost:8080 | none | yes | The external root url of the usermanager |
| keycloak.url | https://sso.service | none | yes | The root url of the keycloak service |
## Running the application in dev mode
......
......@@ -64,22 +64,22 @@ spec:
key: connectionString.standard
optional: false
{{- if not (.Values.sso).api_user }}
- name: USERMANAGER_KEYCLOAK_API_PASSWORD
- name: OZGCLOUD_KEYCLOAK_API_PASSWORD
valueFrom:
secretKeyRef:
name: user-manager-api-password
key: password
optional: false
- name: USERMANAGER_KEYCLOAK_API_USER
- name: OZGCLOUD_KEYCLOAK_API_USER
value: {{ .Values.ozgcloud.keycloak.api.user }}
{{- else }}
- name: USERMANAGER_KEYCLOAK_API_PASSWORD
- name: OZGCLOUD_KEYCLOAK_API_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "app.generateKeycloakUserSecretName" . }}
key: password
optional: false
- name: USERMANAGER_KEYCLOAK_API_USER
- name: OZGCLOUD_KEYCLOAK_API_USER
valueFrom:
secretKeyRef:
name: {{ include "app.generateKeycloakUserSecretName" . }}
......@@ -88,15 +88,15 @@ spec:
{{- end }}
- name: QUARKUS_MONGODB_DATABASE
value: {{ include "app.databaseName" . }}
- name: USERMANAGER_KEYCLOAK_API_REALM
- name: OZGCLOUD_KEYCLOAK_API_REALM
value: {{ include "app.ssoRealm" . }}
- name: USERMANAGER_KEYCLOAK_API_CLIENT
- name: OZGCLOUD_KEYCLOAK_API_CLIENT
value: {{ include "app.ssoClientName" . }}
- name: QUARKUS_OIDC_AUTH_SERVER_URL
value: {{ include "app.ssoServerUrl" . }}/realms/{{ include "app.ssoRealm" . }}
- name: KEYCLOAK_URL
value: {{ include "app.ssoServerUrl" . }}
- name: USERMANAGER_USER_MANAGER_URL
- name: OZGCLOUD_USER_MANAGER_URL
value: {{ include "app.baseUrl" . }}
{{- if ((.Values.ozgcloud).usersync).period }}
- name: OZGCLOUD_USERSYNC_PERIOD
......
......@@ -36,12 +36,12 @@ tests:
- contains:
path: spec.template.spec.containers[0].env
content:
name: USERMANAGER_KEYCLOAK_API_USER
name: OZGCLOUD_KEYCLOAK_API_USER
value: userManagerApiUser
- contains:
path: spec.template.spec.containers[0].env
content:
name: USERMANAGER_KEYCLOAK_API_PASSWORD
name: OZGCLOUD_KEYCLOAK_API_PASSWORD
valueFrom:
secretKeyRef:
name: user-manager-api-password
......@@ -50,7 +50,7 @@ tests:
- contains:
path: spec.template.spec.containers[0].env
content:
name: USERMANAGER_KEYCLOAK_API_REALM
name: OZGCLOUD_KEYCLOAK_API_REALM
value: sh-helm-test
- contains:
path: spec.template.spec.containers[0].env
......@@ -65,7 +65,7 @@ tests:
- contains:
path: spec.template.spec.containers[0].env
content:
name: USERMANAGER_KEYCLOAK_API_CLIENT
name: OZGCLOUD_KEYCLOAK_API_CLIENT
value: alfa
- it: should set keycloak client name
......@@ -79,7 +79,7 @@ tests:
- contains:
path: spec.template.spec.containers[0].env
content:
name: USERMANAGER_KEYCLOAK_API_CLIENT
name: OZGCLOUD_KEYCLOAK_API_CLIENT
value: alfa
- it: sso.serverurl with https
......@@ -128,7 +128,7 @@ tests:
- contains:
path: spec.template.spec.containers[0].env
content:
name: USERMANAGER_KEYCLOAK_API_USER
name: OZGCLOUD_KEYCLOAK_API_USER
valueFrom:
secretKeyRef:
name: usermanagerapiuser-credentials
......@@ -137,7 +137,7 @@ tests:
- contains:
path: spec.template.spec.containers[0].env
content:
name: USERMANAGER_KEYCLOAK_API_PASSWORD
name: OZGCLOUD_KEYCLOAK_API_PASSWORD
valueFrom:
secretKeyRef:
name: usermanagerapiuser-credentials
......
......@@ -36,5 +36,5 @@ tests:
- contains:
path: spec.template.spec.containers[0].env
content:
name: USERMANAGER_USER_MANAGER_URL
name: OZGCLOUD_USER_MANAGER_URL
value: https://helm-user-manager.test.sh.ozg-cloud.de
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment