Skip to content

Commit 74335e2

Browse files
author
Frederic Spiers
committed
fix(conflict): resolve conflict with upstream
2 parents b22d523 + 16afcfe commit 74335e2

38 files changed

+416
-311
lines changed

charts/ghost/CHANGELOG.md

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

3-
## 0.2.1 (2025-10-01)
3+
## 0.2.3 (2025-10-06)
44

5-
* [ghost] switch helm-chart icon to a new svg ([#199](https://github.com/CloudPirates-io/helm-charts/pull/199))
5+
* [mariadb] chore(deps): update mariadb:12.0.2 Docker digest to 03a03a6 ([#208](https://github.com/CloudPirates-io/helm-charts/pull/208))
6+
7+
## <small>0.2.2 (2025-10-01)</small>
8+
9+
* use png as icon (#200) ([359e88f](https://github.com/CloudPirates-io/helm-charts/commit/359e88f)), closes [#200](https://github.com/CloudPirates-io/helm-charts/issues/200)
10+
11+
## <small>0.2.1 (2025-10-01)</small>
12+
13+
* switch helm-chart icon to a new svg (#199) ([44e4d0d](https://github.com/CloudPirates-io/helm-charts/commit/44e4d0d)), closes [#199](https://github.com/CloudPirates-io/helm-charts/issues/199)
614

715
## 0.2.0 (2025-10-01)
816

charts/ghost/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: ghost
33
description: A simple, powerful publishing platform that allows you to share your stories with the world.
44
type: application
5-
version: 0.2.2
5+
version: 0.2.3
66
appVersion: "6.0.9"
77
keywords:
88
- ghost

charts/ghost/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ extraObjects: []
194194
initContainers:
195195
## @param initContainers.waitForMariadb.image MariaDB init container image for waiting
196196
waitForMariadb:
197-
image: "mariadb:12.0.2@sha256:8a061ef9813cf960f94a262930a32b190c3fbe5c8d3ab58456ef1df4b90fd5dc"
197+
image: "mariadb:12.0.2@sha256:03a03a6817bb9eaa21e5aed1b734d432ec3f80021f5a2de1795475f158217545"
198198

199199
config:
200200
database:

charts/keycloak/CHANGELOG.md

Lines changed: 2 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,5 @@
11
# Changelog
22

3-
## 0.1.10 (2025-10-02)
3+
## 0.2.0 (2025-10-06)
44

5-
* [postgres] chore(deps): update postgres:17.6 Docker digest to e6a4209 ([#173](https://github.com/CloudPirates-io/helm-charts/pull/173))
6-
7-
## <small>0.1.9 (2025-10-02)</small>
8-
9-
* add topologySpreadConstraints and trafficDistribution opti… (#209) ([c777fca](https://github.com/CloudPirates-io/helm-charts/commit/c777fca)), closes [#209](https://github.com/CloudPirates-io/helm-charts/issues/209)
10-
11-
## <small>0.1.8 (2025-09-30)</small>
12-
13-
* Feature/command customize (#186) ([a458e15](https://github.com/CloudPirates-io/helm-charts/commit/a458e15)), closes [#186](https://github.com/CloudPirates-io/helm-charts/issues/186)
14-
15-
## <small>0.1.7 (2025-09-29)</small>
16-
17-
* replace deprecated 'proxy' with new proxy parameters (#183) ([d850b7b](https://github.com/CloudPirates-io/helm-charts/commit/d850b7b)), closes [#183](https://github.com/CloudPirates-io/helm-charts/issues/183)
18-
19-
## <small>0.1.6 (2025-09-26)</small>
20-
21-
* [postgres] chore(deps): update postgres:17.6 Docker digest to 0b6428e (#162) ([6293612](https://github.com/CloudPirates-io/helm-charts/commit/6293612)), closes [#162](https://github.com/CloudPirates-io/helm-charts/issues/162)
22-
23-
## <small>0.1.5 (2025-09-25)</small>
24-
25-
* add namespaces to templates, change user/group-ids to 1001 ([31b203b](https://github.com/CloudPirates-io/helm-charts/commit/31b203b))
26-
* add readme documentation and values.schema.json ([369448b](https://github.com/CloudPirates-io/helm-charts/commit/369448b))
27-
* add support for extra env vars from an existing secret (#158) ([263604f](https://github.com/CloudPirates-io/helm-charts/commit/263604f)), closes [#158](https://github.com/CloudPirates-io/helm-charts/issues/158)
28-
* Fix resolving template expressions in extraobjects ([12a1cb5](https://github.com/CloudPirates-io/helm-charts/commit/12a1cb5))
29-
* [postgres] chore(deps): update postgres:17.6 Docker digest to 0f4f200 ([b4a6a30](https://github.com/CloudPirates-io/helm-charts/commit/b4a6a30))
30-
* Add keycloak logo ([bf1e1c2](https://github.com/CloudPirates-io/helm-charts/commit/bf1e1c2))
31-
* Add TODO ([8162d60](https://github.com/CloudPirates-io/helm-charts/commit/8162d60))
32-
* Artifact hub id ([02540ae](https://github.com/CloudPirates-io/helm-charts/commit/02540ae))
33-
* Bump the correct thing ([35e7901](https://github.com/CloudPirates-io/helm-charts/commit/35e7901))
34-
* Fix chart version bump ([aae07b1](https://github.com/CloudPirates-io/helm-charts/commit/aae07b1))
35-
* Fix deprecated env vars warning ([50d9fa0](https://github.com/CloudPirates-io/helm-charts/commit/50d9fa0))
36-
* Fix lint ([4bf9e77](https://github.com/CloudPirates-io/helm-charts/commit/4bf9e77))
37-
* Fix lint 2 ([a38fc35](https://github.com/CloudPirates-io/helm-charts/commit/a38fc35))
38-
* Fix lint 3 ([0875bfa](https://github.com/CloudPirates-io/helm-charts/commit/0875bfa))
39-
* Fix lint 4 ([7fcbd78](https://github.com/CloudPirates-io/helm-charts/commit/7fcbd78))
40-
* Improvements ([cea8f2c](https://github.com/CloudPirates-io/helm-charts/commit/cea8f2c))
41-
* Initial implementation ([c5d41ec](https://github.com/CloudPirates-io/helm-charts/commit/c5d41ec))
42-
* Rework keycloak ([2afb0fd](https://github.com/CloudPirates-io/helm-charts/commit/2afb0fd))
43-
* Update CHANGELOG.md ([b7572a8](https://github.com/CloudPirates-io/helm-charts/commit/b7572a8))
44-
* Update CHANGELOG.md ([245f9b6](https://github.com/CloudPirates-io/helm-charts/commit/245f9b6))
45-
* Update CHANGELOG.md ([0bf9f75](https://github.com/CloudPirates-io/helm-charts/commit/0bf9f75))
46-
* Update CHANGELOG.md ([03d476e](https://github.com/CloudPirates-io/helm-charts/commit/03d476e))
47-
* Update CHANGELOG.md ([20c19bb](https://github.com/CloudPirates-io/helm-charts/commit/20c19bb))
48-
* Update CHANGELOG.md ([68435aa](https://github.com/CloudPirates-io/helm-charts/commit/68435aa))
49-
* Update CHANGELOG.md ([b8adca8](https://github.com/CloudPirates-io/helm-charts/commit/b8adca8))
50-
* Update CHANGELOG.md ([62e51b9](https://github.com/CloudPirates-io/helm-charts/commit/62e51b9))
51-
* Update CHANGELOG.md ([54f725e](https://github.com/CloudPirates-io/helm-charts/commit/54f725e))
52-
* Update CHANGELOG.md ([2ed9b3f](https://github.com/CloudPirates-io/helm-charts/commit/2ed9b3f))
53-
* Update CHANGELOG.md ([2178148](https://github.com/CloudPirates-io/helm-charts/commit/2178148))
54-
* Update CHANGELOG.md ([8d6710f](https://github.com/CloudPirates-io/helm-charts/commit/8d6710f))
55-
* chore: fix changelog ([bd9f1a8](https://github.com/CloudPirates-io/helm-charts/commit/bd9f1a8))
5+
* [keycloak] Add support for extra volumes, volumeMounts and initContainers ([#215](https://github.com/CloudPirates-io/helm-charts/pull/215))

charts/keycloak/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: keycloak
33
description: Open Source Identity and Access Management Solution
44
type: application
5-
version: 0.1.10
5+
version: 0.2.0
66
appVersion: "26.3.4"
77
keywords:
88
- keycloak

charts/keycloak/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,19 @@ The following table lists the configurable parameters of the Keycloak chart and
9999
| `podAnnotations` | Map of annotations to add to the pods | `{}` |
100100
| `podLabels` | Map of labels to add to the pods | `{}` |
101101

102+
### Extra volumes and volumes mount
103+
104+
| Parameter | Description | Default |
105+
| ------------------- | ----------------------------------------------------- | ------- |
106+
| `extraVolumes` | Array of Volume to add to the keycloak pod | `[]` |
107+
| `extraVolumeMounts` | Array of VolumeMount to add to the keycloak container | `[]` |
108+
109+
### Extra init containers for Keycloak pod
110+
111+
| Parameter | Description | Default |
112+
| --------------------- | ----------------------------------------------------- | ------- |
113+
| `extraInitContainers` | Array of initContainer to add to the keycloak pod | `[]` |
114+
102115
### Security
103116

104117
| Parameter | Description | Default |
@@ -130,6 +143,7 @@ The following table lists the configurable parameters of the Keycloak chart and
130143
| `keycloak.proxyProtocolEnabled` | Whether the server should use the HA PROXY protocol when serving requests from behind a proxy. (true, false) | `false` |
131144
| `keycloak.proxyTrustedAddresses` | A comma separated list of trusted proxy addresses | `""` |
132145
| `keycloak.production` | Enable production mode | `false` |
146+
| `keycloak.httpRelativePath` | Set relative path for serving resources; must start with a / | `""` |
133147

134148
### Database Configuration
135149

charts/keycloak/templates/_helpers.tpl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,4 +180,15 @@ Return the database JDBC URL
180180
{{- printf "jdbc:mysql://%s:%s/%s%s" .Values.database.host (default "3306" (.Values.database.port | toString)) .Values.database.name (ternary (printf "?%s" .Values.database.jdbcParams) "" (ne .Values.database.jdbcParams "")) -}}
181181
{{- end -}}
182182
{{- end -}}
183+
{{- end }}
184+
185+
{{/*
186+
Return the url to use for probes
187+
*/}}
188+
{{- define "keycloak.probeUrl" -}}
189+
{{- if or (eq .Values.keycloak.httpRelativePath "") (eq .Values.keycloak.httpRelativePath "/") -}}
190+
{{- printf "/realms/master" -}}
191+
{{- else -}}
192+
{{- printf "%s/realms/master" .Values.keycloak.httpRelativePath -}}
193+
{{- end -}}
183194
{{- end }}

charts/keycloak/templates/deployment.yaml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ spec:
5252
image: {{ .Values.initContainers.waitForMariadb.image }}
5353
command: ["sh", "-c", "until mysqladmin ping -h {{ .Release.Name }}-mariadb -P 3306 --silent; do echo waiting for database; sleep 2; done;"]
5454
{{- end }}
55+
{{- if .Values.extraInitContainers }}
56+
{{- toYaml .Values.extraInitContainers | nindent 8 }}
57+
{{- end }}
5558
containers:
5659
- name: {{ .Chart.Name }}
5760
securityContext:
@@ -108,6 +111,8 @@ spec:
108111
- --features-disabled={{ join "," .Values.features.disabled }}
109112
{{- end }}
110113
env:
114+
- name: KC_HTTP_RELATIVE_PATH
115+
value: {{ .Values.keycloak.httpRelativePath | quote | default "/" }}
111116
- name: KC_BOOTSTRAP_ADMIN_USERNAME
112117
value: {{ .Values.keycloak.adminUser | quote }}
113118
- name: KC_BOOTSTRAP_ADMIN_PASSWORD
@@ -166,7 +171,7 @@ spec:
166171
{{- if .Values.livenessProbe.enabled }}
167172
livenessProbe:
168173
httpGet:
169-
path: /realms/master
174+
path: {{ include "keycloak.probeUrl" . }}
170175
port: http
171176
scheme: HTTP
172177
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
@@ -178,7 +183,7 @@ spec:
178183
{{- if .Values.readinessProbe.enabled }}
179184
readinessProbe:
180185
httpGet:
181-
path: /realms/master
186+
path: {{ include "keycloak.probeUrl" . }}
182187
port: http
183188
scheme: HTTP
184189
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
@@ -190,7 +195,7 @@ spec:
190195
{{- if .Values.startupProbe.enabled }}
191196
startupProbe:
192197
httpGet:
193-
path: /realms/master
198+
path: {{ include "keycloak.probeUrl" . }}
194199
port: http
195200
scheme: HTTP
196201
initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }}
@@ -202,10 +207,8 @@ spec:
202207
resources:
203208
{{- toYaml .Values.resources | nindent 12 }}
204209
volumeMounts:
205-
{{- if .Values.persistence.enabled }}
206210
- name: data
207211
mountPath: /opt/keycloak/data
208-
{{- end }}
209212
{{- if .Values.cache.configFile }}
210213
- name: cache-config
211214
mountPath: /opt/keycloak/conf/cache-ispn.xml
@@ -218,11 +221,18 @@ spec:
218221
mountPath: /opt/keycloak/work
219222
- name: keycloak-lib-quarkus
220223
mountPath: /opt/keycloak/lib/quarkus
224+
{{- if .Values.extraVolumeMounts }}
225+
{{- toYaml .Values.extraVolumeMounts | nindent 12}}
226+
{{- end }}
227+
221228
volumes:
222229
{{- if .Values.persistence.enabled }}
223230
- name: data
224231
persistentVolumeClaim:
225232
claimName: {{ default (include "keycloak.fullname" .) .Values.persistence.existingClaim }}
233+
{{- else }}
234+
- name: data
235+
emptyDir: {}
226236
{{- end }}
227237
{{- if .Values.cache.configFile }}
228238
- name: cache-config
@@ -235,6 +245,9 @@ spec:
235245
emptyDir: {}
236246
- name: keycloak-lib-quarkus
237247
emptyDir: {}
248+
{{- if .Values.extraVolumes }}
249+
{{- toYaml .Values.extraVolumes | nindent 8 }}
250+
{{- end }}
238251
{{- with .Values.nodeSelector }}
239252
nodeSelector:
240253
{{- toYaml . | nindent 8 }}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
suite: test service account
2+
templates:
3+
- templates/deployment.yaml
4+
tests:
5+
- it: readiness probe should be original
6+
asserts:
7+
- equal:
8+
path: spec.template.spec.containers[0].readinessProbe.httpGet.path
9+
value: /realms/master
10+
- it: readiness probe should include the httpRelativePath
11+
set:
12+
keycloak:
13+
httpRelativePath: /auth
14+
asserts:
15+
- equal:
16+
path: spec.template.spec.containers[0].readinessProbe.httpGet.path
17+
value: /auth/realms/master

charts/keycloak/values.schema.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,27 @@
7373
"type": "object",
7474
"description": "Map of labels to add to the pods"
7575
},
76+
"extraVolumes": {
77+
"type": "array",
78+
"items": {
79+
"type": "object"
80+
},
81+
"description": "Array of Volume to add to the keycloak pod"
82+
},
83+
"extraVolumeMounts": {
84+
"type": "array",
85+
"items": {
86+
"type": "object"
87+
},
88+
"description": "Array of VolumeMount to add to the keycloak container"
89+
},
90+
"extraInitContainers": {
91+
"type": "array",
92+
"items": {
93+
"type": "object"
94+
},
95+
"description": "Array of initContainer to add to the keycloak pod"
96+
},
7697
"podSecurityContext": {
7798
"type": "object",
7899
"properties": {
@@ -191,6 +212,10 @@
191212
"production": {
192213
"type": "boolean",
193214
"description": "Enable production mode"
215+
},
216+
"httpRelativePath": {
217+
"type": "string",
218+
"description": "Set relative path for serving resources; must start with a /"
194219
}
195220
}
196221
},

0 commit comments

Comments
 (0)