-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Argo-CD: configs.params.server.insecure
not populating argocd-cmd-params-cm
correctly
#1780
Comments
I think we should update our documentation and maybe add some more failure catching. If you want to set this on CLI level, you need to escape the dot: If you want to achieve the same behavior in a YAML-style values, then you need to use: configs:
params:
server.insecure: true |
Ah, right! That makes sense. We rolled this chart out using a separate instance of
|
@mkilchhofer I've tried to improve this but I don't believe this has a simple solution as we are trying to bypass Helm strong typing. When user provides values as config:
params:
# default value
server.insecure: false
# user provided
server:
insecure: true If you flatten such structure you get 2 duplicate keys with different values: config:
params:
server.insecure: false
server.insecure: true So most reasonable would be to just update our documentation. |
How can I get this working with terraform? We're installing the argocd Helm chart with the
Terraform doesn't throw any errors when updating the resource, but the ConfigMap doesn't get updated and still shows |
I don't remember where I found the documentation explaining this escaping, but this it the config we are using successfully: set {
# Run server without TLS
name = "configs.params.server\\.insecure"
value = true
} |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the bug
Setting:
Results in the following
argocd-cmd-params-cm
data entry:instead of
Related helm chart
argo-cd
Helm chart version
5.17.4
To Reproduce
configs.params.server.insecure
to true.argocd-cmd-params-cm
hasserver: <map>
set.Expected behavior
The resultant
argocd-cmd-params-cm
map should haveserver.insecure: true
set, instead of a serialised sub-map underserver
.Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: