bugfix:修复当tfe_affinity为null时,因缺少kni配置文件导致firewall容器启动失败的bug

This commit is contained in:
fumingwei
2022-10-13 10:11:49 +08:00
parent 67f312e5ef
commit 097eff987c

View File

@@ -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"