From d38fef1881d04ee6af7db82b9d880a5ffb4663bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A5=96=E5=BB=BA?= Date: Mon, 23 Sep 2024 17:53:30 +0800 Subject: [PATCH] fix kube-ovn-cni capabilities (#4550) Signed-off-by: zhangzujian --- charts/kube-ovn/templates/ovncni-ds.yaml | 2 +- dist/images/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/kube-ovn/templates/ovncni-ds.yaml b/charts/kube-ovn/templates/ovncni-ds.yaml index 75b30e64f53..59883352f44 100644 --- a/charts/kube-ovn/templates/ovncni-ds.yaml +++ b/charts/kube-ovn/templates/ovncni-ds.yaml @@ -130,7 +130,7 @@ spec: - NET_BIND_SERVICE - NET_RAW - SYS_ADMIN - - CAP_SYS_PTRACE + - SYS_PTRACE {{- if not .Values.DISABLE_MODULES_MANAGEMENT }} - SYS_MODULE {{- end }} diff --git a/dist/images/install.sh b/dist/images/install.sh index 85106191cf1..e27a59e7d59 100755 --- a/dist/images/install.sh +++ b/dist/images/install.sh @@ -4508,7 +4508,7 @@ spec: - SYS_ADMIN - SYS_MODULE - SYS_NICE - - CAP_SYS_PTRACE + - SYS_PTRACE env: - name: ENABLE_SSL value: "$ENABLE_SSL"