diff --git a/roles/network_plugin/cilium/templates/values.yaml.j2 b/roles/network_plugin/cilium/templates/values.yaml.j2 index e0e6b3427..c2c865172 100644 --- a/roles/network_plugin/cilium/templates/values.yaml.j2 +++ b/roles/network_plugin/cilium/templates/values.yaml.j2 @@ -107,8 +107,14 @@ hubble: metrics: enabled: {{ cilium_hubble_metrics | to_json }} export: +{% if cilium_version is version('1.18.0', '>=') %} + static: + fileMaxBackups: {{ cilium_hubble_export_file_max_backups }} + fileMaxSizeMb: {{ cilium_hubble_export_file_max_size_mb }} +{% else %} fileMaxBackups: {{ cilium_hubble_export_file_max_backups }} fileMaxSizeMb: {{ cilium_hubble_export_file_max_size_mb }} +{% endif %} dynamic: enabled: {{ cilium_hubble_export_dynamic_enabled | to_json }} config: