Skip to content

Commit

Permalink
Merge branch 'master' into common-exec-error-handling
Browse files Browse the repository at this point in the history
  • Loading branch information
e-sumin authored Dec 1, 2023
2 parents 1e0dc7f + c07784b commit af8489a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions build/minio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,24 @@ set -o nounset

# Default bucket name
S3_BUCKET="tests.kanister.io"
MINIO_CHART_VERSION="8.0.0"
MINIO_CHART_VERSION="5.0.14"

install_minio ()
{
echo "Deploying minio..."
# Add minio helm repo
helm repo add minio https://helm.min.io/
helm repo add minio https://charts.min.io/
helm repo update

# create minio namespace
kubectl create ns minio

# deploy minio
helm install minio --version ${MINIO_CHART_VERSION} --namespace minio \
--set defaultBucket.enabled=true,defaultBucket.name=${S3_BUCKET} \
--set environment.MINIO_SSE_AUTO_ENCRYPTION=on \
--set environment.MINIO_SSE_MASTER_KEY=my-minio-key:feb5bb6c5cf851e21dbc0376ca81012a9edc4ca0ceeb9df5064ccba2991ae9de \
--set accessKey="AKIAIOSFODNN7EXAMPLE",secretKey="wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \
--set resources.requests.memory=200Mi \
--set resources.requests.memory=512Mi --set replicas=1 \
--set persistence.enabled=false --set mode=standalone \
--set buckets[0].name=${S3_BUCKET} \
--set rootUser=AKIAIOSFODNN7EXAMPLE,rootPassword=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY \
minio/minio --wait --timeout 3m

# export default creds for minio
Expand Down

0 comments on commit af8489a

Please sign in to comment.