add ServerSideDiff=true to bypass incomingAuth.oidc schema error
ArgoCD's client-side structured merge diff fails on VirtualMCPServer resources that use spec.incomingAuth.oidc because the CRD schema does not declare that subfield. ServerSideDiff=true switches diff computation to a server-side dry-run which handles preserved-unknown-fields correctly. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
@@ -60,3 +60,6 @@ spec:
|
|||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
# CRD schemas are large; SSA avoids the last-applied-config annotation limit.
|
# CRD schemas are large; SSA avoids the last-applied-config annotation limit.
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
|
# Use server-side dry-run for diff computation to bypass CRD schema
|
||||||
|
# validation errors on fields marked x-kubernetes-preserve-unknown-fields.
|
||||||
|
- ServerSideDiff=true
|
||||||
|
|||||||
Reference in New Issue
Block a user