Skip to content

Conversation

matzew
Copy link
Contributor

@matzew matzew commented Oct 2, 2025

This PR will add a local development environment with Kind and Keycloak.

Currently it installs Keycloak as a container.
Next: adding things like setup for a realm...

@matzew matzew changed the title Local kind keycloak env WIP: Local kind keycloak env Oct 2, 2025
@matzew matzew force-pushed the local_kind_keycloak_env branch 2 times, most recently from 06b0bd2 to 0a2325e Compare October 6, 2025 15:03
@kubectl logs -n $(KEYCLOAK_NAMESPACE) -l app=keycloak -f --tail=100

.PHONY: keycloak-setup-realm
keycloak-setup-realm: ## Setup OpenShift realm with token exchange support
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sabre1041 Does this match your setup of realm, clients and scopes - what you did on the previous "managed" KC? (btw. I am on KC 26.x).

@Cali0707
Copy link
Contributor

Cali0707 commented Oct 7, 2025

@matzew can you add some kind of wait for pods to be ready? I ran into this error:

make keycloak-forward
Forwarding Keycloak to http://localhost:8090
Login: admin / admin
kubectl port-forward -n keycloak svc/keycloak 8090:80
error: unable to forward port because pod is not running. Current status=Pending
make: *** [keycloak-forward] Error 1

@matzew matzew force-pushed the local_kind_keycloak_env branch from 0a2325e to 5636c7b Compare October 8, 2025 14:47
Signed-off-by: Matthias Wessendorf <[email protected]>
Signed-off-by: Matthias Wessendorf <[email protected]>
Signed-off-by: Matthias Wessendorf <[email protected]>
@matzew matzew force-pushed the local_kind_keycloak_env branch from 5636c7b to 0b77d92 Compare October 10, 2025 13:59
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.

2 participants