Skip to content

Commit 5a3b60b

Browse files
committed
fix: minio
1 parent 780fc2e commit 5a3b60b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/minio/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

44
resources:
5-
- https://github.com/redhat-na-ssa/demo-ai-gitops-catalog/components/app-configs/minio/overlays/known-password?ref=main
5+
- https://github.com/redhat-na-ssa/demo-ai-gitops-catalog/components/app-configs/minio/overlays/known-password?ref=v0.19
66

77
patches:
88
- target:

components/pipelines/scripts/functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ download_mc(){
4040
minio_setup_client(){
4141
echo "Setting up MinIO Client..."
4242
which mc 2>/dev/null || download_mc || return
43-
mc --insecure --config-dir "${MINIO_CFG}" config host \
44-
add "${MINIO_REMOTE}" "${MINIO_ENDPOINT}" "${MINIO_ACCESSKEY}" "${MINIO_SECRETKEY}"
43+
mc --insecure --config-dir "${MINIO_CFG}" alias \
44+
set "${MINIO_REMOTE}" "${MINIO_ENDPOINT}" "${MINIO_ACCESSKEY}" "${MINIO_SECRETKEY}"
4545
chmod g+rwx -R "${MINIO_CFG}"
4646
}
4747

0 commit comments

Comments
 (0)