Browse Source

Kube-router annotate.yml: Use group 'k8s-cluster' instead of 'all' (#5087) (#5088)

pull/5089/head
Xiaodu 5 years ago
committed by Kubernetes Prow Robot
parent
commit
b0437516c1
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/network_plugin/kube-router/tasks/annotate.yml

2
roles/network_plugin/kube-router/tasks/annotate.yml

@ -18,4 +18,4 @@
with_items:
- "{{ kube_router_annotations_all }}"
delegate_to: "{{ groups['kube-master'][0] }}"
when: kube_router_annotations_all is defined and inventory_hostname in groups['all']
when: kube_router_annotations_all is defined and inventory_hostname in groups['k8s-cluster']
Loading…
Cancel
Save