Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
administration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
administration
Commits
29be6997
Commit
29be6997
authored
1 year ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-4939 Added option to override weborigin
parent
922fc2d3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/helm/templates/keycloak-client-crd.yaml
+8
-1
8 additions, 1 deletion
src/main/helm/templates/keycloak-client-crd.yaml
src/test/helm/keycloak_client_crd_test.yaml
+14
-0
14 additions, 0 deletions
src/test/helm/keycloak_client_crd_test.yaml
with
22 additions
and
1 deletion
src/main/helm/templates/keycloak-client-crd.yaml
+
8
−
1
View file @
29be6997
...
...
@@ -9,9 +9,16 @@ metadata:
spec
:
keep_after_delete
:
{{
$.Values.sso.keep_after_delete | default false
}}
client_name
:
{{
$client.client_name
}}
client_base_url
:
https://{{ include "app.baseDomain" $ }}
client_base_url
:
https://{{ include "app.baseDomain" $ }}
{{
- if $client.client_web_origins
}}
client_web_origins
:
{{
- with $client.client_web_origins
}}
{{
toYaml . | indent 4
}}
{{
- end
}}
{{
- else
}}
client_web_origins
:
-
https://{{ include "app.baseDomain" $ }}
{{
- end
}}
client_redirect_uris
:
-
https://{{ include "app.baseDomain" $ }}
-
https://{{ include "app.baseDomain" $ }}/*
...
...
This diff is collapsed.
Click to expand it.
src/test/helm/keycloak_client_crd_test.yaml
+
14
−
0
View file @
29be6997
...
...
@@ -114,6 +114,20 @@ tests:
value
:
-
https://helm-admin.ozg-sh.de
-
https://helm-admin.ozg-sh.de/*
-
it
:
should override client web origins
set
:
sso
:
keycloak_clients
:
-
client_name
:
admin
spec.client_web_origins
:
-
https://some.origin.de
-
https://some.other.origin.de
asserts
:
-
equal
:
path
:
spec.client_redirect_uris
value
:
-
https://some.origin.de
-
https://some.other.origin.de
-
it
:
should use additional redirect uris for client web origins
set
:
sso
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment