Skip to content
Draft
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
3 changes: 1 addition & 2 deletions api/nvidia/v1/clusterpolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1429,9 +1429,8 @@ type GDRCopySpec struct {

// MIGPartedConfigSpec defines custom mig-parted config for NVIDIA MIG Manager container
type MIGPartedConfigSpec struct {
// ConfigMap name
// ConfigMap name. If not specified, MIG configuration will be dynamically generated from hardware.
// +kubebuilder:validation:Optional
// +kubebuilder:default=default-mig-parted-config
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="ConfigMap Name"
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:text"
Expand Down
10 changes: 10 additions & 0 deletions assets/state-mig-manager/0200_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,13 @@ rules:
- list
- watch
- delete
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
- get
- list
- update
- patch
Loading