fix: make sure podSecurityContext is included in both SCALE and Helm installs (#956)
* remove strategy * move runAsNonRoot to securityContext * Add podSecurityContext and securityContext to values pt1 * Add podSecurityContext and securityContext to values pt2 * Add podSecurityContext and securityContext to values pt3 * Add podSecurityContext and securityContext to values pt4 * Add podSecurityContext and securityContext to values pt5 * fix empty lines * Remove secCont from NC - values * fixPermissions for some apps * on apps with perm prob, set fsGroup to 0 also
This commit is contained in:
@@ -991,7 +991,7 @@ questions:
|
||||
label: "runAsNonRoot"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
default: false
|
||||
|
||||
- variable: podSecurityContext
|
||||
group: "Security and Permissions"
|
||||
@@ -1004,19 +1004,19 @@ questions:
|
||||
description: "The UserID of the user running the application"
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
default: 0
|
||||
- variable: runAsGroup
|
||||
label: "runAsGroup"
|
||||
description: The groupID this App of the user running the application"
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
default: 0
|
||||
- variable: fsGroup
|
||||
label: "fsGroup"
|
||||
description: "The group that should own ALL storage."
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
default: 0
|
||||
- variable: supplementalGroups
|
||||
label: "supplemental Groups"
|
||||
schema:
|
||||
|
||||
@@ -13,6 +13,19 @@ image:
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
securityContext:
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: false
|
||||
allowPrivilegeEscalation: true
|
||||
runAsNonRoot: false
|
||||
|
||||
podSecurityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
fsGroup: 0
|
||||
supplementalGroups: []
|
||||
fsGroupChangePolicy: "OnRootMismatch"
|
||||
|
||||
# -- environment variables. See [image docs](https://docs.linuxserver.io/images/docker-mylar3#environment-variables-e) for more details.
|
||||
# @default -- See below
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user