Skip to content
Snippets Groups Projects
Commit 53bbf1d1 authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'OZG-4188-AlfaKonfigurationsparameter' (#343) from...

Merge pull request 'OZG-4188-AlfaKonfigurationsparameter' (#343) from OZG-4188-AlfaKonfigurationsparameter into master

Reviewed-on: https://git.ozg-sh.de/ozgcloud-app/alfa/pulls/343


Reviewed-by: default avatarOZGCloud <ozgcloud@mgm-tp.com>
parents 02de33ed 60a82a5a
No related branches found
No related tags found
No related merge requests found
{{ range $client := .Values.sso.keycloak_clients }} {{ range $client := .Values.sso.keycloak_clients }}
--- ---
{{- if $client.ozgcloudOperator }} {{- if $client.kopOperator }}
apiVersion: api.ozgcloud-stack.de/v1 apiVersion: api.kop-stack.de/v1
kind: OzgcloudKeycloakClient kind: KopKeycloakClient
{{- else }} {{- else }}
apiVersion: operator.ozgcloud.de/v1 apiVersion: operator.ozgcloud.de/v1
kind: OzgKeycloakClient kind: OzgKeycloakClient
......
...@@ -59,15 +59,15 @@ tests: ...@@ -59,15 +59,15 @@ tests:
kopOperator: true kopOperator: true
asserts: asserts:
- isAPIVersion: - isAPIVersion:
of: api.ozgcloud-stack.de/v1 of: api.kop-stack.de/v1
- isKind: - isKind:
of: OzgcloudKeycloakClient of: KopKeycloakClient
- it: should have annotations for ozgcloudOperator - it: should have annotations for kopOperator
set: set:
sso: sso:
keycloak_clients: keycloak_clients:
- client_name: alfa - client_name: alfa
ozgcloudOperator: true kopOperator: true
asserts: asserts:
- equal: - equal:
path: metadata.annotations.[helm.sh/resource-policy] path: metadata.annotations.[helm.sh/resource-policy]
......
...@@ -533,7 +533,7 @@ tests: ...@@ -533,7 +533,7 @@ tests:
- isNull: - isNull:
path: spec.keycloak_user.client_roles path: spec.keycloak_user.client_roles
- it: should use ozgcloudOperator - it: should use kopOperator
set: set:
ozgcloud: ozgcloud:
bundesland: by bundesland: by
...@@ -545,12 +545,12 @@ tests: ...@@ -545,12 +545,12 @@ tests:
kopOperator: true kopOperator: true
asserts: asserts:
- isAPIVersion: - isAPIVersion:
of: api.ozgcloud-stack.de/v1 of: api.kop-stack.de/v1
- isKind: - isKind:
of: OzgcloudKeycloakUser of: KopKeycloakUser
- equal: - equal:
path: spec.keycloak_user.username path: spec.keycloak_user.username
value: ozgcloud value: kop
- equal: - equal:
path: metadata.annotations.[helm.sh/resource-policy] path: metadata.annotations.[helm.sh/resource-policy]
value: keep value: keep
\ 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