Latest wrangler generates version apiextensions.k8s.io/v1 CRDs which are
compatible with kubernetes 1.22. Required minor adjustments in the
codegen package.
* Clean up TODO comment in OnGkeConfigRemoved
- Cluster delete is handled by WaitClusterRemoveExp which calls
.Delete() on the cluster.
* Clean up ValidateCreateRequest
- Remove TODO - all noted parameters are required to identify a
cluster by its RRN
- Use idiomatic Go error checking
* Fix IPAllocationPolicy
- Don't use ClusterIpv4CidrBlock for NodeIpv4CidrBlock
- Extract nil error to const
- IPAllocationPolicy could be nil if imported
* Uncomment kubernetesVersion nil check
* Remove commented-out validate code
- ValidateCreateRequest is called during
GenerateGkeClusterCreateRequest.
* Remove unused util function
* Add error checking for cluster Get
* Fixup comment and error message spellings
* Cleanup cluster spec initialization
* Remove unnecessary starters from controller init
* Remove check for "currently has update" error
- This error message string isn't applicable to GKE
- Requeuing when the upstream cluster is currently updating is handled
in checkAndUpdate() by checking for the
utils.ClusterStatusReconciling status
* Clean up variables in GenerateGkeClusterCreateRequest
* Rename utils.Parse function to ParseCredential
* Add helm annotation for generated CRD
* Make importCluster function comment accurate
* Move boilerplate.txt to pkg/codegen/