From febe222073d0d1b191af2384880734f9a75b837d Mon Sep 17 00:00:00 2001 From: Miguel Duarte Barroso Date: Thu, 22 Feb 2024 20:09:36 +0100 Subject: [PATCH] crd: fix network name docstring Signed-off-by: Miguel Duarte Barroso --- artifacts/k8s.cni.cncf.io_ipamclaims.yaml | 4 ++-- pkg/crd/ipamclaims/v1alpha1/types.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/artifacts/k8s.cni.cncf.io_ipamclaims.yaml b/artifacts/k8s.cni.cncf.io_ipamclaims.yaml index 52a0797..6d17746 100644 --- a/artifacts/k8s.cni.cncf.io_ipamclaims.yaml +++ b/artifacts/k8s.cni.cncf.io_ipamclaims.yaml @@ -38,8 +38,8 @@ spec: created type: string network: - description: The network attachment definition name for which this - persistent allocation was created + description: The network name for which this persistent allocation + was created type: string required: - interface diff --git a/pkg/crd/ipamclaims/v1alpha1/types.go b/pkg/crd/ipamclaims/v1alpha1/types.go index 9aeb888..ca94219 100644 --- a/pkg/crd/ipamclaims/v1alpha1/types.go +++ b/pkg/crd/ipamclaims/v1alpha1/types.go @@ -29,7 +29,7 @@ type IPAMClaim struct { } type IPAMClaimSpec struct { - // The network attachment definition name for which this persistent allocation was created + // The network name for which this persistent allocation was created Network string `json:"network"` // The pod interface name for which this allocation was created Interface string `json:"interface"`