Skip to content

Commit 50e9d0c

Browse files
committed
fix ovn ipsec when restart cni (#5603)
Signed-off-by: clyi <[email protected]>
1 parent 496e9a0 commit 50e9d0c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

charts/kube-ovn/templates/ovncni-ds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,5 +272,5 @@ spec:
272272
{{- if .Values.func.ENABLE_OVN_IPSEC }}
273273
- name: ovs-ipsec-keys
274274
hostPath:
275-
path: {{ .Values.OPENVSWITCH_DIR }}
275+
path: {{ .Values.OVN_IPSEC_KEY_DIR }}
276276
{{- end }}

charts/kube-ovn/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ log_conf:
127127
LOG_DIR: "/var/log"
128128

129129
OPENVSWITCH_DIR: "/etc/origin/openvswitch"
130+
OVN_IPSEC_KEY_DIR: "/etc/origin/ovs_ipsec_keys"
130131
OVN_DIR: "/etc/origin/ovn"
131132
DISABLE_MODULES_MANAGEMENT: false
132133

0 commit comments

Comments
 (0)