cluster-api-provider-gcp
cluster-api-provider-gcp copied to clipboard
GCPManagedControlPlane changes to support various GKE features
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