-
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
Changes in values file are not reflected in deployed argocd helm app #2450
Comments
Hi @h4tt3n configs:
params:
server.insecure: true I get the result like below. # Source: argo-cd/templates/argocd-configs/argocd-cmd-params-cm.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cmd-params-cm
namespace: "default"
labels:
helm.sh/chart: argo-cd-5.53.8
app.kubernetes.io/name: argocd-cmd-params-cm
app.kubernetes.io/instance: release-name
app.kubernetes.io/component: server
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/part-of: argocd
app.kubernetes.io/version: "v2.9.5"
data:
# ...
server.insecure: "true"
# ... |
Hi @yu-croco, Added the below parameter to my argocd helm app:
This resulted in two different insecure parameters showing up in the helm values file:
So I changed the parameter to
Don't know what to make of it, but it appers ArgoCD still terminates tls, so I can't access the admin panel via ingress without getting ERR_TOO_MANY_REDIRECTS. Cheers, Mike |
Hi @h4tt3n , thank you for your info. I wonder why you try to set
Does this help you? 👀 |
Hi @yu-croco I have just recently migrated from argocd deployment to helm and I'm still a bit unfamiliar with the syntax, hence the wrong setting. However, it still remains that changing server.insecure in the values.yaml file is not reflected in the parameters tab of the helm app and does not appear to have any effect on the app. Cheers, Mike |
Do you mean that below (you shared earlier) doesn't work as expected, which means the result of manifest is spec:
sources:
helm:
parameters:
- name: configs.params.server.insecure
value: "true" If yes, then I wonder this is because of your environment condition because helm template works well #2450 (comment) . 🤔 |
It does work, and the change is reflected in the parameters tab and the argocd-cmd-params-cm.yaml. However, one of the main advantages of using Helm is the ability to set parameters in the values.yaml file, and this does not appear to work, as described above. This is why I submitted the bug. Having a helm values file that doesn't work seems to defeat the purpose of using Helm in the first place. |
Ah I thought that it point was about
Do you mean that you are talking about Multiple Sources for an Application, not argo-helm itself? |
No, the bug is really about one simple thing only: Setting the already defined |
I wonder Argo CD server needs to be restarted to read latest config map...? |
Maybe unrelated to your problem but if you are passing the argument as stated in YAML above it's probably not working as spec:
sources:
helm:
parameters:
- name: configs.params.server.insecure
value: "true" above translates to: configs:
params:
server:
insecure: "true" compared to this: spec:
sources:
helm:
parameters:
- name: configs.params."server.insecure"
value: "true" that translates to: configs:
params:
server.insecure: "true" |
Describe the bug
In the helm values file I have changed
params:server.insecure
from false to true in order to handle tls termination with the ingress controller (Ambassador edge stack). Not doing so causes the infamouts too many redirects error. But when inspecting the values in the ArgoCD UI,configs.params.server.insecure
is still set to false. The change in the values file was made before initial helm install, so it can't be a sync or refresh issue. But in the argocd-cmd-params-cm ConfigMap, server.insecure: is 'true'.The main issue of course is that without being able to set server.insecure to true, I can't get ingress working properly (Ambassador edge stack)
Related helm chart
argo-cd
Helm chart version
5.53.0
To Reproduce
params:server.insecure: true
configs.params.server.insecure
fieldExpected behavior
Server.insecure is set to true.
Screenshots
No response
Additional context
ArgoCD Helm app
The text was updated successfully, but these errors were encountered: