Skip to content

Commit 1cb1058

Browse files
maarousmaarous-ina
authored andcommitted
Bump keycloak version: 26.5.6 → 26.6.1
Signed-off-by: Mohamed Amine AROUS <mohamed.amine.arous93@gmail.com>
1 parent 3381af8 commit 1cb1058

7 files changed

Lines changed: 12 additions & 11 deletions

File tree

charts/keycloakx/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: keycloakx
33
version: 7.1.12
4-
appVersion: 26.5.6
4+
appVersion: 26.6.1
55
description: Keycloak.X - Open Source Identity and Access Management for Modern Applications and Services
66
keywords:
77
- sso

charts/keycloakx/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,14 +239,13 @@ The following table lists the configurable parameters of the Keycloak-X chart an
239239
| `test.podSecurityContext` | SecurityContext for the entire test Pod | `{"fsGroup":1000}` |
240240
| `test.securityContext` | SecurityContext for the test container | `{"runAsNonRoot":true,"runAsUser":1000}` |
241241
| `test.deletionPolicy` | `helm.sh/hook-delete-policy` for the test Pod | `before-hook-creation` |
242-
| `updateHook.enabled` | If `true`, enables the update hook that runs before statefulset updates | `true` |
242+
| `updateHook.enabled` | If `true`, enables the update hook that runs before statefulset updates | `false` |
243243
| `updateHook.image` | The image used for the update hook | `docker.io/curlimages/curl` |
244244
| `updateHook.podSecurityContext` | SecurityContext for the update hook Pod | `{"fsGroup":1000,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}} |
245245
| `updateHook.securityContext` | SecurityContext for the update hook container | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":1000,"runAsUser":1000} |
246246
| `updateHook.resources` | Resource requests and limits for the update hook container | `{"limits":{"cpu":"20m","memory":"32Mi"},"requests":{"cpu":"20m","memory":"32Mi"}}` |
247-
| `updateHook.kubernetesApi.url` | Kubernetes API URL for the update hook (Required if updateHook is enabled) | `""` |
248247
| `updateHook.kubernetesApi.port` | Kubernetes API port for the update hook (Required if updateHook is enabled) | `""` |
249-
| `updateHook.kubernetesApi.cidr` | Kubernetes API CIDR for the update hook (Required if updateHook and networkpolicy are enabled) | `""` |
248+
| `updateHook.kubernetesApi.ip` | Kubernetes API IP for the update hook (Required if updateHook and networkpolicy are enabled) | `""` |
250249

251250
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:
252251

charts/keycloakx/examples/postgresql-kubeping/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/keycloak/keycloak:26.5.6
1+
FROM quay.io/keycloak/keycloak:26.6.1
22

33
ENV JGROUPS_KUBERNETES_VERSION 1.0.16.Final
44

charts/keycloakx/templates/hooks/networkpolicy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{- if and .Values.updateHook.enabled (gt (int .Values.replicas) 1) .Values.networkPolicy.enabled }}
2+
---
23
apiVersion: networking.k8s.io/v1
34
kind: NetworkPolicy
45
metadata:
@@ -16,7 +17,7 @@ spec:
1617
egress:
1718
- to:
1819
- ipBlock:
19-
cidr: {{ .Values.updateHook.kubernetesApi.cidr | quote }}
20+
cidr: {{ printf "%s/32" .Values.updateHook.kubernetesApi.ip | quote }}
2021
ports:
2122
- protocol: TCP
2223
port: {{ .Values.updateHook.kubernetesApi.port }}

charts/keycloakx/templates/hooks/rbac.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{- if and .Values.updateHook.enabled (gt (int .Values.replicas) 1) }}
2+
---
23
apiVersion: v1
34
kind: ServiceAccount
45
metadata:

charts/keycloakx/templates/hooks/scale-down.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{- if and .Values.updateHook.enabled (gt (int .Values.replicas) 1) }}
2+
---
23
apiVersion: batch/v1
34
kind: Job
45
metadata:
@@ -26,7 +27,7 @@ spec:
2627
TOKEN="$(cat /var/run/secrets/kubernetes.io/serviceaccount/token)"
2728
NAMESPACE="$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace)"
2829
CACERT="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
29-
KUBERNETES_API="{{ .Values.updateHook.kubernetesApi.url }}:{{ .Values.updateHook.kubernetesApi.port }}"
30+
KUBERNETES_API="https://{{ .Values.updateHook.kubernetesApi.ip }}:{{ .Values.updateHook.kubernetesApi.port }}"
3031
3132
curl --fail --silent --show-error \
3233
--cacert "${CACERT}" \

charts/keycloakx/values.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ image:
1111
# The Keycloak image repository
1212
repository: quay.io/keycloak/keycloak
1313
# Overrides the Keycloak image tag whose default is the chart appVersion
14-
tag: "26.5.6"
14+
tag: ""
1515
# Overrides the Keycloak image tag with a specific digest
1616
digest: ""
1717
# The Keycloak image pull policy
@@ -648,7 +648,7 @@ extraManifests: []
648648
# foo: bar
649649

650650
updateHook:
651-
enabled: true
651+
enabled: false
652652
image: docker.io/curlimages/curl
653653
podSecurityContext:
654654
fsGroup: 1000
@@ -671,6 +671,5 @@ updateHook:
671671
cpu: "20m"
672672
memory: "32Mi"
673673
# kubernetesApi:
674-
# url: https://kubernetes-api.example.com
674+
# ip: 10.20.30.40
675675
# port: 8443
676-
# cidr: 10.20.30.40/32

0 commit comments

Comments
 (0)