keycloak-operator

by Adfinis

Helm chartv2.0.1App 26.8.2Verified publisher

Deploy Keycloak Operator and Keycloak

About this chart

keycloak-operator

Deploy Keycloak Operator and Keycloak

Homepage: https://www.keycloak.org

Maintainers

This chart is maintained by Adfinis.

Source Code

Requirements

RepositoryNameVersion
oci://quay.io/keycloakoperator(keycloak-operator-helm)26.8.2

Values

KeyTypeDefaultDescription
fullnameOverridestring""
grafana.defaultLabelbooltrueAdd a default grafana_dashboard: 1 label
grafana.enabledboolfalseEnable Grafana Dashboards
grafana.extraLabelsobject{}Labels to add to all Grafana integration resources
imagePullSecretslist[]
keycloak.additionalOptionsstringnilConfiguration of the Keycloak server expressed as a keys and values that can be either direct values or references to secrets.
keycloak.adminobject{}In this section you can find all properties related to making admin connections from the operator to the server.
keycloak.bootstrapAdminstringnilIn this section you can configure Keycloak's bootstrap admin - will be used only for initial cluster creation.
keycloak.cacheobject{}Configure keycloaks cache.
keycloak.db.databasestringnilSets the database name of the default JDBC URL of the chosen vendor. If the url option is set, this option is ignored.
keycloak.db.hoststringnilSets the hostname of the default JDBC URL of the chosen vendor. If the url option is set, this option is ignored.
keycloak.db.passwordSecretstringnilThe reference to a secret holding the password of the database user.
keycloak.db.poolInitialSizestringnilThe initial size of the connection pool.
keycloak.db.poolMaxSizestringnilThe maximum size of the connection pool.
keycloak.db.poolMinSizestringnilThe minimal size of the connection pool.
keycloak.db.portstringnilSets the port of the default JDBC URL of the chosen vendor. If the url option is set, this option is ignored.
keycloak.db.schemastringnilThe database schema to be used.
keycloak.db.urlstringnilThe full database JDBC URL. If not provided, a default URL is set based on the selected database vendor.
keycloak.db.usernameSecretstringnilThe reference to a secret holding the username of the database user.
keycloak.db.vendorstringnilThe database vendor.
keycloak.enabledboolfalseEnable deploying a bundled keycloak with the operator
keycloak.envlist[]Environment variables for the Keycloak server. Values can be either direct values or references to secrets. Use additionalOptions for first-class options rather than KC_ values here.
keycloak.featuresobjectsee Keycloak docsConfigure Keycloak features
keycloak.features.disabledlist[]Disabled Keycloak features
keycloak.features.enabledlist[]Enabled Keycloak features
keycloak.hostname.adminstringnilThe hostname for accessing the administration console.
keycloak.hostname.adminUrlstringnilSet the base URL for accessing the administration console.
keycloak.hostname.backchannelDynamicboolUse the operator's default if not set.Enables dynamic resolving of backchannel URLs, including hostname, scheme, port and context path. Set to true if your application accesses Keycloak via a private network.
keycloak.hostname.hostnamestringDisabled if not set.Hostname for the Keycloak server.
keycloak.hostname.strictboolfalseDisables dynamically resolving the hostname from request headers
keycloak.http.annotationsstringnilAnnotations to be appended to the Service object
keycloak.http.httpEnabledbooltrueEnable a HTTP listener
keycloak.http.httpPortstringnilThe used HTTP port
keycloak.http.httpsPortstringnilThe used HTTPS port
keycloak.http.labelsstringnilLabels to be appended to the Service object
keycloak.http.serviceHttpPortstringnilThe HTTP port exposed on the Kubernetes Service.
keycloak.http.serviceHttpsPortstringnilThe HTTPS port exposed on the Kubernetes Service.
keycloak.http.serviceNamestringnilThe name of the Kubernetes Service.
keycloak.http.tlsSecretstringnilA secret containing the TLS configuration for HTTPS.
keycloak.httpManagement.portstringnilPort of management interface.
keycloak.image.repositorystring"quay.io/keycloak/keycloak"Keycloak image repository.
keycloak.image.shastring""Configure the SHA for the keycloak image. Should match the SHA of the image tag if specified or the image tag resolved from the chart appVersion.
keycloak.image.tagstring""Keycloak image tag. Defaults to the chart appVersion.
keycloak.imagePullSecretsstringnilSecret(s) that might be used when pulling an image from a private container image registry or repository.
keycloak.importstringnilIn this section you can configure import jobs scheduling
keycloak.ingress.annotationsobject{}Annotations for the Ingress
keycloak.ingress.classNamestring""Ingress class name
keycloak.ingress.enabledbooltrueThe deployment is, by default, exposed through a basic ingress.
keycloak.ingress.labelsobject{}Additional labels to be appended to the Ingress object
keycloak.ingress.tlsSecretstringnilA secret containing the TLS configuration for re-encrypt or TLS termination scenarios. Reference: https://kubernetes.io/docs/concepts/configuration/secret/#tls-secrets
keycloak.instancesint1Number of Keycloak instances in HA mode.
keycloak.livenessProbestringnilConfiguration for liveness probe, by default it is 10 for periodSeconds and 3 for failureThreshold
keycloak.oidcclients.clientslist[]A list of OIDC clients to configure using the oidcclients CRD.
keycloak.oidcclients.enabledboolfalseDeploy oidcclient resources
keycloak.proxy.headersstring""The proxy headers that should be accepted by the server. Misconfiguration might leave the server exposed to security vulnerabilities.
keycloak.readinessProbestringnilConfiguration for readiness probe, by default it is 10 for periodSeconds and 3 for failureThreshold
keycloak.realmimport.enabledboolfalseDeploy realmimport resources
keycloak.realmimport.realmslist[]A list of realms to configure using the realmimport CRD.
keycloak.resourcesobject{}Compute Resources required by Keycloak container
keycloak.samlclients.clientslist[]A list of SAML clients to configure using the samlclients CRD.
keycloak.samlclients.enabledboolfalseDeploy samlclient resources
keycloak.schedulingstringnilIn this section you can configure Keycloak's scheduling
keycloak.serviceMonitorobject{"annotations":{},"enabled":false,"interval":"30s","labels":{},"scrapeTimeout":"10s"}Configuration related to the generated ServiceMonitor
keycloak.serviceMonitor.annotationsobject{}Annotations to be appended to the ServiceMonitor object
keycloak.serviceMonitor.enabledboolfalseEnables or disables the creation of the ServiceMonitor.
keycloak.serviceMonitor.intervalstring"30s"Interval at which metrics should be scraped
keycloak.serviceMonitor.labelsobject{}Labels to be appended to the ServiceMonitor object
keycloak.serviceMonitor.scrapeTimeoutstring"10s"Timeout after which the scrape is ended
keycloak.startOptimizedstringnil
keycloak.startupProbestringnilConfiguration for startup probe, by default it is 1 for periodSeconds and 600 for failureThreshold
keycloak.telemetryobject{}In this section you can configure general shared OpenTelemetry settings for Keycloak.
keycloak.transaction.xaEnabledboolfalseDetermine whether Keycloak should use a non-XA datasource.
keycloak.truststoresobject{}Configure Keycloak truststores.
keycloak.unsupportedobject{}Additional values that will be merged with the operator's defaults
keycloak.updateobject{}Configuration related to Keycloak deployment updates.
nameOverridestring""
operatorobject-Values for the operator deployment, see upstream keycloak-operator-helm chart for details.
operator.crds.enabledboolfalseDisable CRDs from subchart because parent chart contains them.
tags.enable-operatorbooltrueEnable deploying the keycloak-operator

About this chart

Adfinis fights for a software world that is more open, where the quality is better and where software must be accessible to everyone. This chart is part of the action behind this commitment. Feel free to contact us if you have any questions.

License

This Helm chart is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.


Autogenerated from chart metadata using helm-docs

Deploy keycloak-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has keycloak-operator 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkeycloak-operator is pinned at v2.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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