harden default security options for common
This commit is contained in:
@@ -15,4 +15,4 @@ maintainers:
|
|||||||
name: common
|
name: common
|
||||||
sources: null
|
sources: null
|
||||||
type: library
|
type: library
|
||||||
version: 7.0.14
|
version: 8.0.0
|
||||||
|
|||||||
@@ -247,13 +247,19 @@ dnsConfig:
|
|||||||
enableServiceLinks: false
|
enableServiceLinks: false
|
||||||
|
|
||||||
# -- Configure the Security Context for the Pod
|
# -- 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
|
# -- Configure the Security Context for the main container
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: false
|
privileged: false
|
||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: true
|
||||||
allowPrivilegeEscalation: true
|
allowPrivilegeEscalation: false
|
||||||
|
runAsNonRoot: true
|
||||||
|
|
||||||
|
|
||||||
# -- Configure the lifecycle for the main container
|
# -- Configure the lifecycle for the main container
|
||||||
|
|||||||
Reference in New Issue
Block a user