Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cage sets version: "2.4" when merging targets into base #115

Open
emk opened this issue Jan 7, 2022 · 0 comments
Open

cage sets version: "2.4" when merging targets into base #115

emk opened this issue Jan 7, 2022 · 0 comments

Comments

@emk
Copy link
Contributor

emk commented Jan 7, 2022

If pods/example.yml contains:

version: "2"
services: {}

And pods/targets/production/example.yml contains:

services: {}

We will output version: "2.4". This breaks kompose convert, which seems to be pretty confused about version numbers in general:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant