add parametrized kubernetes images
Change-Id: I0c1cf770e7ddb57cb59fdebe4e580550dfb7d359
diff --git a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml
index daa8b33..588c0c9 100644
--- a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml
+++ b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml
@@ -5,6 +5,11 @@
- system.salt.minion.cert.etcd_client
- cluster.virtual-mcp11-k8s-calico.infra
parameters:
+ _param:
+ kubernetes_calicoctl_image: docker-prod-virtual.sandbox.mirantis.net/mirantis/projectcalico/calico/ctl:latest
+ kubernetes_calico_image: docker-prod-virtual.sandbox.mirantis.net/mirantis/projectcalico/calico/node:latest
+ kubernetes_calico_cni_image: docker-prod-virtual.sandbox.mirantis.net/mirantis/projectcalico/calico/cni:latest
+ kubernetes_hyperkube_image: docker-prod-virtual.sandbox.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.5.4-5
docker:
host:
pkgs:
@@ -16,11 +21,11 @@
etcd:
ssl:
enabled: true
- image: docker-prod-virtual.sandbox.mirantis.net/mirantis/projectcalico/calico/node:latest
+ image: ${_param:kubernetes_calico_image}
calicoctl:
- image: docker-prod-virtual.sandbox.mirantis.net/mirantis/projectcalico/calico/ctl:latest
+ image: ${_param:kubernetes_calicoctl_image}
cni:
- image: docker-prod-virtual.sandbox.mirantis.net/mirantis/projectcalico/calico/cni:latest
+ image: ${_param:kubernetes_calico_cni_image}
common:
hyperkube:
- image: docker-prod-virtual.sandbox.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.5.4-5
+ image: ${_param:kubernetes_hyperkube_image}