Skip to content

Commit

Permalink
Fixed bug where minio crashed when bucket existed (#144)
Browse files Browse the repository at this point in the history
* Minor bugfix
  • Loading branch information
sandstromviktor authored Feb 7, 2024
1 parent 913c6f7 commit 839a56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/apps/minio/chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
sleep 5
mc alias set local http://127.0.0.1:9000 ${MINIO_ROOT_USER} ${MINIO_ROOT_PASSWORD}
mc admin user add local {{ .Values.credentials.access_key }} {{ .Values.credentials.secret_key }}
mc mb local/data-bucket
mc mb local/data-bucket || true
mc admin policy attach local readwrite --user {{ .Values.credentials.access_key }} || true
hostname: {{ .Release.Name }}-minio
restartPolicy: Always
Expand Down

0 comments on commit 839a56e

Please sign in to comment.