charts icon indicating copy to clipboard operation
charts copied to clipboard

[bitnami/minio] `defaultBuckets` causes errors in `distributed` mode

Open simonhammes opened this issue 1 year ago • 2 comments

Name and Version

bitnami/minio 14.7.2

What architecture are you using?

arm64

What steps will reproduce the bug?

helm upgrade --install minio bitnami/minio --values values.yaml

Are you using any custom parameters or values?

mode: distributed

statefulset.replicaCount: 3

auth:
  rootUser: admin
  rootPassword: super-secure-password

defaultBuckets: files,images

What is the expected behavior?

Pods are healthy

or

an error message appears

(according to the comment in values.yaml, defaultBuckets is only supported in standalone mode, but its value is templated into the StatefulSet in distributed mode and it does not throw an error)

What do you see instead?

Pods are constantly crashing

Expected MINIO_* environment name and values across all servers to be same
+ a host of other error messages

Additional information

Using the provisioning job works fine :)

Related: https://github.com/bitnami/containers/issues/16846

simonhammes avatar Aug 26 '24 20:08 simonhammes

I can submit a PR if raising an error message is the way to go

simonhammes avatar Aug 26 '24 20:08 simonhammes

Hi!

Thank you so much for the report. Indeed, if the chart is not supporting defaultBuckets in that scenario, I believe that an error message is the way to go. If you provide a PR we will really appreciate it :D

javsalgar avatar Aug 27 '24 07:08 javsalgar

@javsalgar Thank you, I've created a PR: #29141

simonhammes avatar Aug 31 '24 09:08 simonhammes

Thank you for opening this issue and submitting the associated Pull Request. Our team will review and provide feedback. Once the PR is merged, the issue will automatically close.

Your contribution is greatly appreciated!

carrodher avatar Aug 31 '24 11:08 carrodher