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
When controller.resource.health.persist is set to false in argocd-cmd-params-cm.yaml, resources that are missing do not get the "missing" health status, both in the ArgoCD ui and in the application custom resource in k8s
To Reproduce
Have some application with a missing resource
Change controller.resource.health.persist to false in argocd-cmd-params-cm.yaml
Restart the application controller
Hard refresh an application with the missing resources
You will not see the missing health status
Expected behavior
The Health of the resource will be "missing"
Screenshots
controller.resource.health.persist set to "true":
controller.resource.health.persist set to "false":
It looks like the controller doesn't persist the health when the resource is missing and on top of that some resources don't get a health persisted at all.
Checklist:
argocd version
.Describe the bug
When
controller.resource.health.persist
is set tofalse
in argocd-cmd-params-cm.yaml, resources that are missing do not get the "missing" health status, both in the ArgoCD ui and in the application custom resource in k8sTo Reproduce
controller.resource.health.persist
tofalse
in argocd-cmd-params-cm.yamlYou will not see the missing health status
Expected behavior
The Health of the resource will be "missing"
Screenshots
controller.resource.health.persist set to "true":

controller.resource.health.persist set to "false":

Version
argocd: v2.13.1+af54ef8 BuildDate: 2024-11-20T16:54:29Z GitCommit: af54ef8db5adfa77a08d4d05b1318a2198084c22 GitTreeState: clean GoVersion: go1.22.9 Compiler: gc Platform: darwin/arm64 argocd-server: v2.14.1+3345d05 BuildDate: 2025-02-03T21:23:31Z GitCommit: 3345d05a43d8edd7ec42ec71ffe8b5f95bc68dbe GitTreeState: clean GoVersion: go1.23.3 Compiler: gc Platform: linux/amd64 Kustomize Version: v5.4.3 2024-07-19T16:40:33Z Helm Version: v3.16.3+gcfd0749 Kubectl Version: v0.31.0 Jsonnet Version: v0.20.0```
The text was updated successfully, but these errors were encountered: