From 097eff987cfb4cae3d3c6dc8273eb567f5ece7af Mon Sep 17 00:00:00 2001 From: fumingwei Date: Thu, 13 Oct 2022 10:11:49 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=E4=BF=AE=E5=A4=8D=E5=BD=93tfe=5Faffinit?= =?UTF-8?q?y=E4=B8=BAnull=E6=97=B6,=E5=9B=A0=E7=BC=BA=E5=B0=91kni=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E5=AF=BC=E8=87=B4firewall=E5=AE=B9?= =?UTF-8?q?=E5=99=A8=E5=90=AF=E5=8A=A8=E5=A4=B1=E8=B4=A5=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../traffic-engine/files/helm/templates/traffic-engine.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/traffic-engine/files/helm/templates/traffic-engine.yaml b/ansible/roles/traffic-engine/files/helm/templates/traffic-engine.yaml index 4d200ada..0a365278 100644 --- a/ansible/roles/traffic-engine/files/helm/templates/traffic-engine.yaml +++ b/ansible/roles/traffic-engine/files/helm/templates/traffic-engine.yaml @@ -89,8 +89,10 @@ spec: mountPath: "/opt/tsg/sapp/etc/send_raw_pkt.conf" subPath: "send_raw_pkt.conf" - name: sapp +{{- if and (eq .Values.proxy.enable .Values.define_enable_val_yes) (ge (len .Values.tfe_affinity) 1) }} mountPath: "/opt/tsg/sapp/etc/kni/kni.conf" subPath: "kni.conf" +{{- end }} - name: sapp mountPath: "/opt/tsg/sapp/etc/wannat/wangw.conf" subPath: "wangw.conf"