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"