Skip to content

Commit 5a1132a

Browse files
author
KiraSchwandt
committed
delete importer code that creates working directory
1 parent d9a3a37 commit 5a1132a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

charts/sophora-importer/templates/statefulset.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -107,21 +107,6 @@ spec:
107107
{{- end }}
108108
securityContext:
109109
privileged: true
110-
lifecycle:
111-
postStart:
112-
exec:
113-
command:
114-
- sh
115-
- '-c'
116-
- |
117-
echo "Creating local import folders for importer:"
118-
{{- range $.Values.sophora.importer.configuration.importer.instances }}
119-
{{- range $folderType, $folderPath := .folders }}
120-
{{- if and (not (hasPrefix "s3://" $folderPath)) (hasKey (dict "watch" 1 "temp" 1 "success" 1 "failure" 1) $folderType) }}
121-
mkdir -pv {{ $folderPath }}
122-
{{- end }}
123-
{{- end }}
124-
{{- end }}
125110
initContainers:
126111
{{/* Transformations Download */}}
127112
{{- with .Values.transformation }}

0 commit comments

Comments
 (0)