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

Deleting a value is not supported in dependencies #12741

Open
Thorndike opened this issue Jan 23, 2024 · 4 comments
Open

Deleting a value is not supported in dependencies #12741

Thorndike opened this issue Jan 23, 2024 · 4 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@Thorndike
Copy link

Output of helm version:
v3.14.0
Output of kubectl version:
v1.20.5
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
vanilla Kubernetes

I found multiple descriptions on how to delete a value in a helm configuration by overriding it with null. This works fine if I use a helm chart directly. In the case that I use a helm chart as a dependency this no longer gives the desired result. I can override the value with different values but no longer delete it by overriding it with null.

@gjenkins8 gjenkins8 added the bug Categorizes issue or PR as related to a bug. label Jan 24, 2024
@gjenkins8
Copy link
Contributor

yes, unfortunately this is a bug. I have been trying to find time for the last few weeks to track it down.

@rptaylor
Copy link

This is yet another duplicate of #12488

@mbaldessari
Copy link

I am hitting some variant of this but not exactly like #12488 (which is slightly different). The problem I am seeing is that keys in subcharts are correctly removed, but not in subsubcharts (my use case is using the gitea helm chart as a dependency. gitea brings in a few other subcharts with it). My full repro with docs is here: https://github.com/mbaldessari/helm-issue/blob/subsubchart/

@zsolt-marta-bitrise
Copy link

Seeing something similar here #12991. I added a minimal example.

Works if we set the dependent object to empty string "" instead of null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

5 participants