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:
label: "Name of the pluto deployment in the namespace"
- variable: sso.role_einheitlicher_ansprechpartner
group: "Other"
type: string
default: "false"
type: enum
default: "true"
options: ["false", "true"]
label: "Add role for EA"
- variable: sso.apiPassword
group: "Other"
......
......@@ -23,6 +23,17 @@ tests:
content:
name: EINHEITLICHER_ANSPRECHPARTNER
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
asserts:
- isKind:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment