We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ab8723 commit 98308d5Copy full SHA for 98308d5
addons/minio/templates/cmpd.yaml
@@ -122,7 +122,9 @@ spec:
122
- /bin/sh
123
- -c
124
- |
125
- if mc config host add minio http://127.0.0.1:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD &>/dev/null; then
+ # Set alias and check MinIO readiness using mc command
126
+ mc alias set local http://127.0.0.1:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD >/dev/null 2>&1
127
+ if mc admin info local >/dev/null 2>&1; then
128
echo -n "readwrite"
129
else
130
echo -n "notready"
0 commit comments