-
Notifications
You must be signed in to change notification settings - Fork 5
CH-159 Keycloak upgrade configuration changes #800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
da5be98
CH-158 Update accounts to use latest keycloak
condar-metacell b052e2c
CH-159 Utilise keycloak health check endpoints for kubernetes probes
condar-metacell 9789fe2
CH-159 Add admin role to the api_admin user
condar-metacell ea99d78
CH-159 Update auto gatekeepers image to version 3
condar-metacell 6c44cb0
CH-159 Update python-keycloak dependency to latest
condar-metacell 53db3cc
CH-159 Update server url for new keycloak format
condar-metacell 265e7d0
CH-159 Add support for defining a specific port for application probes
condar-metacell 476696a
Merge branch 'develop' into feature/ch-158
1382ab3
Merge branch 'develop' into feature/ch-158
fe645ad
Fix KC healthcheck and config adjustments
63f6d07
Enable kafka events plugin
bf722c3
Update gk for compose configuration
5393114
CH-158 fix jupyterhub auth
filippomc ba18ed4
chore: add some logging to setting profile option list form
zoran-sinnema 393a0fd
chore(jh): temporary disbale resetting the jh option list
zoran-sinnema f1461ae
chore: enable the workspace profile list
zoran-sinnema File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| *.jar | ||
| # Allow the KC kafka plugin | ||
| !applications/accounts/plugins/*.jar | ||
| .idea | ||
| node_modules | ||
| .openapi-generator | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,18 @@ | ||
| FROM quay.io/keycloak/keycloak:16.1.0 | ||
| FROM quay.io/keycloak/keycloak:26.2.1 | ||
|
|
||
| # add kubectl | ||
| EXPOSE 9000 | ||
| EXPOSE 8080 | ||
| USER root | ||
| COPY --chmod=0755 scripts/create_api_user.sh /opt/jboss/startup-scripts/create_api_user.sh | ||
| USER jboss | ||
| COPY --chmod=0755 scripts/create_api_user.sh /opt/keycloak/startup-scripts/create_api_user.sh | ||
| COPY --chmod=0755 scripts/kc-entrypoint.sh /opt/keycloak/bin/kc-entrypoint.sh | ||
|
|
||
| USER keycloak | ||
|
|
||
| # Customize keycloak look | ||
| COPY themes/custom /opt/jboss/keycloak/themes/custom | ||
| COPY themes/custom /opt/keycloak/themes/custom | ||
|
|
||
| # # keycloak kafka listener plugin | ||
| COPY plugins/metacell-admin-event-listener-module-1.0.0.jar /opt/keycloak/providers/ | ||
|
|
||
| # keycloak kafka listener plugin | ||
| COPY plugins/metacell-admin-event-listener-bundle-1.0.0.ear /opt/jboss/keycloak/standalone/deployments/ | ||
| ENTRYPOINT [ "/opt/keycloak/bin/kc-entrypoint.sh" ] | ||
| CMD [ "start-dev", "--import-realm", "--health-enabled=true" ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file renamed
BIN
+9.51 MB
...ell-admin-event-listener-bundle-1.0.0.ear → ...ell-admin-event-listener-module-1.0.0.jar
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #! /bin/bash | ||
|
|
||
| /opt/keycloak/bin/kc.sh $@ & | ||
|
|
||
| until /opt/keycloak/bin/kcadm.sh config credentials \ | ||
| --server http://localhost:8080 \ | ||
| --realm master \ | ||
| --user "$KC_BOOTSTRAP_ADMIN_USERNAME" \ | ||
| --password "$KC_BOOTSTRAP_ADMIN_PASSWORD"; | ||
| do | ||
| sleep 1s | ||
| done | ||
|
|
||
| for script in /opt/keycloak/startup-scripts/*.sh; | ||
| do | ||
| bash "$script"; | ||
| done | ||
|
|
||
| wait |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.