kompose/pkg/transformer/kubernetes
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
..
k8sutils_test.go set strategy to Recreate if vols, add tests,docs 2017-02-20 11:44:43 +05:30
k8sutils.go set strategy to Recreate if vols, add tests,docs 2017-02-20 11:44:43 +05:30
kubernetes_test.go Unit test for error out if controller object is specified with restart: on-failure 2017-02-13 12:41:16 +05:30
kubernetes.go Add support for host:port:port 2017-02-09 12:21:17 -05:00