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 branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ This properties must be configured to run the application ...@@ -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.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.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.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 | | keycloak.url | https://sso.service | none | yes | The root url of the keycloak service |
## Running the application in dev mode ## Running the application in dev mode
......
...@@ -64,22 +64,22 @@ spec: ...@@ -64,22 +64,22 @@ spec:
key: connectionString.standard key: connectionString.standard
optional: false optional: false
{{- if not (.Values.sso).api_user }} {{- if not (.Values.sso).api_user }}
- name: USERMANAGER_KEYCLOAK_API_PASSWORD - name: OZGCLOUD_KEYCLOAK_API_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: user-manager-api-password name: user-manager-api-password
key: password key: password
optional: false optional: false
- name: USERMANAGER_KEYCLOAK_API_USER - name: OZGCLOUD_KEYCLOAK_API_USER
value: {{ .Values.ozgcloud.keycloak.api.user }} value: {{ .Values.ozgcloud.keycloak.api.user }}
{{- else }} {{- else }}
- name: USERMANAGER_KEYCLOAK_API_PASSWORD - name: OZGCLOUD_KEYCLOAK_API_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ include "app.generateKeycloakUserSecretName" . }} name: {{ include "app.generateKeycloakUserSecretName" . }}
key: password key: password
optional: false optional: false
- name: USERMANAGER_KEYCLOAK_API_USER - name: OZGCLOUD_KEYCLOAK_API_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ include "app.generateKeycloakUserSecretName" . }} name: {{ include "app.generateKeycloakUserSecretName" . }}
...@@ -88,15 +88,15 @@ spec: ...@@ -88,15 +88,15 @@ spec:
{{- end }} {{- end }}
- name: QUARKUS_MONGODB_DATABASE - name: QUARKUS_MONGODB_DATABASE
value: {{ include "app.databaseName" . }} value: {{ include "app.databaseName" . }}
- name: USERMANAGER_KEYCLOAK_API_REALM - name: OZGCLOUD_KEYCLOAK_API_REALM
value: {{ include "app.ssoRealm" . }} value: {{ include "app.ssoRealm" . }}
- name: USERMANAGER_KEYCLOAK_API_CLIENT - name: OZGCLOUD_KEYCLOAK_API_CLIENT
value: {{ include "app.ssoClientName" . }} value: {{ include "app.ssoClientName" . }}
- name: QUARKUS_OIDC_AUTH_SERVER_URL - name: QUARKUS_OIDC_AUTH_SERVER_URL
value: {{ include "app.ssoServerUrl" . }}/realms/{{ include "app.ssoRealm" . }} value: {{ include "app.ssoServerUrl" . }}/realms/{{ include "app.ssoRealm" . }}
- name: KEYCLOAK_URL - name: KEYCLOAK_URL
value: {{ include "app.ssoServerUrl" . }} value: {{ include "app.ssoServerUrl" . }}
- name: USERMANAGER_USER_MANAGER_URL - name: OZGCLOUD_USER_MANAGER_URL
value: {{ include "app.baseUrl" . }} value: {{ include "app.baseUrl" . }}
{{- if ((.Values.ozgcloud).usersync).period }} {{- if ((.Values.ozgcloud).usersync).period }}
- name: OZGCLOUD_USERSYNC_PERIOD - name: OZGCLOUD_USERSYNC_PERIOD
......
...@@ -36,12 +36,12 @@ tests: ...@@ -36,12 +36,12 @@ tests:
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: USERMANAGER_KEYCLOAK_API_USER name: OZGCLOUD_KEYCLOAK_API_USER
value: userManagerApiUser value: userManagerApiUser
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: USERMANAGER_KEYCLOAK_API_PASSWORD name: OZGCLOUD_KEYCLOAK_API_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: user-manager-api-password name: user-manager-api-password
...@@ -50,7 +50,7 @@ tests: ...@@ -50,7 +50,7 @@ tests:
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: USERMANAGER_KEYCLOAK_API_REALM name: OZGCLOUD_KEYCLOAK_API_REALM
value: sh-helm-test value: sh-helm-test
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
...@@ -65,7 +65,7 @@ tests: ...@@ -65,7 +65,7 @@ tests:
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: USERMANAGER_KEYCLOAK_API_CLIENT name: OZGCLOUD_KEYCLOAK_API_CLIENT
value: alfa value: alfa
- it: should set keycloak client name - it: should set keycloak client name
...@@ -79,7 +79,7 @@ tests: ...@@ -79,7 +79,7 @@ tests:
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: USERMANAGER_KEYCLOAK_API_CLIENT name: OZGCLOUD_KEYCLOAK_API_CLIENT
value: alfa value: alfa
- it: sso.serverurl with https - it: sso.serverurl with https
...@@ -128,7 +128,7 @@ tests: ...@@ -128,7 +128,7 @@ tests:
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: USERMANAGER_KEYCLOAK_API_USER name: OZGCLOUD_KEYCLOAK_API_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: usermanagerapiuser-credentials name: usermanagerapiuser-credentials
...@@ -137,7 +137,7 @@ tests: ...@@ -137,7 +137,7 @@ tests:
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: USERMANAGER_KEYCLOAK_API_PASSWORD name: OZGCLOUD_KEYCLOAK_API_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: usermanagerapiuser-credentials name: usermanagerapiuser-credentials
......
...@@ -36,5 +36,5 @@ tests: ...@@ -36,5 +36,5 @@ tests:
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: USERMANAGER_USER_MANAGER_URL name: OZGCLOUD_USER_MANAGER_URL
value: https://helm-user-manager.test.sh.ozg-cloud.de 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