Add ConfigMap for basic configuration options

Container settings moved from deamonset yaml to a separate
configmap.
This commit is contained in:
Aleksandr Didenko
2016-11-08 12:13:20 +01:00
parent 309240cd6f
commit 60a217766f
6 changed files with 83 additions and 14 deletions

View File

@@ -1,3 +1,12 @@
- name: Create canal ConfigMap
run_once: true
kube:
name: "canal-config"
kubectl: "{{bin_dir}}/kubectl"
filename: "/etc/kubernetes/canal-config.yaml"
resource: "configmap"
namespace: "kube-system"
- name: Start flannel and calico-node
run_once: true
kube: