From dca5cde493b48a8c360d32a909acd3bacabc5a70 Mon Sep 17 00:00:00 2001 From: mahjonp Date: Wed, 8 Jun 2022 00:18:56 +0800 Subject: [PATCH] fix 8893#issuecomment-1147154353 (#8933) (#8939) Signed-off-by: mahjonp --- roles/network_plugin/cilium/templates/cilium/ds.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/network_plugin/cilium/templates/cilium/ds.yml.j2 b/roles/network_plugin/cilium/templates/cilium/ds.yml.j2 index 7af6bcb50..9930458f6 100644 --- a/roles/network_plugin/cilium/templates/cilium/ds.yml.j2 +++ b/roles/network_plugin/cilium/templates/cilium/ds.yml.j2 @@ -186,7 +186,7 @@ spec: - mountPath: /tmp/cilium/config-map name: cilium-config-path readOnly: true -{% if not cilium_ip_masq_agent_enable %} +{% if cilium_ip_masq_agent_enable %} - name: ip-masq-agent mountPath: /etc/config readOnly: true @@ -370,7 +370,7 @@ spec: - configMap: name: cilium-config name: cilium-config-path -{% if not cilium_ip_masq_agent_enable %} +{% if cilium_ip_masq_agent_enable %} - configMap: name: ip-masq-agent items: