mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
adjust SYS_ADMIN to CAP_SYS_ADMIN
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
cf6adc1075
commit
069b414d81
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue