devspace icon indicating copy to clipboard operation
devspace copied to clipboard

devspace init: should always ask to confirm language before adding replacePods.replaceImage

Open LukasGentele opened this issue 4 years ago • 0 comments

What happened? Using a php symfony demo app without a Dockerfile, DevSpace asks which language to use for creating the Dockerfile. Auto-detection pre-selects JS. Confirming PHP leads to a PHP Dockerfile to be created which is great BUT the replacePods.replaceImage automatically defines the JS dev image instead of the PHP one.

What did you expect to happen instead? ALWAYS confirm the progamming language before adding the according image for replacePods.replaceImage.

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

My devspace.yaml:

version: ...
...

Local Environment:

  • DevSpace Version: [use devspace --version]
  • Operating System: windows | linux | mac
  • ARCH of the OS: AMD64 | ARM64 | i386 Kubernetes Cluster:
  • Cloud Provider: google | aws | azure | other
  • Kubernetes Version: [use kubectl version]

Anything else we need to know?

/kind bug

LukasGentele avatar Feb 14 '22 07:02 LukasGentele