Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions bitnami/seaweedfs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 6.0.1 (2025-08-26)
## 6.0.3 (2025-12-01)

* [bitnami/seaweedfs] :zap: :arrow_up: Update dependency references ([#36196](https://github.com/bitnami/charts/pull/36196))
* [bitnami/seaweedfs] fix chown on volume-permissions (master & volume) ([#36386](https://github.com/bitnami/charts/pull/36386))

## <small>6.0.1 (2025-08-26)</small>

* [bitnami/seaweedfs] :zap: :arrow_up: Update dependency references (#36196) ([add6559](https://github.com/bitnami/charts/commit/add65594ab195e0e9bf4b31d0da7ab75898f4466)), closes [#36196](https://github.com/bitnami/charts/issues/36196)

## 6.0.0 (2025-08-18)

Expand Down
2 changes: 1 addition & 1 deletion bitnami/seaweedfs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ name: seaweedfs
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/seawwedfs
- https://github.com/bitnami/containers/tree/main/bitnami/seaweedfs
version: 6.0.2
version: 6.0.3
3 changes: 2 additions & 1 deletion bitnami/seaweedfs/templates/master/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ spec:
args:
- -ec
- |
find {{ .Values.master.persistence.mountPath }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs chown -R {{ .Values.master.containerSecurityContext.runAsUser }}:{{ .Values.master.podSecurityContext.fsGroup }}
mkdir -p {{ .Values.master.persistence.mountPath }}
chown -R {{ .Values.master.containerSecurityContext.runAsUser }}:{{ .Values.master.podSecurityContext.fsGroup }} {{ .Values.master.persistence.mountPath }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is not needed and we could face issues with special volumes like lost+found and .snapshot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally agree, i've removed the find command

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The line not needed was the chown, not the find. I've just created a follow up for this PR #36397

{{- if .Values.volumePermissions.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.volumePermissions.containerSecurityContext "context" $) | nindent 12 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion bitnami/seaweedfs/templates/volume/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
- |
{{- $chown := printf "%d:%d" (int .Values.volume.containerSecurityContext.runAsUser) (int .Values.volume.podSecurityContext.fsGroup) }}
{{- range .Values.volume.dataVolumes }}
find {{ .mountPath }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs chown -R {{ $chown }}
find {{ .mountPath }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs -r chown -R {{ $chown }}
{{- end }}
{{- if .Values.volumePermissions.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.volumePermissions.containerSecurityContext "context" $) | nindent 12 }}
Expand Down
Loading