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
krriteshguptaa
changed the title
Appset doesn't create apps even in clusters with valid secret
Appset doesn't create apps even in clusters with valid secret when secret is invalid for any one of the clusters
Mar 28, 2025
{"applicationset":{"Namespace":"argocd","Name":"k8s-runtime-appset-all"},"level":"error","msg":"validation error found during application validation: application destination spec is invalid: unable to find destination server: unable to convert cluster secret to cluster object 'cluster-k8s.i.<any-cluster-name-from-list-of-clusters>-20250205103432': invalid character 'b' looking for beginning of object key string","time":"2025-03-28T17:35:59Z"}
Checklist:
argocd version
.Describe the bug
Appset controller is not generating applications for clusters with valid valid secret name , when any other cluster connectivity is broken.
To Reproduce
create a cluster secret with invalid secret data
Expected behavior
the generation should just fail for the cluster whose secret is invalid and not for others.
Screenshots
Version
Logs
https://github.com/argoproj/argo-cd/blob/master/applicationset/utils/clusterUtils.go#L41 , its being caused by this line of the code
The text was updated successfully, but these errors were encountered: