[bitnami/keydb] fix: Update "volume-permissions" initContainers command (#31518)

* [bitnami/keydb] fix: Update "volume-permissions" initContainers command

Signed-off-by: Max Kochubey <20810306+maxkochubey@users.noreply.github.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Max Kochubey <20810306+maxkochubey@users.noreply.github.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Max Kochubey
2025-01-23 18:25:24 +03:00
committed by GitHub
parent 29d041b4e3
commit e32c40fa9e
4 changed files with 10 additions and 5 deletions

View File

@@ -1,8 +1,13 @@
# Changelog
## 0.3.1 (2024-12-27)
## 0.3.2 (2025-01-23)
* [bitnami/keydb] Release 0.3.1 ([#31176](https://github.com/bitnami/charts/pull/31176))
* [bitnami/keydb] fix: Update "volume-permissions" initContainers command ([#31518](https://github.com/bitnami/charts/pull/31518))
## <small>0.3.1 (2024-12-27)</small>
* [bitnami/*] Fix typo in README (#31052) ([b41a51d](https://github.com/bitnami/charts/commit/b41a51d1bd04841fc108b78d3b8357a5292771c8)), closes [#31052](https://github.com/bitnami/charts/issues/31052)
* [bitnami/keydb] Release 0.3.1 (#31176) ([28ede84](https://github.com/bitnami/charts/commit/28ede84eddc77f9a87e4197bd0067e8e42178649)), closes [#31176](https://github.com/bitnami/charts/issues/31176)
## 0.3.0 (2024-12-10)

View File

@@ -34,4 +34,4 @@ name: keydb
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/keydb
- https://github.com/bitnami/containers/tree/main/bitnami/keydb
version: 0.3.1
version: 0.3.2

View File

@@ -94,7 +94,7 @@ spec:
- /bin/bash
- -ec
- |
find {{ .Values.master.persistence.path }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs chown -R {{ printf "%d:%d" (int .Values.master.containerSecurityContext.runAsUser) (int .Values.master.podSecurityContext.fsGroup) }}
find {{ .Values.master.persistence.mountPath }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs -r chown -R {{ printf "%d:%d" (int .Values.master.containerSecurityContext.runAsUser) (int .Values.master.podSecurityContext.fsGroup) }}
{{- if .Values.volumePermissions.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.volumePermissions.containerSecurityContext "context" $) | nindent 12 }}
{{- end }}

View File

@@ -97,7 +97,7 @@ spec:
- /bin/bash
- -ec
- |
find {{ .Values.replica.persistence.path }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs chown -R {{ printf "%d:%d" (int .Values.replica.containerSecurityContext.runAsUser) (int .Values.replica.podSecurityContext.fsGroup) }}
find {{ .Values.replica.persistence.mountPath }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs -r chown -R {{ printf "%d:%d" (int .Values.replica.containerSecurityContext.runAsUser) (int .Values.replica.podSecurityContext.fsGroup) }}
{{- if .Values.volumePermissions.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.volumePermissions.containerSecurityContext "context" $) | nindent 12 }}
{{- end }}