Skip to content

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

@emk

Description

@emk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions