Refactor k8s network section definitions. Calico part
In this patch all calico related parameters are moved to
'network.calico' subsection.
Also added small fixes for deployment.
Change-Id: I32882487455f47c84a87511e384be32e9ed42622
diff --git a/tests/pillar/master_cluster.sls b/tests/pillar/master_cluster.sls
index a0c2a2c..e734b66 100644
--- a/tests/pillar/master_cluster.sls
+++ b/tests/pillar/master_cluster.sls
@@ -71,17 +71,17 @@
allow_privileged: true
network:
engine: calico
- hash: 9D8F997FEE542420B15986FEA0EDF253
- private_ip_range: 10.150.0.0/16
- version: v1.6.3
- etcd:
- members:
- - host: 127.0.0.1
- port: 4001
- - host: 127.0.0.1
- port: 4001
- - host: 127.0.0.1
- port: 4001
+ calico:
+ calicoctl_image: calico/ctl
+ cni_image: calico/cni
+ etcd:
+ members:
+ - host: 127.0.0.1
+ port: 4001
+ - host: 127.0.0.1
+ port: 4001
+ - host: 127.0.0.1
+ port: 4001
service_addresses: 10.254.0.0/16
storage:
engine: glusterfs