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
Deployed a resource of kind Repository and the resource status is showing as Ready even though there was a failure. As a result, we cannot properly report the health of the resource in the ArgoCD application that created it. While i understand the repo name is URL is incorrect, the managed resource should not show as Ready = True when the external resource is failed
Relevant details from the resource status and conditions:
Note for anyone interested, the ArgoCD Health-check can be adapted by including this kind of check. However, I still believe having reliable conditions is the way to go
-- Shortcut for resources with atProvider state such as repositories.argocd.crossplane.ioifobj.status.atProviderthenifobj.status.atProvider.connectionStatethenifobj.status.atProvider.connectionState.status=="Failed" thenhealth_status.status="Degraded"health_status.message=obj.status.atProvider.connectionState.messagereturnhealth_statusendendend
What happened?
Deployed a resource of kind
Repository
and the resource status is showing as Ready even though there was a failure. As a result, we cannot properly report the health of the resource in the ArgoCD application that created it. While i understand the repo name is URL is incorrect, the managed resource should not show as Ready = True when the external resource is failedRelevant details from the resource status and conditions:
How can we reproduce it?
See the Managed Resource below
What environment did it happen in?
Crossplane version: 1.16
Crossplane Provider argocd version: 0.9.0
The text was updated successfully, but these errors were encountered: