File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -50,4 +50,4 @@ name: seaweedfs
5050sources :
5151- https://github.com/bitnami/charts/tree/main/bitnami/seawwedfs
5252- https://github.com/bitnami/containers/tree/main/bitnami/seaweedfs
53- version : 6.0.2
53+ version : 6.0.3
Original file line number Diff line number Diff line change 9292 args :
9393 - -ec
9494 - |
95- 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 }}
95+ mkdir -p {{ .Values.master.persistence.mountPath }}
96+ chown -R {{ .Values.master.containerSecurityContext.runAsUser }}:{{ .Values.master.podSecurityContext.fsGroup }} {{ .Values.master.persistence.mountPath }}
97+ find {{ .Values.master.persistence.mountPath }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs -r chown -R {{ .Values.master.containerSecurityContext.runAsUser }}:{{ .Values.master.podSecurityContext.fsGroup }}
9698 {{- if .Values.volumePermissions.containerSecurityContext.enabled }}
9799 securityContext : {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.volumePermissions.containerSecurityContext "context" $) | nindent 12 }}
98100 {{- end }}
Original file line number Diff line number Diff line change 9494 - |
9595 {{- $chown := printf "%d:%d" (int .Values.volume.containerSecurityContext.runAsUser) (int .Values.volume.podSecurityContext.fsGroup) }}
9696 {{- range .Values.volume.dataVolumes }}
97- find {{ .mountPath }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs chown -R {{ $chown }}
97+ find {{ .mountPath }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs -r chown -R {{ $chown }}
9898 {{- end }}
9999 {{- if .Values.volumePermissions.containerSecurityContext.enabled }}
100100 securityContext : {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.volumePermissions.containerSecurityContext "context" $) | nindent 12 }}
You can’t perform that action at this time.
0 commit comments