fact merging
This commit is contained in:
parent
77cfa06ab1
commit
970576cbb9
@ -37,9 +37,9 @@
|
|||||||
calico_default_installation: "{{ (calico_file_raw['content'] | b64decode).split(\"---\")[0] | from_yaml }}"
|
calico_default_installation: "{{ (calico_file_raw['content'] | b64decode).split(\"---\")[0] | from_yaml }}"
|
||||||
calico_default_apiserver: "{{ (calico_file_raw['content'] | b64decode).split(\"---\")[1] | from_yaml }}"
|
calico_default_apiserver: "{{ (calico_file_raw['content'] | b64decode).split(\"---\")[1] | from_yaml }}"
|
||||||
|
|
||||||
- name: add ipv6 settings to calico config
|
- name: create ipv6 settings for calico config
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
calico_default_installation.spec.calicoNetwork.ipPools[1]:
|
calico_ipv6:
|
||||||
blockSize: "{{ k8s_v6_network_blocksize }}"
|
blockSize: "{{ k8s_v6_network_blocksize }}"
|
||||||
cidr: "{{ k8s_v6_pod_cidr }}"
|
cidr: "{{ k8s_v6_pod_cidr }}"
|
||||||
encapsulation: "{{ k8s_network_encapsulation }}"
|
encapsulation: "{{ k8s_network_encapsulation }}"
|
||||||
@ -59,6 +59,8 @@
|
|||||||
value: "{{ k8s_network_nat }}"
|
value: "{{ k8s_network_nat }}"
|
||||||
- path: calico_default_installation.spec.calicoNetwork.ipPools[0].nodeSelector
|
- path: calico_default_installation.spec.calicoNetwork.ipPools[0].nodeSelector
|
||||||
value: "all()"
|
value: "all()"
|
||||||
|
- path: calico_default_installation.spec.calicoNetwork.ipPools
|
||||||
|
value: "{{ calico_default_installation.spec.calicoNetwork.ipPools + [ calico_ipv6 ] }}"
|
||||||
- path: calico_default_installation.spec.calicoNetwork.bgp
|
- path: calico_default_installation.spec.calicoNetwork.bgp
|
||||||
value: "{{ k8s_network_bgp }}"
|
value: "{{ k8s_network_bgp }}"
|
||||||
- path: calico_default_installation.spec.calicoNetwork.linuxDataplane
|
- path: calico_default_installation.spec.calicoNetwork.linuxDataplane
|
||||||
|
Loading…
Reference in New Issue
Block a user