Skip to content

Commit 6909a40

Browse files
committed
use bitnami oci chart for minio
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
1 parent dc79750 commit 6909a40

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

hack/ci/e2e.sh

+6-7
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ CREATE_CLUSTER="${CREATE_CLUSTER:-true}"
66
KIND_CLUSTER_NAME="${KIND_CLUSTER_NAME:-kind}"
77
LOAD_IMG_INTO_KIND="${LOAD_IMG_INTO_KIND:-true}"
88
BUILD_PLATFORM="${BUILD_PLATFORM:-linux/amd64}"
9-
MINIO_HELM_VER="${MINIO_HELM_VER:-v6.3.1}"
10-
# Older tags do not bundle multiple architectures. Newer tags are 5-6 times larger.
11-
MINIO_TAG="${MINIO_TAG:-RELEASE.2020-09-17T04-49-20Z}"
9+
MINIO_HELM_VER="${MINIO_HELM_VER:-12.10.3}"
10+
# Updated the minio image to a more recent version, image size might be bigger
11+
MINIO_TAG="${MINIO_TAG:-2023.11.20}"
1212

1313
IMG=test/source-controller
1414
TAG=latest
@@ -87,12 +87,11 @@ kubectl -n source-system delete -f "${ROOT_DIR}/config/testdata/helmchart-values
8787

8888
echo "Setup Minio"
8989
kubectl create ns minio
90-
helm repo add minio https://helm.min.io/ --force-update
91-
helm upgrade minio minio/minio --wait -i \
90+
helm upgrade minio oci://registry-1.docker.io/bitnamicharts/minio --wait -i \
9291
--version "${MINIO_HELM_VER}" \
9392
--namespace minio \
94-
--set accessKey=myaccesskey \
95-
--set secretKey=mysecretkey \
93+
--set auth.rootUser=myaccesskey \
94+
--set auth.rootPassword=mysecretkey \
9695
--set resources.requests.memory=128Mi \
9796
--set persistence.enable=false \
9897
--set image.tag="${MINIO_TAG}"

0 commit comments

Comments
 (0)