Skip to content

Commit

Permalink
fix typo and remove empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
yuecong committed Aug 16, 2023
1 parent 15805f8 commit 5e7fc14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions exp/api/v1beta1/gcpmanagedcontrolplane_types.go
Expand Up @@ -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"`
}
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 5e7fc14

Please sign in to comment.