Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions api/nvidia/v1/clusterpolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,8 @@ const (
// OperatorSpec describes configuration options for the operator
type OperatorSpec struct {
// Deprecated: DefaultRuntime is no longer used by the gpu-operator. This is instead, detected at runtime.
// +kubebuilder:validation:Enum=docker;crio;containerd
// +kubebuilder:default=docker
DefaultRuntime Runtime `json:"defaultRuntime"`
// +optional
DefaultRuntime Runtime `json:"defaultRuntime,omitempty"`
// +kubebuilder:default=nvidia
RuntimeClass string `json:"runtimeClass,omitempty"`
InitContainer InitContainerSpec `json:"initContainer,omitempty"`
Expand Down
7 changes: 0 additions & 7 deletions bundle/manifests/nvidia.com_clusterpolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1887,13 +1887,8 @@ spec:
queryable and should be preserved when modifying objects.
type: object
defaultRuntime:
default: docker
description: 'Deprecated: DefaultRuntime is no longer used by
the gpu-operator. This is instead, detected at runtime.'
enum:
- docker
- crio
- containerd
type: string
initContainer:
description: 'Deprecated: InitContainerSpec describes configuration
Expand Down Expand Up @@ -1934,8 +1929,6 @@ spec:
image should be used on OpenShift to build and install driver
modules
type: boolean
required:
- defaultRuntime
type: object
psa:
description: PSA defines spec for PodSecurityAdmission configuration
Expand Down
7 changes: 0 additions & 7 deletions config/crd/bases/nvidia.com_clusterpolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1887,13 +1887,8 @@ spec:
queryable and should be preserved when modifying objects.
type: object
defaultRuntime:
default: docker
description: 'Deprecated: DefaultRuntime is no longer used by
the gpu-operator. This is instead, detected at runtime.'
enum:
- docker
- crio
- containerd
type: string
initContainer:
description: 'Deprecated: InitContainerSpec describes configuration
Expand Down Expand Up @@ -1934,8 +1929,6 @@ spec:
image should be used on OpenShift to build and install driver
modules
type: boolean
required:
- defaultRuntime
type: object
psa:
description: PSA defines spec for PodSecurityAdmission configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1887,13 +1887,8 @@ spec:
queryable and should be preserved when modifying objects.
type: object
defaultRuntime:
default: docker
description: 'Deprecated: DefaultRuntime is no longer used by
the gpu-operator. This is instead, detected at runtime.'
enum:
- docker
- crio
- containerd
type: string
initContainer:
description: 'Deprecated: InitContainerSpec describes configuration
Expand Down Expand Up @@ -1934,8 +1929,6 @@ spec:
image should be used on OpenShift to build and install driver
modules
type: boolean
required:
- defaultRuntime
type: object
psa:
description: PSA defines spec for PodSecurityAdmission configuration
Expand Down