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

GCPManagedControlPlane changes to support various GKE features

Open dantiandb opened this issue 2 years ago • 11 comments
trafficstars

What type of PR is this? /kind feature

What this PR does / why we need it: There's multiple features provided by GKE and supported by contaienrpb that CAPG should also support for (more) completeness of its managed K8s support.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes https://github.com/kubernetes-sigs/cluster-api-provider-gcp/issues/1023

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

TODOs:

  • [x] squashed commits
  • [x] includes documentation
  • [x] adds unit tests

Release note:

Add support for the following features for GKE clusters as defined in https://pkg.go.dev/cloud.google.com/go/container/apiv1/containerpb#Cluster
- ClusterIpv4Cidr
- AddonsConfig
  - DnsCacheConfig
  - GcePersistentDiskCsiDriverConfig
- ResourceLabels
- IPAllocationPolicy
   - UseIpAliases
   - ClusterSecondaryRangeName
   - ServicesSecondaryRangeName
   - ClusterIpv4CidrBlock
   - ServicesIpv4CidrBlock
- MaintenancePolicy
- NetworkConfig
   - DnsConfig
   - DatapathProvider
- DefaultMaxPodsConstraint
- PrivateClusterConfig
- ShieldedNodes
- WorkloadIdentityConfig
- LoggingConfig

dantiandb avatar Sep 22 '23 18:09 dantiandb