deckhouse / virtualization

Virtualization module for Deckhouse Kubernetes Platform
https://deckhouse.io/modules/virtualization/stable/
Other
25 stars 1 forks source link

chore(core): add comments to prevent accidental adding status subresource #364

Closed diafour closed 2 weeks ago

diafour commented 1 month ago

Description

Why do we need it, and what problem does it solve?

Some resources for KubeVirt and CDI store status field as "main" fields, not as a subresource. Set status to subresource will break update operation for these resources.

What is the expected result?

Checklist

diafour commented 1 month ago

Status field of VMI should not be a subresource. kubevirt updates status field as a part of "main" payload.