fix(jekins): Fix permission (#3439)

* fix permission

* bump
This commit is contained in:
sagit
2022-08-11 08:03:45 +00:00
committed by GitHub
parent 7ef110f221
commit ded9a06fa0
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/jenkins - https://github.com/truecharts/charts/tree/master/charts/incubator/jenkins
- https://hub.docker.com/r/jenkins/jenkins - https://hub.docker.com/r/jenkins/jenkins
type: application type: application
version: 0.0.3 version: 0.1.0
annotations: annotations:
truecharts.org/SCALE-support: "true" truecharts.org/SCALE-support: "true"
truecharts.org/catagories: | truecharts.org/catagories: |
+4 -4
View File
@@ -147,7 +147,7 @@ questions:
label: "ReadOnly Root Filesystem" label: "ReadOnly Root Filesystem"
schema: schema:
type: boolean type: boolean
default: true default: false
- variable: allowPrivilegeEscalation - variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation" label: "Allow Privilege Escalation"
schema: schema:
@@ -157,7 +157,7 @@ questions:
label: "runAsNonRoot" label: "runAsNonRoot"
schema: schema:
type: boolean type: boolean
default: true default: false
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{podSecurityContextRoot} # Include{podSecurityContextRoot}
- variable: runAsUser - variable: runAsUser
@@ -165,13 +165,13 @@ 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: 1000 default: 0
- 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: 1000 default: 0
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: "fsGroup"
description: "The group that should own ALL storage." description: "The group that should own ALL storage."
+6 -2
View File
@@ -4,10 +4,14 @@ image:
tag: v2.362@sha256:6ead1a1da8711e3da9bbdbe95dc8c4cf72389a5c22ddaba13b94028fdbf5f425 tag: v2.362@sha256:6ead1a1da8711e3da9bbdbe95dc8c4cf72389a5c22ddaba13b94028fdbf5f425
podSecurityContext: podSecurityContext:
runAsGroup: 1000 runAsGroup: 0
runAsUser: 1000 runAsUser: 0
fsGroup: 1000 fsGroup: 1000
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
env: env:
JENKINS_JAVA_OPTS: "" JENKINS_JAVA_OPTS: ""