Skip to content

Commit

Permalink
Try fs format from init container
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasskeidsvoll committed Mar 6, 2024
1 parent 6b206f9 commit 1f30eba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion repos/testing/minio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ maintainers:
email: [email protected]
home: https://minio.io/
icon: https://secure.gravatar.com/avatar/2a5ff6e3cc19dfd93b2e9e5c790449d3.jpg
version: 1.0.18
version: 1.0.19
keywords:
- File sharing
- Cloud storage
2 changes: 1 addition & 1 deletion repos/testing/minio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
- /bin/sh
- -c
- -x
- "mkdir -p /mnt/{{ .Values.persistentStorage.existingClaimName }}/.tools/{{ template "fullname" . }} && chmod g+w /mnt/{{ .Values.persistentStorage.existingClaimName }}/.tools"
- "mkdir -p /mnt/{{ .Values.persistentStorage.existingClaimName }}/.tools/{{ template "fullname" . }} /mnt/{{ .Values.persistentStorage.existingClaimName }}/.minio.sys && chmod g+w /mnt/{{ .Values.persistentStorage.existingClaimName }}/.tools /mnt/{{ .Values.persistentStorage.existingClaimName }}/.minio.sys && printf '{"version":"1","format":"fs","id":"avoid-going-into-snsd-mode-legacy-is-fine-with-me","fs":{"version":"2"}}' | cat > /mnt/{{ .Values.persistentStorage.existingClaimName }}/.minio.sys/format.json"
volumeMounts:
- name: {{ .Values.persistentStorage.existingClaimName }}
mountPath: /mnt/{{ .Values.persistentStorage.existingClaimName }}
Expand Down
2 changes: 1 addition & 1 deletion repos/testing/minio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ appstore_generated_data:
advanced:
rootUser: "rootuserexample"
rootPassword: "rootpasswordexample"
dockerImage: sigma2as/minio:20240305-556775d
dockerImage: sigma2as/minio:20240306-3a2e4f5

0 comments on commit 1f30eba

Please sign in to comment.