diff --git a/roles/network_plugin/cilium/templates/cilium/ds.yml.j2 b/roles/network_plugin/cilium/templates/cilium/ds.yml.j2 index 9930458f663131621ca1090f3892b2d428d7a110..cd603ff5c41791bbff136c791b2c7dc17b35025a 100644 --- a/roles/network_plugin/cilium/templates/cilium/ds.yml.j2 +++ b/roles/network_plugin/cilium/templates/cilium/ds.yml.j2 @@ -96,7 +96,11 @@ spec: httpGet: host: '127.0.0.1' path: /healthz +{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %} + port: 9879 +{% else %} port: 9876 +{% endif %} scheme: HTTP httpHeaders: - name: "brief" @@ -108,7 +112,11 @@ spec: httpGet: host: '127.0.0.1' path: /healthz +{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %} + port: 9879 +{% else %} port: 9876 +{% endif %} scheme: HTTP httpHeaders: - name: "brief" @@ -121,7 +129,11 @@ spec: httpGet: host: 127.0.0.1 path: /healthz +{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %} + port: 9879 +{% else %} port: 9876 +{% endif %} scheme: HTTP httpHeaders: - name: "brief"