adjust SYS_ADMIN to CAP_SYS_ADMIN

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-11-21 22:58:47 +01:00
parent cf6adc1075
commit 069b414d81
2 changed files with 3 additions and 1 deletions

View file

@ -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