Files
cozystack/api
Ivan Okhotnikov 3c204ca251 fix(kubernetes-nodes): immutable cluster/storageClass, validate pool version vs parent
Address review on #3315:
- Mark cluster and storageClass immutable (self == oldSelf): both feed object
  names / the KubevirtMachineTemplate content hash, so editing them on a live
  pool would rename everything and delete the running worker VMs.
- Validate the pool's Kubernetes minor against the parent cluster's
  KamajiControlPlane at render (skipped offline / when the parent is absent),
  so a pool created after the split cannot join workers ahead of the apiserver.
- Note in the snapshot suite header that the instancetype-sized default is not
  pinned offline (lookup nil); the e2e exercises it.

Signed-off-by: Ivan Okhotnikov <xorokhotnikov@gmail.com>
2026-07-21 22:57:22 +03:00
..