fix: set default GPU vendors list (#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 коммит произвёл GitHub
Родитель 466d675080
Коммит eaacab6863
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 12 добавлений и 14 удалений

Просмотреть файл

@ -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: {}

Просмотреть файл

@ -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: {}