Merge pull request #590 from adidenko/fix-policy-rc-idempotency

Fix idempotency of calico-policy-controller rs
This commit is contained in:
Bogdan Dobrelya 2016-11-08 15:54:07 +01:00 committed by GitHub
commit 39d68822ed

View file

@ -5,6 +5,9 @@
- name: Start of Calico policy controller
kube:
name: "calico-policy-controller"
kubectl: "{{bin_dir}}/kubectl"
filename: /etc/kubernetes/calico-policy-controller.yml
filename: "/etc/kubernetes/calico-policy-controller.yml"
namespace: "kube-system"
resource: "rs"
when: inventory_hostname == groups['kube-master'][0]