You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on the bumpy road to upgrade from 5.0.16 to 6.0.3. After having understood by reading some of the issues and discussions here how to use the existingSecret setting and how to migrate from .secrets.name to using .configSecret correctly, I found that in version 6.0.3 of the Helm Chart there is no possibility to use an existing secret anymore. A grep -R existing in the templates directory of the chart does output nothing at all.
Expected Behavior
with the values.yaml setting .configSecret.existingSecret=true one can provide an environment secret containing a key config.env which then contains export statements to set MINIO_ROOT_USER, MINIO_ROOT_PASSWORD and others such as prometheus related vars, compression settings etc.
Current Behavior
.configSecret.name is being tried to create anyways, even if already existing. Worse than that, the helm chart tries to OVERWRITE it and thus tries to delete the settings I might have set there for a reason.
Possible Solution
With commit 1792dfd this has been introduced, but with 3a8695b it was (accidently?) removed again. Revert or rework the ladder of the commits?
Steps to Reproduce (for bugs)
Try to set up a MinIO tenant with an existing env variable secret and set both .configSecret.name and .configSecret.existingSecret: True and find out that you run into an ugly error message that the resource can not be imported into the current release....
Regression
Is this issue a regression? I believe yes
If Yes, optionally please include minio-operator version caused the regression: 6.0.3
Your Environment
Version used (minio-operator): 6.0.3
Environment name and version (e.g. kubernetes v1.17.2): K8S (RKE2) v1.28.8
Server type and version: RHEL 8
Operating System and version (uname -a): irrelevant
Link to your deployment file: irrelevant
The text was updated successfully, but these errors were encountered:
I am on the bumpy road to upgrade from 5.0.16 to 6.0.3. After having understood by reading some of the issues and discussions here how to use the
existingSecret
setting and how to migrate from.secrets.name
to using.configSecret
correctly, I found that in version 6.0.3 of the Helm Chart there is no possibility to use an existing secret anymore. Agrep -R existing
in thetemplates
directory of the chart does output nothing at all.Expected Behavior
with the values.yaml setting
.configSecret.existingSecret=true
one can provide an environment secret containing a keyconfig.env
which then containsexport
statements to setMINIO_ROOT_USER
,MINIO_ROOT_PASSWORD
and others such as prometheus related vars, compression settings etc.Current Behavior
.configSecret.name
is being tried to create anyways, even if already existing. Worse than that, the helm chart tries to OVERWRITE it and thus tries to delete the settings I might have set there for a reason.Possible Solution
With commit 1792dfd this has been introduced, but with 3a8695b it was (accidently?) removed again. Revert or rework the ladder of the commits?
Steps to Reproduce (for bugs)
Try to set up a MinIO tenant with an existing env variable secret and set both
.configSecret.name
and.configSecret.existingSecret: True
and find out that you run into an ugly error message that the resource can not be imported into the current release....Regression
Is this issue a regression? I believe yes
If Yes, optionally please include minio-operator version caused the regression: 6.0.3
Your Environment
minio-operator
): 6.0.3uname -a
): irrelevantThe text was updated successfully, but these errors were encountered: