e26aec96b0
This sets br_netfilter and net.bridge.bridge-nf-call-iptables sysctl from a single play before kube-proxy is first ran instead of from the flannel and weave network_plugin roles after kube-proxy is started
16 lines
No EOL
509 B
YAML
16 lines
No EOL
509 B
YAML
---
|
|
- include: pre-upgrade.yml
|
|
|
|
- name: Flannel | Create cni-flannel-rbac manifest
|
|
template:
|
|
src: cni-flannel-rbac.yml.j2
|
|
dest: "{{ kube_config_dir }}/cni-flannel-rbac.yml"
|
|
register: flannel_rbac_manifest
|
|
when: inventory_hostname == groups['kube-master'][0] and rbac_enabled
|
|
|
|
- name: Flannel | Create cni-flannel manifest
|
|
template:
|
|
src: cni-flannel.yml.j2
|
|
dest: "{{ kube_config_dir }}/cni-flannel.yml"
|
|
register: flannel_manifest
|
|
when: inventory_hostname == groups['kube-master'][0] |