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

fix: adding an environment value to enable the ignoring of the name, accessKey and secretKey in configSecret. #2352

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

drew-viles
Copy link

@drew-viles drew-viles commented Oct 30, 2024

In version 6.0.4 the inclusion of this check broke the ability to pass the existingSecret value because the default values provided in the values.yaml file caused the error to trigger. It seems silly to have to provide the following to make it work:

  configSecret:
    name: ""
    accessKey: ""
    secretKey: ""
    existingSecret: true

Now we can presume in dev that the values will be provided in line as per the values file and in prod, they are provided via an existing secret.

There may be a better way than this, but I've rolled this out and it's fixed the problem I had when upgrading to 6.0.4.

…accessKey and secretKey in configSecret.

In version 6.0.4 the inclusion of [this check](https://github.com/minio/operator/pull/2299/files#diff-1320c71ce4251e5e50c3b17c8aee11659e44a7208d1ab8d5c4f68694c02d9e80R20-R25) broke the ability to pass an existing secret because the default values provided in the values.yaml file, caused the error to trigger. Now we can presume in dev that the vluaes will be provided in line and in prod, they are provided via an existing secret.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant