Browse Source

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

Fix idempotency of calico-policy-controller rs
pull/587/merge
Bogdan Dobrelya 8 years ago
committed by GitHub
parent
commit
39d68822ed
1 changed files with 4 additions and 1 deletions
  1. 5
      roles/kubernetes-apps/ansible/tasks/calico-policy-controller.yml

5
roles/kubernetes-apps/ansible/tasks/calico-policy-controller.yml

@ -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]
Loading…
Cancel
Save