Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update minio helm chart link #2502

Merged
merged 2 commits into from
Dec 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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