Rollout keycloak with operator and cloud-native pg
- Shell 100%
| admin-tasks | ||
| charts/keycloak-cnpg-op | ||
| create-permanent-admin.sh | ||
| kustomization.yaml | ||
| README.md | ||
| route-idp.yaml | ||
Kustomize config for KeyCloak
1. Install operator in namespace
OKD / Openshift
As cluster-admin: oc apply -k base/admin-tasks/ (rolls namespace installation of keycloak operator out!)
kubernetes (non OLM)
See the official documentation
Install custom cluster-wide:
kubectl create namespace keycloak-operator
kubectl apply -k 'github.com/keycloak/keycloak-k8s-resources/kubernetes/cluster-wide?ref=26.7.4'
2. install
- make this repo a submodule of your original config
- copy
kustomization.yamlin your root dir - edit it
- rollout with
kubectl kustomize --enable-helm . | kubectl apply -f - - create a permanent admin with:
sh create-permanent-admin.sh <releasename> <stage> <namespace>