-
Notifications
You must be signed in to change notification settings - Fork 5.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
ArgoCD ignores every "enabled" in values.yaml file other than "global.enabled" when including Hashicorp Vault in ArgoCD #21399
Comments
Without knowing the setup of your helm chart, it sounds like you have a parent chart with some subcharts. Eg, if you perform a |
I performed a helm template and got every object depicted in the first picture plus a server-test.yaml. This is different from my vault application present in kubernetes where eg. I disabled the injector agent. As for subcharts, I created a basic chart in my repository that points to a second repo where the true helm chart is located. This is the basic chart:
The true helm chart is the one provided by hashicorp. I did not change anything in it, but I will still put it down here:
|
Got it so you need to follow how to override subchart values - https://helm.sh/docs/chart_template_guide/subcharts_and_globals/#overriding-values-from-a-parent-chart. To set a value in the subchart you would need to do |
I solved the issue: I indented everything besides the "global" part by two spaces and put "vault:" at the top in the values.yaml file next to my basic chart. |
Checklist:
argocd version
.Describe the bug
When I create an application in ArgoCD to manage my vault in Kubernetes and refer to my edited values.yaml file, it only recognizes global.enabled while ignoring every other enabled configuration.
To Reproduce
Expected behavior
ArgoCD prioritizes the values of the "enabled" keys and only defaults to "global.enabled" if the value is "-".
Screenshots
There i configured "global.enabled" to true and "injector.enabled" to false.
This is the result of "global.enabled" to false and "server.enabled" to true
Version
helm version of vault: 0.29.1
ArgoCD: v2.12.1
helm in ArgoCD: v3.15.2
helm (Client): v3.16.3
The text was updated successfully, but these errors were encountered: