-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 default key in a subchart #6635
Comments
@kovayur Are you able to pull the dependent helm chart into the operator project? In the sense, is it available locally inside the We have seen some issues in the past, where users were not able to fetch the dependencies after running the init command. Hence, just wanted to check this step first to see the setup of dependencies is successful? |
Hi @varshaprasad96 , Yes, I pull the dependencies during the docker build.
|
@varshaprasad96 According to the release notes this is fixed in version 3.13.1.
I tested it on 3.13.2. |
Looks like the version of helm we are using is still 3.12.1: Line 36 in 8721645
We should be bumping to 3.13+ with a k8s 1.28 update which is underway. Hopefully that would fix the issue. Meanwhile, could you please try bumping the helm version alone to 3.13+ and build the helm image locally to test? There have not been many breaking changes on the k8s client between the 2 minor k8s versions. Keeping the other deps same (especially controller-runtime), and trying to build the binary with updated helm could help verify if this needs just the helm update. |
/assign |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
I see that the helm version has already been updated. I'll try to re-test on the latest version. |
Can't test on 1.34.[0-2] because of the reconcilation issue #6690 |
Successfully tested on v1.36.0 |
Bug Report
Hi,
I have a situation when I need to delete a default key from a dependent subchart in my main chart by setting it to
null
as described here. In other words, set the value in the rootvalues.yaml
tonull
to override the default value in the subchart I'm loading as a dependency.More specifically, this configuration is required to install the External Secrets Operator (sub)chart on OpenShift: external-secrets/external-secrets#2342
It works with
helm upgrade
but doesn't work if I bundle the chart inside an operator.I tried to set the
null
values in the CR but it didn't work either. I also tried to set value overrides inwatches.yaml
, but in my case it failed with a string type conversion error.There was a bug in helm that prevented this behavior, but it has been fixed in recent versions (I'm using 3.13.2). Perhaps, a helm version bump could solve the problem.
What did you do?
Set the value in the root
values.yaml
tonull
to override the default value in the subchart I'm loading as a dependency.What did you expect to see?
The default value is deleted
What did you see instead? Under which circumstances?
The default value of the subchart is present
Environment
Operator type:
/language helm
Kubernetes cluster type:
OpenShift
$ operator-sdk version
v1.32.0
Possible Solution
Bump helm version
The text was updated successfully, but these errors were encountered: