fix: set default GPU vendors list (kubeflow/kubeflow#7320)

The change introduced by kubeflow/kubeflow#6736 removed the default GPU vendors
list, which causes an issue when trying to select a vendor from the dropdown menu
if the vendors list is not configured.
This commit can be reverted if proper documentation is provided for users/distributions
to configure the dropdown menu.
Fixes #7273
This commit is contained in:
Daniela Plascencia 2023-10-09 10:28:18 +02:00 committed by GitHub
parent b9ff781a21
commit b38794b7c6
2 changed files with 12 additions and 14 deletions

View File

@ -129,12 +129,11 @@ spawnerFormDefaults:
# the list of available vendors in the dropdown
# `limitsKey` - what will be set as the actual limit
# `uiName` - what will be displayed in the dropdown UI
vendors: []
#vendors:
# - limitsKey: "nvidia.com/gpu"
# uiName: "NVIDIA"
# - limitsKey: "amd.com/gpu"
# uiName: "AMD"
vendors:
- limitsKey: "nvidia.com/gpu"
uiName: "NVIDIA"
- limitsKey: "amd.com/gpu"
uiName: "AMD"
# the default value of the limit
# (possible values: "none", "1", "2", "4", "8")
@ -304,4 +303,4 @@ spawnerFormDefaults:
################################################################
environment:
readOnly: false
value: {}
value: {}

View File

@ -129,12 +129,11 @@ spawnerFormDefaults:
# the list of available vendors in the dropdown
# `limitsKey` - what will be set as the actual limit
# `uiName` - what will be displayed in the dropdown UI
vendors: []
#vendors:
# - limitsKey: "nvidia.com/gpu"
# uiName: "NVIDIA"
# - limitsKey: "amd.com/gpu"
# uiName: "AMD"
vendors:
- limitsKey: "nvidia.com/gpu"
uiName: "NVIDIA"
- limitsKey: "amd.com/gpu"
uiName: "AMD"
# the default value of the limit
# (possible values: "none", "1", "2", "4", "8")
@ -304,4 +303,4 @@ spawnerFormDefaults:
################################################################
environment:
readOnly: false
value: {}
value: {}