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:
co-authored by
Kjeld Schouten-Lebbing
Stavros Kois
parent
273fdd57dd
commit
80e19493dc
@@ -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
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user