diff --git a/roles/network_plugin/cilium/templates/cilium/ds.yml.j2 b/roles/network_plugin/cilium/templates/cilium/ds.yml.j2 index 9930458f6..cd603ff5c 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"