From a8bb931914424910790318f29398ba5829604f43 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 26 Jul 2021 13:09:46 +0200 Subject: [PATCH] [gitea] Add chroot for gitea --- apps/gitea/Chart.yaml | 2 +- apps/gitea/templates/deployment.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/gitea/Chart.yaml b/apps/gitea/Chart.yaml index 95096c3..c339278 100644 --- a/apps/gitea/Chart.yaml +++ b/apps/gitea/Chart.yaml @@ -15,7 +15,7 @@ type: application # 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. # 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 # incremented each time you make changes to the application. Versions are not expected to diff --git a/apps/gitea/templates/deployment.yaml b/apps/gitea/templates/deployment.yaml index 1712368..1e66932 100644 --- a/apps/gitea/templates/deployment.yaml +++ b/apps/gitea/templates/deployment.yaml @@ -52,6 +52,10 @@ spec: ports: - containerPort: 22 - containerPort: 3000 + securityContext: + capabilities: + add: + - SYS_CHROOT env: - name: USER_UID value: "1000"