You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method Helm.GetParameterValueByName() inside a notification template is returning incorrect values. The default value in values.yaml is getting returned, rather then the override value specified in .argocd-source-myapp.yaml.
We have the same issue above! Not able to get the parameter values from the argo-source files created when using git write-back. Would have been helpful in our notifications!
In the UI you can see proper values because it returns from get application API call, but when this expression is resolving it executes /appdetails api call, which return original values only without overrides,
Behavior should be same as in UI, first check overrides and after check from chart itself. I am starting work on solution for it
Checklist:
argocd version
.Describe the bug
Method
Helm.GetParameterValueByName()
inside a notification template is returning incorrect values. The default value invalues.yaml
is getting returned, rather then the override value specified in.argocd-source-myapp.yaml
.To Reproduce
v2.6.7
with a notification template like the following(Chart.yaml)
(values.yaml)
.argocd-source-myapp.yaml
override file(.argocd-source-myapp.yaml)
stable-alpine
notspecified
Expected behavior
I expected the notification to show tag
stable-alpine
Screenshots
N/A
Version
argocd@argo-cd-argocd-server-5fd8775f84-lzxm2:~$ argocd version argocd: v2.6.7+5bcd846 BuildDate: 2023-03-23T14:57:27Z GitCommit: 5bcd846fa16e4b19d8f477de7da50ec0aef320e5 GitTreeState: clean GoVersion: go1.18.10 Compiler: gc Platform: linux/amd64 FATA[0000] Argo CD server address unspecified
Logs
N/A
The text was updated successfully, but these errors were encountered: