Skip to content
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

Update Pulumi.Keycloak version, using image from keycloak.org docs #120

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Ken1Nil
Copy link
Contributor

@Ken1Nil Ken1Nil commented Jul 30, 2023

docker-compose with admin settings, pulumi settings...

Was unable to run and configure KeycloakPulumi project with Oidc2 settings.

Updated docker-compose-yaml with keycloak image taken from https://www.keycloak.org/server/containers documentation. (No more emulation on AMD64, but the image sleighzy/keycloak:latest might still work for those that need ARM)

This version have KEYCLOAK_ADMIN and KEYCLOAK_ADMIN_PASSWORD as environment variables input. They are reproduced in some of the Builders. (Maybe not all of them, what I could find).

When Pulumi.Keycloak runs, it uses the admin_cli from settings, and that one needs to match KEYCLOAK_ADMIN.

These changes needs some Documentation updates https://wrapt.dev/docs/auth-server-template#add-auth-server-template-properties

…ocker-compose with admin settings, pulumi settings
@pdevito3
Copy link
Owner

pdevito3 commented Aug 6, 2023

👋 So for this works for you on a windows machine? Just gave it a whirl on my Mac and no joy. Ideally would like to find something that does both or otherwise figure out how to make either easily usable regardless of your box.

@Ken1Nil
Copy link
Contributor Author

Ken1Nil commented Aug 6, 2023

It does work on Windows machine.

The difference is only the image (ie: version of Keycloak inside image), running it on Windows still works with the sleighzy image but it's emulated from ARM to x64. When I changed to quay.io the install/configuration didn't work with Pulumi setup, therefor this PR is for the latest keycloak image version and quay.io source.

To solve i guess you could continue running the sleighzy/keycloak:latest. See if the KEYCLOAK_ADMIN and KEYCLOAK_ADMIN_PASSWORD works? Or wait and hope sleighzy it gets the same version as official quay.io/keycloak/keycloak and merge these changes but ignore the docker-compose image: part...

Can close this since it doesn't work on ARM (newer Macs). Or see if my changes works with sleighzy/keycloak:latest since Pulumi stuff was newer.

@pdevito3
Copy link
Owner

pdevito3 commented Aug 6, 2023

Yeah going to need think through options here 🤔 appreciate the heads up on this regardless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants