Skip to content

Commit 07d8445

Browse files
author
Muhammad Hamza Zaib
authored
Add security context
1 parent 9edec1b commit 07d8445

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

deployments/kubernetes/templates/chart/values.yaml.tmpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ gitWebhookProxy:
3333
port: 80
3434
protocol: TCP
3535
targetPort: 8080
36+
securityContext:
37+
readOnlyRootFilesystem: true
38+
allowPrivilegeEscalation: false
39+
podSecurityContext:
40+
runAsUser: 1001
41+
runAsNonRoot: true
3642
ingress:
3743
enabled: false
3844
annotations:

0 commit comments

Comments
 (0)