Merge pull request #3072 from mathieuherbert/dns-tags
Add tags for coredns and kubedns
This commit is contained in:
commit
f72d74f951
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue