keycloak-controller
by Helm
A Helm chart for a Kubernetes controller to manage Keycloak clients and realms.
About this chart
Keycloak Client Controller
The Keycloak Controller manages clients and realms in one or more Keycloak instances via Kubernetes resources.
Configuration
The following table lists the configurable parameters of the chart and their default values.
| Parameter | Description | Default |
|---|---|---|
replicaCount | Number of replicas | 1 |
image.repository | keycloak-controller image | kiwigrid/keycloak-controller |
image.tag | keycloak-controller image tag | 2.0.0 |
image.pullPolicy | Image pull policy | IfNotPresent |
rbac.enabled | Controls RBAC usage | true |
retryRate | Configure retry interval for failed resources | 60s |
prometheus.enabled | Enables Prometheus scrape configuration | true |
prometheus.path | Metric endpoint | /endpoints/prometheus |
prometheus.port | Scrape port | 8080 |
prometheus.step | How frequently to report metrics | PT5s |
prometheus.descriptions | If meter descriptions should be sent to Prometheus | true |
javaToolOptions | Allows to specify the initialization of tools | see values.yaml |
gcpLogging | Enables Stackdriver conform logging | true |
namespaced | Controls whether watching only for events in its namespace | true |
resources | Resources | {} |
nodeSelector | NodeSelector | {} |
tolerations | Tolerations | [] |
affinity | Affinity | {} |
Specify each parameter using the --set key=value[,key=value] argument to helm install.
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
helm install --name my-release -f values.yaml kiwigrid/keycloak-controller
Tip: You can use the default values.yaml
Deploy keycloak-controller with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has keycloak-controller on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkeycloak-controller is pinned at v0.6.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply