Skip to content

Commit 2626ca3

Browse files
committed
bug: fix typo in defaultGateway CRD
Signed-off-by: Fred Rolland <[email protected]>
1 parent 413c1eb commit 2626ca3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/v1alpha1/cidrpool_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type CIDRPoolSpec struct {
4949
// selector for nodes, if empty match all nodes
5050
NodeSelector *corev1.NodeSelector `json:"nodeSelector,omitempty"`
5151
// if true, add gateway as default gateway in the routes list
52-
DefaultGateway bool `json:"defautGateway,omitempty"`
52+
DefaultGateway bool `json:"defaultGateway,omitempty"`
5353
// static routes list. The gateway used will according to the node allocation.
5454
Routes []Route `json:"routes,omitempty"`
5555
}

deploy/crds/nv-ipam.nvidia.com_cidrpools.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
is define in perNodeNetworkPrefix) and distributed between matching
5050
nodes
5151
type: string
52-
defautGateway:
52+
defaultGateway:
5353
description: if true, add gateway as default gateway in the routes
5454
list
5555
type: boolean

0 commit comments

Comments
 (0)