-
Notifications
You must be signed in to change notification settings - Fork 159
Add local development environment with Kind and Keycloak for OIDC #354
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
Conversation
06b0bd2 to
0a2325e
Compare
|
@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 |
5636c7b to
0b77d92
Compare
46ab14a to
1f409a0
Compare
ccc5779 to
1e24059
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
This looks great @matzew, thx! Leaving here some comments and nitpicks:
The local test with |
Signed-off-by: Matthias Wessendorf <[email protected]>
Signed-off-by: Matthias Wessendorf <[email protected]>
Signed-off-by: Matthias Wessendorf <[email protected]>
…g self-signed certificates Signed-off-by: Matthias Wessendorf <[email protected]>
Signed-off-by: Matthias Wessendorf <[email protected]>
Signed-off-by: Matthias Wessendorf <[email protected]>
* do not expose all internal tasks, just keep the important targets documents * remove the keycloak-forward * move binaries for dev tools to _output * generate a configuration TOML file into the _output folder Signed-off-by: Matthias Wessendorf <[email protected]>
1e24059 to
7302df0
Compare
|
Thx for review, I pushed the updates! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx!
TIL that the creator of nip.io had died last year (was wondering why sslip.io was used instead of nip.io)
This service is dedicated to the late, great Roopinder Singh, who created & ran nip.io
https://sslip.io/
Adds local development environment using KIND with Keycloak as an OIDC provider and cert-manager for automated TLS certificate provisioning for testing the Kubernetes-mcp-server server with OIDC authentication flows against a (local) Kubernetes cluster.
The PR adds make targets for KIND cluster setup with Keycloak OIDC provider, including automated realm configuration with test user (mcp/mcp) and RBAC authorization.
Testing can be done with these commands:
The realm has one test user:
mcp / mcpRemove the environment with:
make local-env-teardown # tears it all down...