run as non-root again

This commit is contained in:
kjeld Schouten-Lebbing
2021-08-16 14:13:21 +02:00
parent cff574873b
commit 181dfd1002
2 changed files with 43 additions and 0 deletions

View File

@@ -664,6 +664,41 @@ questions:
default: ""
required: true
- variable: securityContext
group: "Security and Permissions"
label: "Security Context"
schema:
type: dict
attrs:
- variable: privileged
label: "Enable privileged mode for Common-Chart based charts"
schema:
type: boolean
default: false
- variable: podSecurityContext
group: "Security and Permissions"
label: "Pod Security Context"
schema:
type: dict
attrs:
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
type: boolean
default: true
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 568
- variable: runAsGroup
label: "runAsGroup"
description: The groupID this App of the user running the application"
schema:
type: int
default: 568
- variable: resources
group: "Resources and Devices"
label: ""

View File

@@ -40,3 +40,11 @@ littlelink:
tiktok: "https://www.tiktok.com/@technotim"
kit: "https://kit.co/technotim"
footer: "thanks for stopping by!"
securityContext:
privileged: false
podSecurityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568