cluster-api-provider-gcp
cluster-api-provider-gcp copied to clipboard
Making GCPManagedCluster.Network a required field
/kind bug
What steps did you take and what happened:
As noted in this issue https://github.com/kubernetes-sigs/cluster-api-provider-gcp/issues/1187 here, the Network
field is a required field implicitly, as during the reconcile process of GCPManagedCluster, requires the presence of this field.
What we could potentially do here based on this discussion https://github.com/kubernetes-sigs/cluster-api-provider-gcp/pull/1259#issuecomment-2167480985 is to make it a required field either in v1beta1
or v1beta2
What did you expect to happen:
GCPManagedCluster.Network
becomes a required field.
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
reference PR which fixes the controller crashing. https://github.com/kubernetes-sigs/cluster-api-provider-gcp/pull/1259
Environment:
- Cluster-api version:
- Minikube/KIND version:
- Kubernetes version: (use
kubectl version
): - OS (e.g. from
/etc/os-release
):