bug: devspace init
fails with rendering error when using existing Helm chart in Go project environment
#2840
Labels
kind/bug
Something isn't working
What happened?
When running
devspace init
on a directory for a Go project that already had a Helm chart, I get an error message and partially completed generated files after finishing the prompts.I was trying to do this for a popular open source project that works this way (Go, has a Helm chart already). But I've created a minimal reproduction instead of referencing that open source project for this bug report.
The error:
The
devspace_start.sh
file:The
devspace.yaml
file:What did you expect to happen instead?
DevSpace would initialize itself for my Go project with a pre-existing Helm chart.
How can we reproduce the bug? (as minimally and precisely as possible)
Create a test directory, create a new Helm chart within it, initialize the directory to be a Go module, run
devspace init
, and follow the prompts, specifying that you want it to use the existing Helm chart:Local Environment:
Anything else we need to know?
Detailed stack trace when running it with
--debug
too:The text was updated successfully, but these errors were encountered: