Merge pull request #226 from tmikulin/improve-k8-security
Enforce security in k8 files
This commit is contained in:
commit
a40e250464
@ -17,13 +17,14 @@ podAnnotations: {}
|
|||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
# fsGroup: 2000
|
# fsGroup: 2000
|
||||||
|
|
||||||
securityContext: {}
|
securityContext:
|
||||||
# capabilities:
|
allowPrivilegeEscalation: false
|
||||||
# drop:
|
capabilities:
|
||||||
# - ALL
|
drop:
|
||||||
|
- ALL
|
||||||
# readOnlyRootFilesystem: true
|
# readOnlyRootFilesystem: true
|
||||||
# runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
# runAsUser: 1000
|
runAsUser: 1000
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
@ -17,13 +17,15 @@ podAnnotations: {}
|
|||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
# fsGroup: 2000
|
# fsGroup: 2000
|
||||||
|
|
||||||
securityContext: {}
|
securityContext:
|
||||||
# capabilities:
|
allowPrivilegeEscalation: false
|
||||||
# drop:
|
capabilities:
|
||||||
# - ALL
|
drop:
|
||||||
# readOnlyRootFilesystem: true
|
- all
|
||||||
# runAsNonRoot: true
|
#readOnlyRootFilesystem: true
|
||||||
# runAsUser: 1000
|
runAsNonRoot: true
|
||||||
|
runAsUser: 1000
|
||||||
|
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
Loading…
x
Reference in New Issue
Block a user