From 8030e6f76ca9e5dc731dce2bed0ffbc2aed85a4c Mon Sep 17 00:00:00 2001
From: mahjonp <junpeng.man@gmail.com>
Date: Tue, 7 Jun 2022 03:40:21 +0800
Subject: [PATCH] fix 8893#issuecomment-1147154353 (#8933)

Signed-off-by: mahjonp <junpeng.man@gmail.com>
---
 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:
-- 
GitLab