Skip to content

Commit 86aa78f

Browse files
committed
fix: update naming to DOCA-OFED Driver
Updating files that affect documentation (CRD and Helm values) Signed-off-by: Fred Rolland <[email protected]>
1 parent e1140d2 commit 86aa78f

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

api/v1alpha1/nicclusterpolicy_types.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,32 +92,32 @@ type ConfigMapNameReference struct {
9292
Name string `json:"name,omitempty"`
9393
}
9494

95-
// OFEDDriverSpec describes configuration options for DOCA Driver Container
95+
// OFEDDriverSpec describes configuration options for DOCA-OFED Driver Container
9696
type OFEDDriverSpec struct {
97-
// Image information for DOCA driver container
97+
// Image information for DOCA-OFED driver container
9898
ImageSpec `json:""`
9999
// Pod startup probe settings
100100
StartupProbe *PodProbeSpec `json:"startupProbe,omitempty"`
101101
// Pod liveness probe settings
102102
LivenessProbe *PodProbeSpec `json:"livenessProbe,omitempty"`
103103
// Pod readiness probe settings
104104
ReadinessProbe *PodProbeSpec `json:"readinessProbe,omitempty"`
105-
// List of environment variables to set in the DOCA driver container.
105+
// List of environment variables to set in the DOCA-OFED driver container.
106106
Env []v1.EnvVar `json:"env,omitempty"`
107-
// DOCA driver auto-upgrade settings
107+
// DOCA-OFED driver auto-upgrade settings
108108
OfedUpgradePolicy *DriverUpgradePolicySpec `json:"upgradePolicy,omitempty"`
109-
// Optional: Custom TLS certificates configuration for DOCA driver container
109+
// Optional: Custom TLS certificates configuration for DOCA-OFED driver container
110110
CertConfig *ConfigMapNameReference `json:"certConfig,omitempty"`
111-
// Optional: Custom package repository configuration for DOCA driver container
111+
// Optional: Custom package repository configuration for DOCA-OFED driver container
112112
RepoConfig *ConfigMapNameReference `json:"repoConfig,omitempty"`
113113
// TerminationGracePeriodSeconds specifies the length of time in seconds
114-
// to wait before killing the DOCA driver container pod on termination
114+
// to wait before killing the DOCA-OFED driver container pod on termination
115115
// +optional
116116
// +kubebuilder:default:=300
117117
// +kubebuilder:validation:Minimum:=0
118118
TerminationGracePeriodSeconds int64 `json:"terminationGracePeriodSeconds,omitempty"`
119-
// ForcePrecompiled specifies if only DOCA driver precompiled images are allowed
120-
// If set to false and precompiled image does not exists, DOCA driver will be compiled on Nodes
119+
// ForcePrecompiled specifies if only DOCA-OFED driver precompiled images are allowed
120+
// If set to false and precompiled image does not exists, DOCA-OFED driver will be compiled on Nodes
121121
// If set to true and precompiled image does not exists, OFED state will be Error.
122122
// +optional
123123
// +kubebuilder:default:=false

config/crd/bases/mellanox.com_nicclusterpolicies.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ spec:
752752
properties:
753753
certConfig:
754754
description: 'Optional: Custom TLS certificates configuration
755-
for DOCA driver container'
755+
for DOCA-OFED driver container'
756756
properties:
757757
name:
758758
description: Name of the ConfigMap
@@ -798,7 +798,7 @@ spec:
798798
type: object
799799
type: array
800800
env:
801-
description: List of environment variables to set in the DOCA
801+
description: List of environment variables to set in the DOCA-OFED
802802
driver container.
803803
items:
804804
description: EnvVar represents an environment variable present
@@ -921,8 +921,8 @@ spec:
921921
forcePrecompiled:
922922
default: false
923923
description: |-
924-
ForcePrecompiled specifies if only DOCA driver precompiled images are allowed
925-
If set to false and precompiled image does not exists, DOCA driver will be compiled on Nodes
924+
ForcePrecompiled specifies if only DOCA-OFED driver precompiled images are allowed
925+
If set to false and precompiled image does not exists, DOCA-OFED driver will be compiled on Nodes
926926
If set to true and precompiled image does not exists, OFED state will be Error.
927927
type: boolean
928928
image:
@@ -967,7 +967,7 @@ spec:
967967
type: object
968968
repoConfig:
969969
description: 'Optional: Custom package repository configuration
970-
for DOCA driver container'
970+
for DOCA-OFED driver container'
971971
properties:
972972
name:
973973
description: Name of the ConfigMap
@@ -995,12 +995,12 @@ spec:
995995
default: 300
996996
description: |-
997997
TerminationGracePeriodSeconds specifies the length of time in seconds
998-
to wait before killing the DOCA driver container pod on termination
998+
to wait before killing the DOCA-OFED driver container pod on termination
999999
format: int64
10001000
minimum: 0
10011001
type: integer
10021002
upgradePolicy:
1003-
description: DOCA driver auto-upgrade settings
1003+
description: DOCA-OFED driver auto-upgrade settings
10041004
properties:
10051005
autoUpgrade:
10061006
default: false

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ spec:
752752
properties:
753753
certConfig:
754754
description: 'Optional: Custom TLS certificates configuration
755-
for DOCA driver container'
755+
for DOCA-OFED driver container'
756756
properties:
757757
name:
758758
description: Name of the ConfigMap
@@ -798,7 +798,7 @@ spec:
798798
type: object
799799
type: array
800800
env:
801-
description: List of environment variables to set in the DOCA
801+
description: List of environment variables to set in the DOCA-OFED
802802
driver container.
803803
items:
804804
description: EnvVar represents an environment variable present
@@ -921,8 +921,8 @@ spec:
921921
forcePrecompiled:
922922
default: false
923923
description: |-
924-
ForcePrecompiled specifies if only DOCA driver precompiled images are allowed
925-
If set to false and precompiled image does not exists, DOCA driver will be compiled on Nodes
924+
ForcePrecompiled specifies if only DOCA-OFED driver precompiled images are allowed
925+
If set to false and precompiled image does not exists, DOCA-OFED driver will be compiled on Nodes
926926
If set to true and precompiled image does not exists, OFED state will be Error.
927927
type: boolean
928928
image:
@@ -967,7 +967,7 @@ spec:
967967
type: object
968968
repoConfig:
969969
description: 'Optional: Custom package repository configuration
970-
for DOCA driver container'
970+
for DOCA-OFED driver container'
971971
properties:
972972
name:
973973
description: Name of the ConfigMap
@@ -995,12 +995,12 @@ spec:
995995
default: 300
996996
description: |-
997997
TerminationGracePeriodSeconds specifies the length of time in seconds
998-
to wait before killing the DOCA driver container pod on termination
998+
to wait before killing the DOCA-OFED driver container pod on termination
999999
format: int64
10001000
minimum: 0
10011001
type: integer
10021002
upgradePolicy:
1003-
description: DOCA driver auto-upgrade settings
1003+
description: DOCA-OFED driver auto-upgrade settings
10041004
properties:
10051005
autoUpgrade:
10061006
default: false

deployment/network-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ operator:
280280
requestorID: "nvidia.network.operator"
281281
nodeMaintenanceNamePrefix: "network-operator"
282282
nodeMaintenanceNamespace: default
283-
# -- Enable the use of Driver ToolKit to compile DOCA Drivers (OpenShift only).
283+
# -- Enable the use of Driver ToolKit to compile DOCA-OFED Drivers (OpenShift only).
284284
useDTK: true
285285
admissionController:
286286
# -- Deploy with admission controller.

hack/templates/values/values.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ operator:
280280
requestorID: "nvidia.network.operator"
281281
nodeMaintenanceNamePrefix: "network-operator"
282282
nodeMaintenanceNamespace: default
283-
# -- Enable the use of Driver ToolKit to compile DOCA Drivers (OpenShift only).
283+
# -- Enable the use of Driver ToolKit to compile DOCA-OFED Drivers (OpenShift only).
284284
useDTK: true
285285
admissionController:
286286
# -- Deploy with admission controller.

0 commit comments

Comments
 (0)