From 3e08e3f9b4637e5fc78b97b3256286d5b254070e Mon Sep 17 00:00:00 2001 From: Fred Rolland Date: Thu, 19 Sep 2024 08:25:13 +0300 Subject: [PATCH] bug: fix typo in IPPool defaultGateway Signed-off-by: Fred Rolland --- api/v1alpha1/ippool_type.go | 2 +- deploy/crds/nv-ipam.nvidia.com_ippools.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1alpha1/ippool_type.go b/api/v1alpha1/ippool_type.go index 8fb088b..6cb8cf8 100644 --- a/api/v1alpha1/ippool_type.go +++ b/api/v1alpha1/ippool_type.go @@ -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"` } diff --git a/deploy/crds/nv-ipam.nvidia.com_ippools.yaml b/deploy/crds/nv-ipam.nvidia.com_ippools.yaml index f0b7854..a5332ce 100644 --- a/deploy/crds/nv-ipam.nvidia.com_ippools.yaml +++ b/deploy/crds/nv-ipam.nvidia.com_ippools.yaml @@ -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