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

Helm Values form discards variables with value "null" #8022

Open
ibonder opened this issue Feb 28, 2024 · 0 comments
Open

Helm Values form discards variables with value "null" #8022

ibonder opened this issue Feb 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ibonder
Copy link

ibonder commented Feb 28, 2024

Describe the bug

Helm Values with specified "null" value are missing from Values form in Release UI, moreover they are not propagated when you press "Save" button after editing the Values from GUI

To Reproduce

  1. Let's say, you have a Helm Values, where you have set some value to "null" to avoid it getting a default.
    In my case Helm Chart was a elasticsearch-7.17.3
$ helm get values elasticsearch
USER-SUPPLIED VALUES:
ingress:
  className: null
  1. Deploy it as usual using helm install or any pipeline you have
  2. Using Lens, go to Helm -> Releases
  3. Click on your Release
  4. On the right hand you will see the Values form. If you look into the values in it - there will be no null'ed value shown

Expected behavior

I expected the output of helm get values <my-chart> command to be the same as what is displayed in the Values form in a Release details menu

Environment (please complete the following information):

  • Lens Version: 2024.1.300751-latest
  • OS: macOS Sonoma 14.3.1
  • Installation method: .dmg package
@ibonder ibonder added the bug Something isn't working label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant