Skip to content

Commit b1500eb

Browse files
Badal Kumar PrustyBadal Kumar Prusty
Badal Kumar Prusty
authored and
Badal Kumar Prusty
committed
removed init-container from git-sensor
1 parent 15f25a0 commit b1500eb

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

charts/devtron/templates/gitsensor.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -75,25 +75,6 @@ spec:
7575
runAsUser: 1000
7676
serviceAccountName: devtron-default-sa
7777
{{- include "common.schedulerConfig" (dict "nodeSelector" $.Values.components.gitsensor.nodeSelector "tolerations" $.Values.components.gitsensor.tolerations "imagePullSecrets" $.Values.components.gitsensor.imagePullSecrets "global" $.Values.global) | indent 6 }}
78-
initContainers:
79-
- command:
80-
- /bin/sh
81-
- -c
82-
- mkdir -p /git-base/ssh-keys && chown -R devtron:devtron /git-base && chmod 777 /git-base/ssh-keys
83-
image: {{ include "common.image" (dict "component" $.Values.components.gitsensor "global" $.Values.global) }}
84-
imagePullPolicy: IfNotPresent
85-
name: chown-git-base
86-
resources: {}
87-
envFrom:
88-
- configMapRef:
89-
name: devtron-common-cm
90-
securityContext:
91-
runAsUser: 0
92-
terminationMessagePath: /dev/termination-log
93-
terminationMessagePolicy: File
94-
volumeMounts:
95-
- mountPath: /git-base/
96-
name: git-volume
9778
containers:
9879
- name: git-sensor
9980
image: {{ include "common.image" (dict "component" $.Values.components.gitsensor "global" $.Values.global) }}

0 commit comments

Comments
 (0)