Files
Justin Donnelly 4f26fab70b Update README.md
2020-04-13 08:46:40 -04:00
..
2020-04-13 06:00:44 -04:00
2020-04-13 08:46:40 -04:00
2020-04-13 05:48:23 -04:00

Keycloak on Kubernetes

Simple notes for deploying customized realm and keycloak into K8s

Pre-requisites

Running K8s with Ingress (not the service deployed by QSEoK)

Create the secret

Run the following commands to create the "idp" namespace and upload the secret (the entire realm.json file)

kubectl create namespace keycloak

This command below utilizes a "realm.json" file located in current path.

kubectl create secret --namespace keycloak generic realm-secret --from-file=./realm.json

Create namespace and deploy nginx-ingress

kubectl create namespace ingress
helm install -n ingress --namespace ingress stable/nginx-ingress

Deploy Keycloak

helm install -n keycloak --namespace keycloak codecentric/keycloak -f ./keycloak-values.yaml

Update /etc/hosts to point "keycloak.local" to 192.168.205.91 (second address dealt from MetalLB)

Licensing

Apache License, Version 2.0.