forked from LaconicNetwork/kompose
If we have a docker-file with root level volumes and we do a kompose up using that docker-file, libcompose will add an additional _ followed by the current directory name. Since kubernetes doesn't allow _ in the objects created so kompose up will fail to deploy it. As a solution we replace _ to - and we can then deploy it successfully. |
||
|---|---|---|
| .. | ||
| docker-compose.yml | ||
| output-k8s.json | ||
| output-os.json | ||