-
Notifications
You must be signed in to change notification settings - Fork 706
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
How to only use default values when the chart has a custom values file #6564
Comments
Oh - interesting. Yes, we added a feature so that companies can add a custom values file to charts to have those values (merged with the defaults) presented to users, but hadn't anticipated public charts to add custom value files for their own uses. Currently if there is more than one custom value file, we present a drop-down to choose from, but if there is only one, we do not provide any options. Two options I can imagine working into the future:
Any objections to updating this functionality to require the specific filename for Kubeapps to present it as the default? I think that better suits the original use-case for that feature, and ensures we avoid this unexpected behaviour. |
Added the good first issue label as the fix, if agreed as above, should be straight forward and a good intro to the code-base for anyone interested. |
If the specifically named custom file not exists, will kubeapps use default values? |
Yes, that's what I'm proposing: Kubeapps will always display the chart default
|
Excellent! Thank you. |
Summary
The chart has a custom values file, and dashboard only display custom values, but I want to use defaults.
Background and rationale
rook-ceph-cluster added an external custom values file and released rook/rook@3e61efc
kubeapps will merge custom values in this release
https://github.com/vmware-tanzu/kubeapps/releases/tag/v2.6.3
Description
I deployed rook-ceph-cluster with default values via kubeapps. After they added an external custom values file, upgrade form only display custom values, that's leads wrong values.
Deploy new rook-ceph-cluster chart also uses custom values and not usable.
Additional context
I tried rollback to v2.6.0, but when I click into upgrade, shows
An error occurred: Document with errors cannot be stringified.
, it's ok in v2.8.0The text was updated successfully, but these errors were encountered: