Open emk opened 2 years ago
If pods/example.yml contains:
pods/example.yml
version: "2" services: {}
And pods/targets/production/example.yml contains:
pods/targets/production/example.yml
services: {}
We will output version: "2.4". This breaks kompose convert, which seems to be pretty confused about version numbers in general:
version: "2.4"
kompose convert
kompose convert --file exported.yml --chart --replicas\=1 FATA Version 2.4 of Docker Compose is not supported. Please use version 1, 2 or 3
Workaround: Always use version: "2" at the top of any files in pods/targets that you'll pass to kompose.
version: "2"
pods/targets
kompose
If
pods/example.yml
contains:And
pods/targets/production/example.yml
contains:We will output
version: "2.4"
. This breakskompose convert
, which seems to be pretty confused about version numbers in general:Workaround: Always use
version: "2"
at the top of any files inpods/targets
that you'll pass tokompose
.