diff --git a/roles/network_plugin/cilium/templates/cilium-deploy.yml.j2 b/roles/network_plugin/cilium/templates/cilium-deploy.yml.j2 index 248154ff3..c052e9e16 100644 --- a/roles/network_plugin/cilium/templates/cilium-deploy.yml.j2 +++ b/roles/network_plugin/cilium/templates/cilium-deploy.yml.j2 @@ -89,6 +89,11 @@ spec: name: cilium-operator livenessProbe: httpGet: +{% if cilium_enable_ipv4 %} + host: 127.0.0.1 +{% else %} + host: host: '[::1]' +{% endif %} path: /healthz port: 9234 scheme: HTTP @@ -107,6 +112,7 @@ spec: restartPolicy: Always serviceAccount: cilium-operator serviceAccountName: cilium-operator + hostNetwork: true volumes: # To read the etcd config stored in config maps - configMap: