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:
Tom Stian Berget
2022-02-08 23:04:35 +01:00
committed by GitHub
parent 5695c892d0
commit 84b93090a8
7 changed files with 19 additions and 12 deletions

View File

@@ -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'"

View File

@@ -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: