Skip to content

Commit 401146b

Browse files
authored
Revert "added support for nfs (#6665)"
This reverts commit 2095de7.
1 parent 2095de7 commit 401146b

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

charts/devtron/templates/gitsensor.yaml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -74,29 +74,9 @@ spec:
7474
securityContext:
7575
runAsGroup: 1000
7676
runAsUser: 1000
77+
fsGroup: 1000
7778
serviceAccountName: devtron-default-sa
7879
{{- include "common.schedulerConfig" (dict "nodeSelector" $.Values.components.gitsensor.nodeSelector "tolerations" $.Values.components.gitsensor.tolerations "imagePullSecrets" $.Values.components.gitsensor.imagePullSecrets "global" $.Values.global) | indent 6 }}
79-
{{- if not $.Values.nfs.enabled }}
80-
initContainers:
81-
- command:
82-
- /bin/sh
83-
- -c
84-
- mkdir -p /git-base/ssh-keys && chown -R devtron:devtron /git-base && chmod 777 /git-base/ssh-keys
85-
image: {{ include "common.image" (dict "component" $.Values.components.gitsensor "global" $.Values.global) }}
86-
imagePullPolicy: IfNotPresent
87-
name: chown-git-base
88-
resources: {}
89-
envFrom:
90-
- configMapRef:
91-
name: devtron-common-cm
92-
securityContext:
93-
runAsUser: 0
94-
terminationMessagePath: /dev/termination-log
95-
terminationMessagePolicy: File
96-
volumeMounts:
97-
- mountPath: /git-base/
98-
name: git-volume
99-
{{- end }}
10080
containers:
10181
- name: git-sensor
10282
image: {{ include "common.image" (dict "component" $.Values.components.gitsensor "global" $.Values.global) }}

charts/devtron/values.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ global:
3737
storageClass: ""
3838
# Add Proxy Configs to be propagated to all the Devtron Microservices.
3939
configs: {}
40-
nfs:
41-
enabled: false
4240
extraManifests: []
4341
installer:
4442
repo: "devtron-labs/devtron"

0 commit comments

Comments
 (0)