update to latest 2.26.0 kubespray version and add dns zones settings to coredns
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
template:
|
||||
src: "{{ item.file }}.j2"
|
||||
dest: "{{ kube_config_dir }}/{{ item.file }}"
|
||||
mode: 0644
|
||||
mode: "0644"
|
||||
with_items:
|
||||
- {name: flannel, file: cni-flannel-rbac.yml, type: sa}
|
||||
- {name: kube-flannel, file: cni-flannel.yml, type: ds}
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
- name: Reset | check cni network device
|
||||
stat:
|
||||
path: /sys/class/net/cni0
|
||||
get_attributes: no
|
||||
get_checksum: no
|
||||
get_mime: no
|
||||
get_attributes: false
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
register: cni
|
||||
|
||||
- name: Reset | remove the network device created by the flannel
|
||||
@@ -14,9 +14,9 @@
|
||||
- name: Reset | check flannel network device
|
||||
stat:
|
||||
path: /sys/class/net/flannel.1
|
||||
get_attributes: no
|
||||
get_checksum: no
|
||||
get_mime: no
|
||||
get_attributes: false
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
register: flannel
|
||||
|
||||
- name: Reset | remove the network device created by the flannel
|
||||
|
||||
Reference in New Issue
Block a user