From 4d0b651a25a0018052e8b8f91288f6a14e2160c9 Mon Sep 17 00:00:00 2001 From: zhangzujian Date: Mon, 23 Sep 2024 07:22:32 +0000 Subject: [PATCH] fix kube-ovn-cni capabilities 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"