Closed justinas-b closed 2 months ago
Going by the code of the webhook, the likely culprit is a missing Network spec in your proxmoxmachinetemplate. Indeed, that's a bug (actually two bugs), we should check network to not be null before dereferencing it in the webhook, and we should ship a complete template.
I have written the fix for this: https://github.com/ionos-cloud/cluster-api-provider-proxmox/pull/264
What steps did you take and what happened:
If i use
--flavor cilium
when generating new cluster,ProxmoxMachineTemplate
resources get misconfigured:It seems that these resources are missing
spec.template.spec.disks.bootVolume
key, which is precent if no flavour is set or if--flavor calico
is used:This causes below panic to occur: