ServerSide Diff failing for CRs when a new field is added to the CRD: field not declared in schema #20458
Open
3 tasks done
Labels
bug
Something isn't working
Checklist:
SImilar to Error: topologySpreadConstraints .matchLabelKeys: field not declared in schema #15176 but for CRD caching
argocd version
.Describe the bug
We are using ArgoCD v2.10.9 to manage several CRDs deployed in our Kubernetes cluster.
Additionally, we have other applications that deploy CRs based on these CRDs through ArgoCD as well.
Whenever a new field is added to an existing CRD, it is successfully applied to the cluster, and all existing CRs are reconciled without issues. However, we encounter the following problem when trying to sync a CR based off this CRD through ArgoCD:
During the serverside diff operation, we receive the following error:
To Reproduce
Expected behavior
The cache to be reset timely when the updated CRD is applied.
Or when a sync is performed on the CR
Version
Logs
Mitigated through
A rollout restart of statefulset seems to fix the issue and the sync on CR goes through
The text was updated successfully, but these errors were encountered: