add cilium_hubble_event_buffer_capacity & cilium_hubble_event_queue_size vars (#10943)

This commit is contained in:
peterw
2024-06-24 04:14:56 +01:00
committed by GitHub
parent 647092b483
commit edce2b528d
4 changed files with 25 additions and 0 deletions

View File

@@ -61,3 +61,9 @@
when:
- cilium_ipsec_enabled is defined
- cilium_ipsec_enabled
- name: Stop if cilium_hubble_event_buffer_capacity is not a power of 2 minus 1 and is not between 1 and 65535
assert:
that: "cilium_hubble_event_buffer_capacity in [1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535]"
msg: "Error: cilium_hubble_event_buffer_capacity:{{ cilium_hubble_event_buffer_capacity }} is not a power of 2 minus 1 and it should be between 1 and 65535."
when: cilium_hubble_event_buffer_capacity is defined