Skip to content

Commit b1afd5e

Browse files
kongdewenbitnami-botgongomgra
authored
[bitnami/keycloak] New param javaOptsAppendExtra to append additional java opts (#36350)
* add new param for keycloak cache Signed-off-by: Dewen Kong <[email protected]> * update formate Signed-off-by: Dewen Kong <[email protected]> * update formate Signed-off-by: Dewen Kong <[email protected]> * update formate Signed-off-by: Dewen Kong <[email protected]> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <[email protected]> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Bot <[email protected]> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <[email protected]> * Update bitnami/keycloak/templates/configmap-env-vars.yaml Co-authored-by: Gonzalo Gómez Gracia <[email protected]> Signed-off-by: Dewen Kong <[email protected]> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <[email protected]> * Update bitnami/keycloak/Chart.yaml Signed-off-by: Gonzalo Gómez Gracia <[email protected]> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <[email protected]> --------- Signed-off-by: Dewen Kong <[email protected]> Signed-off-by: Bitnami Bot <[email protected]> Signed-off-by: Gonzalo Gómez Gracia <[email protected]> Co-authored-by: Bitnami Bot <[email protected]> Co-authored-by: Gonzalo Gómez Gracia <[email protected]>
1 parent 58cbc87 commit b1afd5e

File tree

5 files changed

+20
-9
lines changed

5 files changed

+20
-9
lines changed

bitnami/keycloak/CHANGELOG.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
# Changelog
22

3-
## 25.2.5 (2025-10-09)
3+
## 25.3.0 (2025-11-11)
44

5-
* [bitnami/keycloak] Fix: Rename duplicated secret labels ([#36254](https://github.com/bitnami/charts/pull/36254))
5+
* [bitnami/keycloak] New param javaOptsAppendExtra to append additional java opts ([#36350](https://github.com/bitnami/charts/pull/36350))
66

7-
## <small>25.2.4 (2025-09-23)</small>
7+
## <small>25.2.5 (2025-10-08)</small>
88

9-
* [bitnami/keycloak] Fix indentation in ingress TLS secret template ([#36282](https://github.com/bitnami/charts/pull/36282))
9+
* [bitnami/keycloak] Fix: Rename duplicated secret labels (#36254) ([9b3915b](https://github.com/bitnami/charts/commit/9b3915b649a9b08fbfad1fa82cc24e48232edd36)), closes [#36254](https://github.com/bitnami/charts/issues/36254)
10+
11+
## <small>25.2.4 (2025-10-02)</small>
12+
13+
* [bitnami/keycloak] Fix indentation in ingress TLS secret template (#36282) ([3f7fa45](https://github.com/bitnami/charts/commit/3f7fa45393366ca67af940efa64acfab89c05e75)), closes [#36282](https://github.com/bitnami/charts/issues/36282)
1014

1115
## <small>25.2.3 (2025-09-11)</small>
1216

@@ -1335,7 +1339,7 @@
13351339

13361340
## <small>7.1.1 (2022-03-10)</small>
13371341

1338-
* [bitnami/keycloak] Remove unused 'database-password' key (#9315) ([b4c79bd](https://github.com/bitnami/charts/commit/b4c79bd326d27541834a62a2cf8df209fdfbdf54)), closes [#9315](https://github.com/bitnami/charts/issues/9315) [#9274](https://github.com/bitnami/charts/issues/9274)
1342+
* [bitnami/keycloak] Remove unused 'database-password' key (#9315) ([b4c79bd](https://github.com/bitnami/charts/commit/b4c79bd326d27541834a62a2cf8df209fdfbdf54)), closes [#9315](https://github.com/bitnami/charts/issues/9315)
13391343

13401344
## 7.1.0 (2022-03-08)
13411345

@@ -1375,7 +1379,7 @@
13751379

13761380
## <small>6.2.1 (2022-02-25)</small>
13771381

1378-
* [bitnami/Keycloak] Improve documentation for tls ingress (#8973) ([11c0116](https://github.com/bitnami/charts/commit/11c01168577d8cb5ee61f9f890a1966c709d443e)), closes [#8973](https://github.com/bitnami/charts/issues/8973) [#7734](https://github.com/bitnami/charts/issues/7734)
1382+
* [bitnami/Keycloak] Improve documentation for tls ingress (#8973) ([11c0116](https://github.com/bitnami/charts/commit/11c01168577d8cb5ee61f9f890a1966c709d443e)), closes [#8973](https://github.com/bitnami/charts/issues/8973)
13791383

13801384
## 6.2.0 (2022-02-23)
13811385

bitnami/keycloak/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ maintainers:
3535
name: keycloak
3636
sources:
3737
- https://github.com/bitnami/charts/tree/main/bitnami/keycloak
38-
version: 25.2.5
38+
version: 25.3.0

bitnami/keycloak/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ There are cases where you may want to deploy extra objects, such a ConfigMap con
418418
| `cache.stack` | Cache stack to use | `jdbc-ping` |
419419
| `cache.configFile` | Path to the file from which cache configuration should be loaded from | `cache-ispn.xml` |
420420
| `cache.useHeadlessServiceWithAppVersion` | Create a headless service used for ispn containing the app version | `false` |
421+
| `cache.javaOptsAppendExtra` | Extra java options to append to the java options | `""` |
421422
| `logging.output` | Alternates between the default log output format or json format | `default` |
422423
| `logging.level` | Allowed values as documented: FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL, OFF | `INFO` |
423424
| `configuration` | Keycloak Configuration. Auto-generated based on other parameters when not specified | `""` |

bitnami/keycloak/templates/configmap-env-vars.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ data:
7474
{{- if .Values.cache.configFile }}
7575
KC_CACHE_CONFIG_FILE: {{ .Values.cache.configFile | quote }}
7676
{{- end }}
77-
JAVA_OPTS_APPEND: {{ printf "-Djgroups.dns.query=%s.%s.svc.%s" (ternary (include "keycloak.headless.ispn.serviceName" .) (include "keycloak.headless.serviceName" .) .Values.cache.useHeadlessServiceWithAppVersion) (include "common.names.namespace" .) .Values.clusterDomain | quote }}
77+
{{- $javaOptsAppend := printf "-Djgroups.dns.query=%s-headless.%s.svc.%s" (include "common.names.fullname" .) (include "common.names.namespace" .) .Values.clusterDomain -}}
78+
{{- if .Values.cache.javaOptsAppendExtra }}
79+
{{- $javaOptsAppend = printf "%s %s" $javaOptsAppend .Values.cache.javaOptsAppendExtra -}}
80+
{{- end }}
81+
JAVA_OPTS_APPEND: {{ quote $javaOptsAppend }}
7882
{{- end }}
7983
KC_HTTP_RELATIVE_PATH: {{ .Values.httpRelativePath | quote }}
8084
{{- if .Values.adminRealm }}

bitnami/keycloak/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,14 @@ httpRelativePath: "/"
207207
## @param cache.stack Cache stack to use
208208
## @param cache.configFile Path to the file from which cache configuration should be loaded from
209209
## @param cache.useHeadlessServiceWithAppVersion Create a headless service used for ispn containing the app version
210+
## @param cache.javaOptsAppendExtra Extra java options to append to the java options
210211
##
211212
cache:
212213
enabled: true
213214
stack: jdbc-ping
214215
configFile: "cache-ispn.xml"
215216
useHeadlessServiceWithAppVersion: false
217+
javaOptsAppendExtra: ""
216218
## Keycloak logging configuration
217219
## ref: https://www.keycloak.org/server/logging
218220
## @param logging.output Alternates between the default log output format or json format
@@ -1292,4 +1294,4 @@ externalDatabase:
12921294
existingSecretUserKey: ""
12931295
existingSecretPasswordKey: ""
12941296
annotations: {}
1295-
extraParams: ""
1297+
extraParams: ""

0 commit comments

Comments
 (0)