Skip to content

[Backport release_9.1.1] Fix network status update failure with Server-Side Apply#315

Merged
heypnus merged 1 commit into
vmware:release_9.1.1from
xh013325:release_9.1.1
Jul 16, 2026
Merged

[Backport release_9.1.1] Fix network status update failure with Server-Side Apply#315
heypnus merged 1 commit into
vmware:release_9.1.1from
xh013325:release_9.1.1

Conversation

@xh013325

Copy link
Copy Markdown
Contributor

Summary

This is a backport of #314 to the release_9.1.1 branch.

  • Clear server-managed metadata fields (managedFields, resourceVersion, and uid) from the unstructured Network object before applying it.
  • This prevents the Kubernetes API server from rejecting the Server-Side Apply request with a "metadata.managedFields must be nil" error.

Test plan

  • Backport cleanly applied via cherry-pick.

Made with Cursor

Clear server-managed metadata fields (managedFields, resourceVersion, and uid) from the unstructured Network object before applying it. This prevents the Kubernetes API server from rejecting the Server-Side Apply request with a "metadata.managedFields must be nil" error.

Co-authored-by: Cursor <cursoragent@cursor.com>
@heypnus
heypnus merged commit 4b6853a into vmware:release_9.1.1 Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants