Add tags for coredns and kubedns

pull/3072/head
Mathieu Herbert 2018-08-07 20:53:36 +02:00
parent e71f261935
commit d285565475
2 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,7 @@
- rbac_enabled or item.type not in rbac_resources - rbac_enabled or item.type not in rbac_resources
tags: tags:
- dnsmasq - dnsmasq
- kubedns
# see https://github.com/kubernetes/kubernetes/issues/45084, only needed for "old" kube-dns # see https://github.com/kubernetes/kubernetes/issues/45084, only needed for "old" kube-dns
- name: Kubernetes Apps | Patch system:kube-dns ClusterRole - name: Kubernetes Apps | Patch system:kube-dns ClusterRole
@ -39,3 +40,4 @@
- rbac_enabled and kubedns_version|version_compare("1.11.0", "<", strict=True) - rbac_enabled and kubedns_version|version_compare("1.11.0", "<", strict=True)
tags: tags:
- dnsmasq - dnsmasq
- kubedns

View File

@ -17,6 +17,9 @@
- inventory_hostname == groups['kube-master'][0] - inventory_hostname == groups['kube-master'][0]
tags: tags:
- upgrade - upgrade
- dnsmasq
- coredns
- kubedns
- name: Kubernetes Apps | CoreDNS - name: Kubernetes Apps | CoreDNS
import_tasks: "tasks/coredns.yml" import_tasks: "tasks/coredns.yml"
@ -56,6 +59,8 @@
delay: 5 delay: 5
tags: tags:
- dnsmasq - dnsmasq
- coredns
- kubedns
- name: Kubernetes Apps | Netchecker - name: Kubernetes Apps | Netchecker
import_tasks: tasks/netchecker.yml import_tasks: tasks/netchecker.yml