Skip to content
Snippets Groups Projects
Commit 1ff5225b authored by OZGCloud's avatar OZGCloud
Browse files

OZG-1781 enhance keycloak operator resources

parent c044dc28
No related branches found
No related tags found
No related merge requests found
...@@ -26,8 +26,9 @@ questions: ...@@ -26,8 +26,9 @@ questions:
label: "Name of the pluto deployment in the namespace" label: "Name of the pluto deployment in the namespace"
- variable: sso.role_einheitlicher_ansprechpartner - variable: sso.role_einheitlicher_ansprechpartner
group: "Other" group: "Other"
type: string type: enum
default: "false" default: "true"
options: ["false", "true"]
label: "Add role for EA" label: "Add role for EA"
- variable: sso.apiPassword - variable: sso.apiPassword
group: "Other" group: "Other"
......
...@@ -23,6 +23,17 @@ tests: ...@@ -23,6 +23,17 @@ tests:
content: content:
name: EINHEITLICHER_ANSPRECHPARTNER name: EINHEITLICHER_ANSPRECHPARTNER
clientRole: true clientRole: true
- it: role_einheitlicher_ansprechpartner adds the role in the client object
set:
sso.role_einheitlicher_ansprechpartner: false
asserts:
- isKind:
of: KeycloakClient
- notContains:
path: spec.roles
content:
name: EINHEITLICHER_ANSPRECHPARTNER
clientRole: true
- it: role_einheitlicher_ansprechpartner is not set at default - it: role_einheitlicher_ansprechpartner is not set at default
asserts: asserts:
- isKind: - isKind:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment