diff --git a/bitnami/keycloak/CHANGELOG.md b/bitnami/keycloak/CHANGELOG.md index d3260d52663ed6..b04a0be79d51b7 100644 --- a/bitnami/keycloak/CHANGELOG.md +++ b/bitnami/keycloak/CHANGELOG.md @@ -1,8 +1,13 @@ # Changelog -## 24.6.7 (2025-05-13) +## 24.7.0 (2025-05-19) -* [bitnami/keycloak] :zap: :arrow_up: Update dependency references ([#33671](https://github.com/bitnami/charts/pull/33671)) +* [bitnami/keycloak] Improvements to Keycloak cache handling ([#32885](https://github.com/bitnami/charts/pull/32885)) + +## 24.6.7 (2025-05-13) + +* [bitnami/keycloak] :zap: :arrow_up: Update dependency references (#33671) ([15a8f8a](https://github.com/bitnami/charts/commit/15a8f8a55a365316236d089a3f802f7364a4d060)), closes [#33671](https://github.com/bitnami/charts/issues/33671) +* [bitnami/kubeapps] Deprecation followup (#33579) ([77e312c](https://github.com/bitnami/charts/commit/77e312c1772d4d7c4dc5d3ac0e80f4e452e3a062)), closes [#33579](https://github.com/bitnami/charts/issues/33579) ## 24.6.6 (2025-05-08) diff --git a/bitnami/keycloak/Chart.yaml b/bitnami/keycloak/Chart.yaml index 4ae26b42d9ff1f..77f5eb1958c05a 100644 --- a/bitnami/keycloak/Chart.yaml +++ b/bitnami/keycloak/Chart.yaml @@ -36,4 +36,4 @@ maintainers: name: keycloak sources: - https://github.com/bitnami/charts/tree/main/bitnami/keycloak -version: 24.6.7 +version: 24.7.0 diff --git a/bitnami/keycloak/README.md b/bitnami/keycloak/README.md index bd136defabcbba..489464ecbffcce 100644 --- a/bitnami/keycloak/README.md +++ b/bitnami/keycloak/README.md @@ -686,12 +686,12 @@ As an alternative, you can use of the preset configurations for pod affinity, po ### Keycloak Cache parameters -| Name | Description | Value | -| ---------------------------------------- | ----------------------------------------------------------------------------------- | ------------ | -| `cache.enabled` | Switch to enable or disable the keycloak distributed cache for kubernetes. | `true` | -| `cache.stackName` | Set infinispan cache stack to use | `kubernetes` | -| `cache.stackFile` | Set infinispan cache stack filename to use | `""` | -| `cache.useHeadlessServiceWithAppVersion` | Set to true to create the headless service used for ispn containing the app version | `false` | +| Name | Description | Value | +| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | +| `cache.enabled` | Switch to enable or disable the keycloak distributed cache for kubernetes. | `true` | +| `cache.stack` | Set infinispan cache stack to use, sets KC_CACHE_STACK () | `kubernetes` | +| `cache.configFile` | Set infinispan cache stack config filename sets KC_CACHE_CONFIG_FILE () | `cache-ispn.xml` | +| `cache.useHeadlessServiceWithAppVersion` | Set to true to create the headless service used for ispn containing the app version | `false` | ### Keycloak Logging parameters @@ -867,4 +867,4 @@ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file +limitations under the License. diff --git a/bitnami/keycloak/templates/configmap-env-vars.yaml b/bitnami/keycloak/templates/configmap-env-vars.yaml index 230d2f44ed7184..2234111a7d7b36 100644 --- a/bitnami/keycloak/templates/configmap-env-vars.yaml +++ b/bitnami/keycloak/templates/configmap-env-vars.yaml @@ -86,12 +86,12 @@ data: KEYCLOAK_SPI_TRUSTSTORE_FILE: {{ printf "/opt/bitnami/keycloak/spi-certs/%s" .Values.spi.truststoreFilename }} {{- end }} {{- if .Values.cache.enabled }} - KEYCLOAK_CACHE_TYPE: "ispn" - {{- if .Values.cache.stackName }} - KEYCLOAK_CACHE_STACK: {{ .Values.cache.stackName | quote }} + KC_CACHE_TYPE: "ispn" + {{- if .Values.cache.stack }} + KC_CACHE_STACK: {{ .Values.cache.stack | quote }} {{- end }} - {{- if .Values.cache.stackFile }} - KEYCLOAK_CACHE_CONFIG_FILE: {{ .Values.cache.stackFile | quote }} + {{- if .Values.cache.configFile }} + KC_CACHE_CONFIG_FILE: {{ .Values.cache.configFile | quote }} {{- end }} {{- if .Values.cache.useHeadlessServiceWithAppVersion }} JAVA_OPTS_APPEND: {{ printf "-Djgroups.dns.query=%s-headless-ispn-%s.%s.svc.%s" (include "common.names.fullname" .) (replace "." "-" .Chart.AppVersion) (include "common.names.namespace" .) .Values.clusterDomain | quote }} @@ -99,7 +99,7 @@ data: JAVA_OPTS_APPEND: {{ printf "-Djgroups.dns.query=%s-headless.%s.svc.%s" (include "common.names.fullname" .) (include "common.names.namespace" .) .Values.clusterDomain | quote }} {{- end }} {{- else }} - KEYCLOAK_CACHE_TYPE: "local" + KC_CACHE_TYPE: "local" {{- end }} {{- if .Values.logging }} KEYCLOAK_LOG_OUTPUT: {{ .Values.logging.output | quote }} diff --git a/bitnami/keycloak/values.yaml b/bitnami/keycloak/values.yaml index 3e6d5349d28c2a..b39cf81435658e 100644 --- a/bitnami/keycloak/values.yaml +++ b/bitnami/keycloak/values.yaml @@ -1380,14 +1380,14 @@ externalDatabase: ## ref: https://www.keycloak.org/server/caching ## @param cache.enabled Switch to enable or disable the keycloak distributed cache for kubernetes. ## NOTE: Set to false to use 'local' cache (only supported when replicaCount=1). -## @param cache.stackName Set infinispan cache stack to use -## @param cache.stackFile Set infinispan cache stack filename to use +## @param cache.stack Set infinispan cache stack to use, sets KC_CACHE_STACK () +## @param cache.configFile Set infinispan cache stack config filename sets KC_CACHE_CONFIG_FILE () ## @param cache.useHeadlessServiceWithAppVersion Set to true to create the headless service used for ispn containing the app version ## cache: enabled: true - stackName: kubernetes - stackFile: "" + stack: kubernetes + configFile: "cache-ispn.xml" useHeadlessServiceWithAppVersion: false ## @section Keycloak Logging parameters