From 5e7fc149ad3c9996499eba8c91e9dc2aeee4b6ef Mon Sep 17 00:00:00 2001 From: Cong Yue Date: Wed, 16 Aug 2023 10:49:43 -0700 Subject: [PATCH] fix typo and remove empty line --- ...nfrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanes.yaml | 2 +- exp/api/v1beta1/gcpmanagedcontrolplane_types.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanes.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanes.yaml index d64ac2ba6..b11b5ccfd 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanes.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanes.yaml @@ -92,7 +92,7 @@ spec: which the GKE cluster will be created. type: string master_authorized_networks_config: - description: MasterAuthorizedNetworksConfig repsesents configuration + description: MasterAuthorizedNetworksConfig represents configuration options for master authorized networks feature of the GKE cluster. properties: cidr_blocks: diff --git a/exp/api/v1beta1/gcpmanagedcontrolplane_types.go b/exp/api/v1beta1/gcpmanagedcontrolplane_types.go index a23be2d9b..ed1ea33c5 100644 --- a/exp/api/v1beta1/gcpmanagedcontrolplane_types.go +++ b/exp/api/v1beta1/gcpmanagedcontrolplane_types.go @@ -53,7 +53,7 @@ type GCPManagedControlPlaneSpec struct { // Endpoint represents the endpoint used to communicate with the control plane. // +optional Endpoint clusterv1.APIEndpoint `json:"endpoint"` - // MasterAuthorizedNetworksConfig repsesents configuration options for master authorized networks feature of the GKE cluster. + // MasterAuthorizedNetworksConfig represents configuration options for master authorized networks feature of the GKE cluster. // +optional MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `json:"master_authorized_networks_config,omitempty"` } @@ -134,7 +134,6 @@ type MasterAuthorizedNetworksConfig struct { // MasterAuthorizedNetworksConfigCidrBlock contains an optional name and one CIDR block. type MasterAuthorizedNetworksConfigCidrBlock struct { - // display_name is an optional field for users to identify CIDR blocks. DisplayName string `json:"display_name,omitempty"` // cidr_block must be specified in CIDR notation.