Skip to content

Commit

Permalink
bug: fix typo in IPPool defaultGateway
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Rolland <[email protected]>
  • Loading branch information
rollandf committed Sep 19, 2024
1 parent 5a33474 commit 3e08e3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/ippool_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type IPPoolSpec 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 using the gateway specified in the spec.
Routes []Route `json:"routes,omitempty"`
}
Expand Down
2 changes: 1 addition & 1 deletion deploy/crds/nv-ipam.nvidia.com_ippools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
spec:
description: IPPoolSpec contains configuration for IP pool
properties:
defautGateway:
defaultGateway:
description: if true, add gateway as default gateway in the routes
list
type: boolean
Expand Down

0 comments on commit 3e08e3f

Please sign in to comment.