Skip to content

Commit 41efa0a

Browse files
badal773Badal Kumar Prusty
andauthored
set fsGroup to allow non-root app to write to PVC (#6664)
Co-authored-by: Badal Kumar Prusty <[email protected]>
1 parent e3e4610 commit 41efa0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

charts/devtron/templates/gitsensor.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ spec:
7373
securityContext:
7474
runAsGroup: 1000
7575
runAsUser: 1000
76+
fsGroup: 1000
7677
serviceAccountName: devtron-default-sa
7778
{{- include "common.schedulerConfig" (dict "nodeSelector" $.Values.components.gitsensor.nodeSelector "tolerations" $.Values.components.gitsensor.tolerations "imagePullSecrets" $.Values.components.gitsensor.imagePullSecrets "global" $.Values.global) | indent 6 }}
7879
containers:

0 commit comments

Comments
 (0)