mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-23 05:56:02 -03:30
Change Cilium setting identity_allocation_mode to cilium_identity_allocation_mode (#8519)
* Change Cilium identity_allocation_mode to cilium_identity_allocation_mode * Change inventory sample
This commit is contained in:
@@ -10,5 +10,5 @@
|
||||
|
||||
- name: Stop if bad Cilium identity allocation mode
|
||||
assert:
|
||||
that: identity_allocation_mode in ['crd', 'kvstore']
|
||||
msg: "identity_allocation_mode must be either 'crd' or 'kvstore'"
|
||||
that: cilium_identity_allocation_mode in ['crd', 'kvstore']
|
||||
msg: "cilium_identity_allocation_mode must be either 'crd' or 'kvstore'"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
owner: root
|
||||
group: root
|
||||
when:
|
||||
- identity_allocation_mode == "kvstore"
|
||||
- cilium_identity_allocation_mode == "kvstore"
|
||||
|
||||
- name: Cilium | Link etcd certificates for cilium
|
||||
file:
|
||||
@@ -28,7 +28,7 @@
|
||||
- {s: "{{ kube_etcd_cert_file }}", d: "cert.crt"}
|
||||
- {s: "{{ kube_etcd_key_file }}", d: "key.pem"}
|
||||
when:
|
||||
- identity_allocation_mode == "kvstore"
|
||||
- cilium_identity_allocation_mode == "kvstore"
|
||||
|
||||
- name: Cilium | Create hubble dir
|
||||
file:
|
||||
|
||||
Reference in New Issue
Block a user