forked from LaconicNetwork/kompose
When volumes are specified in the Docker Compose files, then in case of Kubernetes, Deployment's Spec.Strategy.Type and in case of OpenShift, DeploymentConfig's Spec.Strategy.Type are set to "Recreate". This is a safer deployment strategy when Volumes are getting used. This commit also adds unit tests for Kubernetes as well as OpenShift, and fixes the failing functional tests (tests.sh) due to the change. No functional tests have been added since the functionality is already covered when the volume mounts are being tested earlier in the file. This fixes #264 |
||
|---|---|---|
| .. | ||
| docker-k8s.yml | ||
| docker-os.yml | ||
| output-k8s.json | ||
| output-openshift.json | ||