-
Notifications
You must be signed in to change notification settings - Fork 267
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
Removing values in the YAML editor during chart installation sends null
values to the backend
#13164
Comments
Just ruling something out, can you confirm the chart/app version that's installed why you use the cli? Intrigued about their docs too, the steps should be able to be shorted to do |
null
values to the backend
@richard-cox Sorry, I think I should've captured the issue better in the description. I just updated the issue to reflect the main problem being discussed on the jira ticket. I discussed this with @nwmac , and will also talk to @kwwii about the best possible UX solution.
I'm not sure if I understand the question correctly
do you mean that if you run the below command in the target namespace, you won't need to add the pullSecrets manually for each chart installation?
|
Thanks for clarifying
Fixed typo
Interesting. I meant that in the create repo wizard the user can supply a secret to auth with the repo. Looking back that isn't applicable. There's definitely a UX gap here though, specifically if all app collection charts require the pull secret chart value? |
I used the command that was mentioned on the jira ticket which installs the latest(2.1.2):
yes, as far as I know the pull secret is required Update: I asked Rohit from the Mapps team, and confirmed that pull secret is required for installing any apps from AppCo |
@kwwii I created an ux issue for tracking. |
Internal Reference: SURE-8554
Describe the bug
During a chart installation you have the option to alter the configuration by using the YAML editor. Since UI will send only the altered values to the backend, if you remove a value the UI will send it as
null
. But the helm cli works differently when you provide a local values file, the settings configured in the file are merged with the default values, anything that is not set, does not alter the defaults.Here is an example of the values that would be sent to the backend, if you add a value like
pullSecrets
:But if you remove everything else and only send the image
pullSecrets
the payload will look like this:To Reproduce
Result
Null values gets sent along with the new values.
Expected Result
Only the altered values should be sent(global object is expected to be sent when it's a chart from appco)
Additional context
As a workaround, delete the failed deployment and revert to using helm cli
The text was updated successfully, but these errors were encountered: