Skip to content

Commit befde5a

Browse files
committed
fix: harden sheaft chart security context
1 parent 827b43a commit befde5a

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

charts/sheaft/values.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,17 @@ metrics:
6767
env: []
6868
envFrom: []
6969
resources: {}
70-
podSecurityContext: {}
71-
securityContext: {}
70+
podSecurityContext:
71+
fsGroup: 65532
72+
securityContext:
73+
runAsNonRoot: true
74+
runAsUser: 65532
75+
runAsGroup: 65532
76+
allowPrivilegeEscalation: false
77+
readOnlyRootFilesystem: true
78+
capabilities:
79+
drop:
80+
- ALL
7281
podAnnotations: {}
7382
imagePullSecrets: []
7483
extraVolumes: []

0 commit comments

Comments
 (0)