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:
2026-06-15 13:03:54 +00:00
co-authored by Claude Sonnet 4.6
parent 457d042569
commit 50fdec56cb
+3
View File
@@ -60,3 +60,6 @@ spec:
- CreateNamespace=true
# CRD schemas are large; SSA avoids the last-applied-config annotation limit.
- 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