Skip to content

Commit a75faae

Browse files
authored
chore: add deprecation note to ipamPlugin (Mellanox#1686)
2 parents b649382 + d3d0c14 commit a75faae

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

api/v1alpha1/nicclusterpolicy_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ type SecondaryNetworkSpec struct {
218218
// Image information for IPoIB CNI
219219
IPoIB *ImageSpec `json:"ipoib,omitempty"`
220220
// Image information for IPAM plugin
221+
// Deprecated: This field is deprecated and will be removed in a future version. Use 'nvIpam' instead.
221222
IpamPlugin *ImageSpec `json:"ipamPlugin,omitempty"`
222223
}
223224

config/crd/bases/mellanox.com_nicclusterpolicies.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,9 @@ spec:
14711471
- version
14721472
type: object
14731473
ipamPlugin:
1474-
description: Image information for IPAM plugin
1474+
description: |-
1475+
Image information for IPAM plugin
1476+
Deprecated: This field is deprecated and will be removed in a future version. Use 'nvIpam' instead.
14751477
properties:
14761478
containerResources:
14771479
description: ResourceRequirements describes the compute resource

deployment/network-operator/crds/mellanox.com_nicclusterpolicies.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,9 @@ spec:
14711471
- version
14721472
type: object
14731473
ipamPlugin:
1474-
description: Image information for IPAM plugin
1474+
description: |-
1475+
Image information for IPAM plugin
1476+
Deprecated: This field is deprecated and will be removed in a future version. Use 'nvIpam' instead.
14751477
properties:
14761478
containerResources:
14771479
description: ResourceRequirements describes the compute resource

0 commit comments

Comments
 (0)