Skip to content

Commit

Permalink
Merge pull request #5134 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…5133-to-release-1.16

[release-1.16] Add "cluster" type to subnet role validation
  • Loading branch information
k8s-ci-robot authored Sep 18, 2024
2 parents 4593aad + 8a331c1 commit 68c1f24
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/v1beta1/types_class.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ type SubnetClassSpec struct {
Name string `json:"name"`

// Role defines the subnet role (eg. Node, ControlPlane)
// +kubebuilder:validation:Enum=node;control-plane;bastion;all
// +kubebuilder:validation:Enum=node;control-plane;bastion;cluster
Role SubnetRole `json:"role"`

// CIDRBlocks defines the subnet's address space, specified as one or more address prefixes in CIDR notation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ spec:
- node
- control-plane
- bastion
- all
- cluster
type: string
routeTable:
description: RouteTable defines the route table that should
Expand Down Expand Up @@ -1057,7 +1057,7 @@ spec:
- node
- control-plane
- bastion
- all
- cluster
type: string
routeTable:
description: RouteTable defines the route table that should
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ spec:
- node
- control-plane
- bastion
- all
- cluster
type: string
securityGroup:
description: SecurityGroup defines the NSG (network
Expand Down Expand Up @@ -698,7 +698,7 @@ spec:
- node
- control-plane
- bastion
- all
- cluster
type: string
securityGroup:
description: SecurityGroup defines the NSG (network
Expand Down

0 comments on commit 68c1f24

Please sign in to comment.