forked from LaconicNetwork/kompose
This does a major refactor on the compose.go functions as well as brings in a new era of v3 support to Kompose. Similar to how we utilize libcompose, we utilize docker/cli's "stack deploy" code which has a built-in v3 parser. We convert the parsed structure to our own and then convert it to Kubernetes/OpenShift artifacts.
7 lines
88 B
YAML
7 lines
88 B
YAML
version: '3'
|
|
services:
|
|
foo:
|
|
image: foo/bar:latest
|
|
environment:
|
|
FOO: foo
|