mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitnami/keycloak] Add support for distributed caching in kubernetes (#10387)
* [bitnami/keycloak] Add distributed cache for kubernetes Signed-off-by: José Abraham <abrahamjoc@gmail.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
@@ -26,4 +26,4 @@ name: keycloak
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-keycloak
|
||||
- https://github.com/keycloak/keycloak
|
||||
version: 9.0.5
|
||||
version: 9.1.0
|
||||
|
||||
@@ -84,7 +84,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| -------------------------------- | --------------------------------------------------------------------------------------------- | --------------------- |
|
||||
| `image.registry` | Keycloak image registry | `docker.io` |
|
||||
| `image.repository` | Keycloak image repository | `bitnami/keycloak` |
|
||||
| `image.tag` | Keycloak image tag (immutable tags are recommended) | `17.0.1-debian-10-r0` |
|
||||
| `image.tag` | Keycloak image tag (immutable tags are recommended) | `18.0.0-debian-10-r3` |
|
||||
| `image.pullPolicy` | Keycloak image pull policy | `IfNotPresent` |
|
||||
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `image.debug` | Specify if debug logs should be enabled | `false` |
|
||||
@@ -267,7 +267,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `keycloakConfigCli.enabled` | Whether to enable keycloak-config-cli job | `false` |
|
||||
| `keycloakConfigCli.image.registry` | keycloak-config-cli container image registry | `docker.io` |
|
||||
| `keycloakConfigCli.image.repository` | keycloak-config-cli container image repository | `bitnami/keycloak-config-cli` |
|
||||
| `keycloakConfigCli.image.tag` | keycloak-config-cli container image tag | `5.2.0-debian-10-r3` |
|
||||
| `keycloakConfigCli.image.tag` | keycloak-config-cli container image tag | `5.2.0-debian-10-r11` |
|
||||
| `keycloakConfigCli.image.pullPolicy` | keycloak-config-cli container image pull policy | `IfNotPresent` |
|
||||
| `keycloakConfigCli.image.pullSecrets` | keycloak-config-cli container image pull secrets | `[]` |
|
||||
| `keycloakConfigCli.annotations` | Annotations for keycloak-config-cli job | `{}` |
|
||||
@@ -312,6 +312,13 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `externalDatabase.existingSecretPasswordKey` | Name of an existing secret key containing the database credentials | `""` |
|
||||
|
||||
|
||||
### Keycloak Cache parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
| --------------- | ------------------------------------------------------------------------- | ------- |
|
||||
| `cache.enabled` | Switch to enable or disable the keycloak distributed cache for kubernetes | `false` |
|
||||
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
```bash
|
||||
|
||||
@@ -28,3 +28,8 @@ data:
|
||||
KEYCLOAK_TLS_KEYSTORE_FILE: "/opt/bitnami/keycloak/certs/keycloak.keystore.jks"
|
||||
KEYCLOAK_TLS_TRUSTSTORE_FILE: "/opt/bitnami/keycloak/certs/keycloak.truststore.jks"
|
||||
{{- end }}
|
||||
{{- if .Values.cache.enabled }}
|
||||
KEYCLOAK_CACHE_TYPE: "ispn"
|
||||
KEYCLOAK_CACHE_STACK: "kubernetes"
|
||||
JAVA_OPTS_APPEND: {{ printf "-Djgroups.dns.query=%s-headless.%s" (include "keycloak.fullname" .) .Release.Namespace }}
|
||||
{{- end }}
|
||||
|
||||
@@ -934,3 +934,12 @@ externalDatabase:
|
||||
password: ""
|
||||
existingSecret: ""
|
||||
existingSecretPasswordKey: ""
|
||||
|
||||
## @section Keycloak Cache parameters
|
||||
|
||||
## Keycloak cache configuration
|
||||
## ref: https://www.keycloak.org/server/caching
|
||||
## @param cache.enabled Switch to enable or disable the keycloak distributed cache for kubernetes
|
||||
##
|
||||
cache:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user