cluster-api-provider-kubevirt icon indicating copy to clipboard operation
cluster-api-provider-kubevirt copied to clipboard

KubevirtClusterTemplate should not be immutable

Open changjjjjjjj opened this issue 5 months ago • 0 comments

What steps did you take and what happened: [A clear and concise description on how to REPRODUCE the bug.]

When using Cluster Topology, capi controller tries to add ownerReference to capk template resources. As kubevirtClusterTemplate is set to be immutable, code, capi controller keep printing out error.

What did you expect to happen:

I think KubevirtClusterTemplate should not be all immutable but only spec be immutable

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api version: v1.8.3
  • Cluster-api-provider-kubevirt version: v0.1.9
  • Kubernetes version: (use kubectl version):
  • KubeVirt version:
  • OS (e.g. from /etc/os-release):

/kind bug [One or more /area label. See https://github.com/kubernetes-sigs/cluster-api-provider-kubevirt/labels?q=area for the list of labels]

changjjjjjjj avatar Sep 24 '24 02:09 changjjjjjjj