Browse Source

Merge pull request #9984 from mgleung/calico-kube-proxy-run-once

Run the kube-proxy once per cluster for Calico
OpenShift Merge Robot 6 years ago
parent
commit
f8630d4063
2 changed files with 5 additions and 1 deletions
  1. 0 1
      roles/calico_master/meta/main.yml
  2. 5 0
      roles/calico_master/tasks/main.yml

+ 0 - 1
roles/calico_master/meta/main.yml

@@ -15,4 +15,3 @@ galaxy_info:
 dependencies:
 - role: lib_utils
 - role: openshift_facts
-- role: kube_proxy_and_dns

+ 5 - 0
roles/calico_master/tasks/main.yml

@@ -1,4 +1,9 @@
 ---
+- name: Calico | Run kube proxy
+  run_once: true
+  import_role:
+    name: kube_proxy_and_dns
+
 - include_tasks: certs.yml
 
 - name: Calico Master | oc adm policy add-scc-to-user privileged system:serviceaccount:kube-system:calico-node