bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.92k stars 9.18k forks source link

[bitnami/minio] Adding existingSecret causes failure #29775

Open saberima opened 1 week ago

saberima commented 1 week ago

Name and Version

bitnami/minio 14.7.15

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. the kubernetes minio namespace has a secret object with two keys: root-user and root-password.
  2. runnig the following command:
    helm install minio bitnami/minio \
    --namespace minio \
    --create-namespace \
    --set persistence.existingClaim=minio-pvc \
    --set nodeSelector."kubernetes\.io/hostname"=kube-worker-04 \
    --set resources.requests.memory=8Gi \
    --set auth.existingSecret=minio-secret \
    --set satefulset.replicaCount=1

installs the chart. but the created pod fails to run continuously.

but if i don't set the option auth.existingSecret, then everything is fine and the service starts correctly.

Are you using any custom parameters or values?

No response

What is the expected behavior?

No response

What do you see instead?

 07:58:50.45 INFO  ==> 
 07:58:50.46 INFO  ==> Welcome to the Bitnami minio container
 07:58:50.46 INFO  ==> Subscribe to project updates by watching https://github.com/bitnami/containers
 07:58:50.47 INFO  ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
 07:58:50.47 INFO  ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
 07:58:50.47 INFO  ==> 
 07:58:50.48 INFO  ==> ** Starting MinIO setup **
minio 07:58:50.56 INFO  ==> Starting MinIO in background...
minio 07:58:55.64 INFO  ==> Adding local Minio host to 'mc' configuration...
minio 07:59:00.73 INFO  ==> Adding local Minio host to 'mc' configuration...
minio 07:59:05.83 INFO  ==> Adding local Minio host to 'mc' configuration...
minio 07:59:10.93 INFO  ==> Adding local Minio host to 'mc' configuration...
minio 07:59:16.03 INFO  ==> Adding local Minio host to 'mc' configuration...
minio 07:59:21.12 INFO  ==> Adding local Minio host to 'mc' configuration...
minio 07:59:26.22 INFO  ==> Adding local Minio host to 'mc' configuration...
minio 07:59:31.32 INFO  ==> Adding local Minio host to 'mc' configuration...
minio 07:59:36.42 INFO  ==> Adding local Minio host to 'mc' configuration...
minio 07:59:41.52 INFO  ==> Adding local Minio host to 'mc' configuration...
minio 07:59:46.62 INFO  ==> Adding local Minio host to 'mc' configuration...
minio 07:59:51.71 INFO  ==> Adding local Minio host to 'mc' configuration...
Failed to add temporary MinIO server
minio 07:59:56.88 INFO  ==> MinIO is already stopped...

Additional information

No response

javsalgar commented 4 days ago

Hi!

Could you deploy the chart with image.debug=true to see if there is more meaningful information on the error?