Skip to content

Commit 01fc294

Browse files
committed
fix tmp folder with s3 again
1 parent 11005cc commit 01fc294

File tree

3 files changed

+21
-17
lines changed

3 files changed

+21
-17
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Change Log
22

3+
## 0.16.5
4+
5+
**Release date:** 2023-04-10
6+
7+
![AppVersion: 1.21.0](https://img.shields.io/static/v1?label=AppVersion&message=1.21.0&color=success&logo=)
8+
![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm)
9+
10+
11+
* fix tmp folder with s3 again
12+
13+
### Default value changes
14+
15+
```diff
16+
# No changes in this release
17+
```
18+
319
## 0.16.4
420

521
**Release date:** 2023-04-10

Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description: >
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.16.4
16+
version: 0.16.5
1717

1818
# This is the version number of the application being deployed. This version number should be
1919
# incremented each time you make changes to the application. Versions are not expected to
@@ -55,4 +55,4 @@ annotations:
5555
- name: Helm Chart
5656
url: https://github.com/clowder-framework/clowder-helm
5757
artifacthub.io/changes: |
58-
- "fix data folder for s3"
58+
- "fix tmp folder with s3 again"

templates/deployment.yaml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ spec:
3535
secretKeyRef:
3636
name: {{ include "clowder.fullname" . }}
3737
key: mongodb-uri
38-
{{- if not (or .Values.storage.s3 .Values.minio.enabled) }}
39-
- name: chown-data-folder
38+
- name: setup-data-folder
4039
image: busybox:latest
4140
command: ["/bin/sh"]
4241
args:
@@ -48,24 +47,13 @@ spec:
4847
runAsUser: 0
4948
runAsGroup: 0
5049
volumeMounts:
50+
{{- if not (or .Values.storage.s3 .Values.minio.enabled) }}
5151
- name: data
5252
mountPath: /home/clowder/data
53+
{{- end }}
5354
{{- with .Values.extraVolumeMounts }}
5455
{{- . | toYaml | nindent 10 }}
5556
{{- end }}
56-
{{- else }}
57-
- name: create-tmp-folder
58-
image: busybox:latest
59-
command: ["/bin/sh"]
60-
args:
61-
- -c
62-
- >-
63-
mkdir -p {{ .Values.tempfolder }}
64-
{{- with .Values.extraVolumeMounts }}
65-
volumeMounts:
66-
{{- . | toYaml | nindent 10 }}
67-
{{- end }}
68-
{{- end }}
6957
containers:
7058
- name: {{ .Chart.Name }}
7159
image: "{{ .Values.image.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag | default .Chart.AppVersion }}"

0 commit comments

Comments
 (0)