harden default security options for common

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-25 12:10:24 +02:00
parent a42793a37f
commit 483d29ee0e
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 7.0.14
version: 8.0.0
+9 -3
View File
@@ -247,13 +247,19 @@ dnsConfig:
enableServiceLinks: false
# -- Configure the Security Context for the Pod
podSecurityContext: {}
podSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
supplementalGroups: []
fsGroupChangePolicy: OnRootMismatch
# -- Configure the Security Context for the main container
securityContext:
privileged: false
readOnlyRootFilesystem: false
allowPrivilegeEscalation: true
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
runAsNonRoot: true
# -- Configure the lifecycle for the main container