Skip to content

Commit

Permalink
Merge pull request #51 from rollandf/typo-gw
Browse files Browse the repository at this point in the history
bug: fix typo in defaultGateway CRD
  • Loading branch information
ykulazhenkov authored Sep 18, 2024
2 parents 413c1eb + 2626ca3 commit 5a33474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/cidrpool_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type CIDRPoolSpec struct {
// selector for nodes, if empty match all nodes
NodeSelector *corev1.NodeSelector `json:"nodeSelector,omitempty"`
// if true, add gateway as default gateway in the routes list
DefaultGateway bool `json:"defautGateway,omitempty"`
DefaultGateway bool `json:"defaultGateway,omitempty"`
// static routes list. The gateway used will according to the node allocation.
Routes []Route `json:"routes,omitempty"`
}
Expand Down
2 changes: 1 addition & 1 deletion deploy/crds/nv-ipam.nvidia.com_cidrpools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
is define in perNodeNetworkPrefix) and distributed between matching
nodes
type: string
defautGateway:
defaultGateway:
description: if true, add gateway as default gateway in the routes
list
type: boolean
Expand Down

0 comments on commit 5a33474

Please sign in to comment.