Skip to content

Commit

Permalink
Merge pull request #5133 from mboersma/update-subnet-role-validation
Browse files Browse the repository at this point in the history
Add "cluster" type to subnet role validation
  • Loading branch information
k8s-ci-robot committed Sep 18, 2024
2 parents 3770549 + 76ce65f commit d414308
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 d414308

Please sign in to comment.