We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Setting tenant.configSecret.existingConfiguration to true has no effect.
tenant.configSecret.existingConfiguration
true
The default myminio-env-configuration should not be created if the existingConfiguration parameter is true
myminio-env-configuration
existingConfiguration
The default myminio-env-configuration is created.
Add an if condition to create the secret unless the parameter is set.
if
cat > values.yaml <<EOF tenant: configuration: name: custom-minio-env configSecret: name: custom-minio-env existingSecret: true EOF
helm install \ -n minio --create-namespace \ --values values.yaml \ minio-test minio-operator/tenant \ --dry-run
You can see that the Secret is part of the output:
Secret
# Source: tenant/templates/tenant-configuration.yaml apiVersion: v1 kind: Secret metadata: name: custom-minio-env type: Opaque stringData: config.env: |- export MINIO_ROOT_USER="minio" export MINIO_ROOT_PASSWORD="minio123"
Providing a custom preexisting secret.
Regression from #2265
minio-operator
6.0.3
The text was updated successfully, but these errors were encountered:
Duplicate of #2298.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Setting
tenant.configSecret.existingConfiguration
totrue
has no effect.Expected Behavior
The default
myminio-env-configuration
should not be created if theexistingConfiguration
parameter istrue
Current Behavior
The default
myminio-env-configuration
is created.Possible Solution
Add an
if
condition to create the secret unless the parameter is set.Steps to Reproduce (for bugs)
You can see that the
Secret
is part of the output:Context
Providing a custom preexisting secret.
Regression
Regression from #2265
Your Environment
minio-operator
):6.0.3
The text was updated successfully, but these errors were encountered: