Skip to content

Commit

Permalink
adjust SYS_ADMIN to CAP_SYS_ADMIN
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L. <[email protected]>
  • Loading branch information
szaimen committed Nov 21, 2024
1 parent cf6adc1 commit e6a0b19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manual-install/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ services:
- collabora
cap_add:
- MKNOD
- SYS_ADMIN
- CAP_SYS_ADMIN
cap_drop:
- NET_RAW

Expand Down
2 changes: 2 additions & 0 deletions nextcloud-aio-helm-chart/update-helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6a0b19

Please sign in to comment.