fix(gitea): set user and group to 1000 (#2356)

* Gitea: runAsUser git = 1000

fixes #2136, runAsUser 1000, from gitea/helm-chart/values.yaml

* Update values.yaml

* bump

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
agreppin
2022-03-31 20:53:44 +00:00
committed by GitHub
co-authored by Kjeld Schouten-Lebbing Stavros Kois
parent 273fdd57dd
commit 80e19493dc
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ sources:
- https://github.com/go-gitea/gitea - https://github.com/go-gitea/gitea
- https://hub.docker.com/r/gitea/gitea/ - https://hub.docker.com/r/gitea/gitea/
type: application type: application
version: 6.0.14 version: 6.0.15
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- GIT - GIT
+3 -3
View File
@@ -433,19 +433,19 @@ questions:
description: "The UserID of the user running the application" description: "The UserID of the user running the application"
schema: schema:
type: int type: int
default: 568 default: 1000
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: "runAsGroup"
description: The groupID this App of the user running the application" description: The groupID this App of the user running the application"
schema: schema:
type: int type: int
default: 568 default: 1000
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: "fsGroup"
description: "The group that should own ALL storage." description: "The group that should own ALL storage."
schema: schema:
type: int type: int
default: 568 default: 1000
# Include{podSecurityContextAdvanced} # Include{podSecurityContextAdvanced}
# Include{resources} # Include{resources}
+5
View File
@@ -3,6 +3,11 @@ image:
tag: v1.16.5@sha256:0f6cc532ccb61009492bd121fd37dd8c252687033c724ecc44b795ccf88b00f8 tag: v1.16.5@sha256:0f6cc532ccb61009492bd121fd37dd8c252687033c724ecc44b795ccf88b00f8
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
podSecurityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
service: service:
main: main:
ports: ports: