Skip to content

Commit 3977758

Browse files
author
Robin Sonefors
authored
Merge pull request #2780 from weaveworks/pod-security
Set security context that passes enforce:restricted pod security
2 parents adab8a8 + c4e434c commit 3977758

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

charts/gitops-server/values.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,16 @@ podAnnotations: {}
8585
podSecurityContext: {}
8686
# fsGroup: 2000
8787

88-
securityContext: {}
89-
# capabilities:
90-
# drop:
91-
# - ALL
92-
# readOnlyRootFilesystem: true
93-
# runAsNonRoot: true
94-
# runAsUser: 1000
88+
securityContext:
89+
runAsNonRoot: true
90+
allowPrivilegeEscalation: false
91+
capabilities:
92+
drop:
93+
- ALL
94+
seccompProfile:
95+
type: RuntimeDefault
96+
runAsUser: 1000
97+
readOnlyRootFilesystem: true
9598

9699
service:
97100
create: true

0 commit comments

Comments
 (0)