Skip to content

Commit 212835e

Browse files
authored
Merge pull request #91 from stakater/allow-setting-security-context
Add security context
2 parents 9edec1b + 07d8445 commit 212835e

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)