Skip to content

Commit

Permalink
Update minio helm chart link (#2502)
Browse files Browse the repository at this point in the history
* Update minio helm chart link

* Update minio helm chart params

Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com>

---------

Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com>
  • Loading branch information
PrasadG193 committed Dec 1, 2023
1 parent 49c265a commit c07784b
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 c07784b

Please sign in to comment.