devpod icon indicating copy to clipboard operation
devpod copied to clipboard

GUI throws error on parsing Kubernetes resources with commas

Open Holden3148 opened this issue 1 year ago • 1 comments

What happened?

Unable to create a Kubernetes provider from the GUI when specifying multiple resources separated by a comma.

What did you expect to happen instead?

A Kubernetes provider is created with the values specified.

How can we reproduce the bug? (as minimally and precisely as possible)

Create a new Kubernetes provider via the DevPod Desktop Client on MacOS. Specify multiple resources for either buildkit, workspace, or workspace init container.

Click "Add Provider"

Error message as provided below.

Local Environment:

  • DevPod Version: v0.2.1
  • Operating System: mac
  • ARCH of the OS: ARM64

DevPod Provider:

  • Cloud Provider: Kubernetes
  • Kubernetes Version: 1.27.1

Anything else we need to know?

Holden3148 avatar Jul 10 '23 17:07 Holden3148

@Holden3148 thanks for creating this issue! I believe this should be fixed through https://github.com/loft-sh/devpod/pull/495, but I'll double check this

FabianKramm avatar Jul 10 '23 17:07 FabianKramm