kompose/script/test/fixtures
Shubham Minglani b73efa54f2 set strategy to Recreate if vols, add tests,docs
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
2017-02-20 11:44:43 +05:30
..
bundles Removes the TCP output on the Kubernetes / OpenShift artifacts 2017-02-01 13:33:49 -05:00
entrypoint-command Handle Headless Services for OpenShift 2017-01-25 11:28:29 +01:00
envvars-separators set strategy to Recreate if vols, add tests,docs 2017-02-20 11:44:43 +05:30
etherpad set strategy to Recreate if vols, add tests,docs 2017-02-20 11:44:43 +05:30
expose-service Removes the TCP output on the Kubernetes / OpenShift artifacts 2017-02-01 13:33:49 -05:00
gitlab Removes the TCP output on the Kubernetes / OpenShift artifacts 2017-02-01 13:33:49 -05:00
keyonly-envs Removes the TCP output on the Kubernetes / OpenShift artifacts 2017-02-01 13:33:49 -05:00
multiple-compose-files set strategy to Recreate if vols, add tests,docs 2017-02-20 11:44:43 +05:30
ngnix-node-redis Removes the TCP output on the Kubernetes / OpenShift artifacts 2017-02-01 13:33:49 -05:00
ports-with-ip Add support for host:port:port 2017-02-09 12:21:17 -05:00
ports-with-proto Removes the TCP output on the Kubernetes / OpenShift artifacts 2017-02-01 13:33:49 -05:00
restart-options error out if controller object is specified with "restart: on-failure" 2017-01-30 17:52:36 +05:30
stdin-true Removes the TCP output on the Kubernetes / OpenShift artifacts 2017-02-01 13:33:49 -05:00
tty-true Removes the TCP output on the Kubernetes / OpenShift artifacts 2017-02-01 13:33:49 -05:00
volume-mounts set strategy to Recreate if vols, add tests,docs 2017-02-20 11:44:43 +05:30
yaml-and-yml Removes the TCP output on the Kubernetes / OpenShift artifacts 2017-02-01 13:33:49 -05:00