Control docker version within stack
Docker version was originally controlled within engine repository
but it is more appropriate to control it within the stack as the
version requirements could be different across the stacks. See the
dependent change for how it was controlled before.
Depends-On: Id5f2c72e35bba4d5ab413f7b19119330540f5674
Change-Id: I2720d6b6ddcde0f742f527e3f86b3085f13aaeda
diff --git a/vars/kubernetes.yaml b/vars/kubernetes.yaml
index 5accc01..905bb35 100644
--- a/vars/kubernetes.yaml
+++ b/vars/kubernetes.yaml
@@ -56,6 +56,17 @@
- k8-weave-nofeature
# -------------------------------------------------------------------------------
+# Nordix: Docker version
+# -------------------------------------------------------------------------------
+# NOTE (fdegir): versions of docker as of 13.02.2020 matching to what Kubespray uses
+# Please note that docker-ce version is configured to be overrideable since some scenarios
+# require different docker versions
+docker_ce_version: "{{ lookup('env', 'DOCKER_CE_VERSION') | default('5:18.09.9~3-0~ubuntu-bionic', true) }}"
+docker_ce_cli_version: "{{ docker_ce_version }}"
+docker_registry_version: "2.7.1"
+containerd_io_version: "1.2.6-3"
+
+# -------------------------------------------------------------------------------
# Kubernetes: Kubernetes and kubectl versions
# -------------------------------------------------------------------------------
# Kubernetes version that is supported by the pinned kubespray version