File tree Expand file tree Collapse file tree
charts/kube-ovn/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ update:
1111 curl -sSL https://github.com/kubeovn/kube-ovn/archive/refs/heads/master.tar.gz | \
1212 tar xzvf - --strip 1 kube-ovn-master/charts
1313 patch --no-backup-if-mismatch -p4 < patches/cozyconfig.diff
14+ patch --no-backup-if-mismatch -p4 < patches/mtu.diff
1415
1516image :
1617 docker buildx build images/kubeovn \
Original file line number Diff line number Diff line change 7676 - --kubelet-dir={{ .Values.kubelet_conf.KUBELET_DIR }}
7777 - --enable-tproxy={{ .Values.func.ENABLE_TPROXY }}
7878 - --ovs-vsctl-concurrency={{ .Values.performance.OVS_VSCTL_CONCURRENCY }}
79+ {{- with .Values.mtu }}
80+ - --mtu={{ . }}
81+ {{- end }}
7982 securityContext :
8083 runAsUser : 0
8184 privileged : true
Original file line number Diff line number Diff line change 1+ diff --git a/packages/system/kubeovn/charts/kube-ovn/templates/ovncni-ds.yaml b/packages/system/kubeovn/charts/kube-ovn/templates/ovncni-ds.yaml
2+ index c6834ef..423f66b 100644
3+ --- a/packages/system/kubeovn/charts/kube-ovn/templates/ovncni-ds.yaml
4+ +++ b/packages/system/kubeovn/charts/kube-ovn/templates/ovncni-ds.yaml
5+ @@ -76,6 +76,9 @@ spec:
6+ - --kubelet-dir={{ .Values.kubelet_conf.KUBELET_DIR }}
7+ - --enable-tproxy={{ .Values.func.ENABLE_TPROXY }}
8+ - --ovs-vsctl-concurrency={{ .Values.performance.OVS_VSCTL_CONCURRENCY }}
9+ + {{- with .Values.mtu }}
10+ + - --mtu={{ . }}
11+ + {{- end }}
12+ securityContext:
13+ runAsUser: 0
14+ privileged: true
You can’t perform that action at this time.
0 commit comments