File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
charts/sourcegraph-executor/k8s Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 4545 spec :
4646 securityContext :
4747 fsGroup : {{ .Values.executor.kubernetesJob.fsGroup }}
48+ runAsUser : {{ .Values.executor.securityContext.runAsUser }}
49+ runAsGroup : {{ .Values.executor.securityContext.runAsGroup }}
4850 serviceAccountName : sg-executor
4951 containers :
5052 - name : executor
Original file line number Diff line number Diff line change @@ -90,6 +90,12 @@ executor:
9090 namespace : " default"
9191 # -- The path to the kubeconfig file. If not specified, the in-cluster config is used.
9292 kubeconfigPath : " "
93+ # -- The containerSecurityContext for the executor image
94+ containerSecurityContext :
95+ # @default -- `100`; accepts [0, 2147483647]
96+ runAsUser : 100
97+ # @default -- `101`; accepts [0, 2147483647]
98+ runAsGroup : 101
9399
94100 kubernetesJob :
95101 # -- The number of seconds after which a Kubernetes job will be terminated.
You can’t perform that action at this time.
0 commit comments