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 an endpointslice k8s object is created with no endpoint conditions, the live manifest contains an empty conditions block conditions{}. When performing the diff of live and desired manifests, this empty block is not included in the desired. With autosync and self-heal on, ArgoCD then attempts to remove this block from the live manifest but it is not possible as it is required to be there. Hence, ArgoCD then begins to continuously sync but cannot put the endpointslice into a synced state.
To Reproduce
Create a k8s endpointslice with no conditions defined in the K8s YAML under the endpoints
Deploy this as part of an ArgoCD application
Turn auto-syncing on with self-healing true
Object is out-of-sync and ArgoCD continuously tries to self-heal
I expect to deploy the endpoint slice and it be considered as synced by ArgoCD when it is successfully deployed and there is no conditions block defined in the manifest I deploy.
Screenshots
Example of the issue with an endpoint slice using the google ip address for the example.
Version
v2.8.3+77556d9
The text was updated successfully, but these errors were encountered:
We are also having the same issue with EndpointSlice - can it be prioritized for a fix? We tried adding below to see if that makes any difference but still having the same diff causing out of sync
Checklist:
argocd version
.Describe the bug
When an endpointslice k8s object is created with no endpoint conditions, the live manifest contains an empty conditions block
conditions{}
. When performing the diff of live and desired manifests, this empty block is not included in the desired. With autosync and self-heal on, ArgoCD then attempts to remove this block from the live manifest but it is not possible as it is required to be there. Hence, ArgoCD then begins to continuously sync but cannot put the endpointslice into a synced state.To Reproduce
example:
Expected behavior
I expect to deploy the endpoint slice and it be considered as synced by ArgoCD when it is successfully deployed and there is no conditions block defined in the manifest I deploy.
Screenshots
Example of the issue with an endpoint slice using the google ip address for the example.
Version
The text was updated successfully, but these errors were encountered: