-
Notifications
You must be signed in to change notification settings - Fork 455
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
helm release 6.0.1 can't use .tenant.configSecret #2255
Comments
You should run it with |
@jiuker overwriting defaults in this manner is not supported by helm at all. Once a default value is defined it is always present for dictionary at least. One i use |
IMHO this is a bug. |
Workaround: secrets: ~ |
Expected Behavior
Expectation is, that i can start using .tenant.configSecret on first deployment like in docs:
Current Behavior
The current default value in values.yaml
Results into error:
Error: execution error at (tenant/templates/tenant-configuration.yaml:5:4): ERROR: '.secrets' and '.tenant.configSecret' are mutually exclusive. Please use 'tenant.configSecret' instead.
Possible Solution
Define secrets section to be empty like:
Alternative could be adapting the logic within tenant/templates/tenant-configuration.yaml to use e.g. a priorization like:
Steps to Reproduce (for bugs)
helm template tenant minio/tenant --set tenant.configSecret.name="myminio-env-configuration" --set tenant.configSecret.accessKey="minio" --set tenant.configSecret.secretKey="minio123"
Context
Make use of new secret structure was the goal.
The text was updated successfully, but these errors were encountered: