Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions charts/sophora-importer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## 2.0.1

- Removed creation of working directories, as this is now done by the importer itself
2 changes: 1 addition & 1 deletion charts/sophora-importer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.0.0
version: 2.0.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
15 changes: 0 additions & 15 deletions charts/sophora-importer/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,21 +107,6 @@ spec:
{{- end }}
securityContext:
privileged: true
lifecycle:
postStart:
exec:
command:
- sh
- '-c'
- |
echo "Creating local import folders for importer:"
{{- range $.Values.sophora.importer.configuration.importer.instances }}
{{- range $folderType, $folderPath := .folders }}
{{- if and (not (hasPrefix "s3://" $folderPath)) (hasKey (dict "watch" 1 "temp" 1 "success" 1 "failure" 1) $folderType) }}
mkdir -pv {{ $folderPath }}
{{- end }}
{{- end }}
{{- end }}
initContainers:
{{/* Transformations Download */}}
{{- with .Values.transformation }}
Expand Down