[gitea] Add chroot for gitea

This commit is contained in:
Nico Schottelius 2021-07-26 13:09:46 +02:00
parent 3374e6efc7
commit a8bb931914
2 changed files with 5 additions and 1 deletions

View file

@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.0 version: 0.3.0
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to

View file

@ -52,6 +52,10 @@ spec:
ports: ports:
- containerPort: 22 - containerPort: 22
- containerPort: 3000 - containerPort: 3000
securityContext:
capabilities:
add:
- SYS_CHROOT
env: env:
- name: USER_UID - name: USER_UID
value: "1000" value: "1000"