From e6807c5ffd5f5fdadd0586aef33a48ecddd46e51 Mon Sep 17 00:00:00 2001 From: clyi Date: Wed, 14 Aug 2024 18:38:45 +0800 Subject: [PATCH] fix kube-ovn-cni run fail on docker Signed-off-by: clyi --- charts/kube-ovn/templates/ovncni-ds.yaml | 1 + dist/images/install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/kube-ovn/templates/ovncni-ds.yaml b/charts/kube-ovn/templates/ovncni-ds.yaml index 0b4184796d2..dc7a6cf3c1f 100644 --- a/charts/kube-ovn/templates/ovncni-ds.yaml +++ b/charts/kube-ovn/templates/ovncni-ds.yaml @@ -90,6 +90,7 @@ spec: - NET_BIND_SERVICE - NET_RAW - SYS_ADMIN + - CAP_SYS_PTRACE env: - name: ENABLE_SSL value: "{{ .Values.networking.ENABLE_SSL }}" diff --git a/dist/images/install.sh b/dist/images/install.sh index 76577af4810..89855274f95 100755 --- a/dist/images/install.sh +++ b/dist/images/install.sh @@ -4275,6 +4275,7 @@ spec: - NET_BIND_SERVICE - NET_RAW - SYS_ADMIN + - CAP_SYS_PTRACE env: - name: ENABLE_SSL value: "$ENABLE_SSL"