From e6a0b19975cd900fc1924d438356bbd42d6c4637 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Thu, 21 Nov 2024 22:58:47 +0100 Subject: [PATCH] adjust SYS_ADMIN to CAP_SYS_ADMIN Signed-off-by: Simon L. --- manual-install/latest.yml | 2 +- nextcloud-aio-helm-chart/update-helm.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/manual-install/latest.yml b/manual-install/latest.yml index 571c9a7e5d4..03d173461bc 100644 --- a/manual-install/latest.yml +++ b/manual-install/latest.yml @@ -217,7 +217,7 @@ services: - collabora cap_add: - MKNOD - - SYS_ADMIN + - CAP_SYS_ADMIN cap_drop: - NET_RAW diff --git a/nextcloud-aio-helm-chart/update-helm.sh b/nextcloud-aio-helm-chart/update-helm.sh index 07ed989c90b..1b8f61b4624 100755 --- a/nextcloud-aio-helm-chart/update-helm.sh +++ b/nextcloud-aio-helm-chart/update-helm.sh @@ -54,6 +54,8 @@ yq -i 'del(.services.[].tmpfs)' latest.yml yq -i 'del(.services.[].cap_drop)' latest.yml # Remove SYS_NICE for imaginary as it is not supported with RPSS sed -i "s|- SYS_NICE$|- NET_BIND_SERVICE|" latest.yml +# cap SYS_ADMIN is called CAP_SYS_ADMIN in k8s +sed -i "s|- SYS_ADMIN$|- CAP_SYS_ADMIN|" latest.yml cat latest.yml kompose convert -c -f latest.yml --namespace nextcloud-aio-namespace