Skip to content

Commit 11005cc

Browse files
committed
fix data folder for s3
1 parent 1a90763 commit 11005cc

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
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.4
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 data folder for s3
12+
13+
### Default value changes
14+
15+
```diff
16+
# No changes in this release
17+
```
18+
319
## 0.16.3
420

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

Chart.yaml

Lines changed: 2 additions & 6 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.3
16+
version: 0.16.4
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,8 +55,4 @@ annotations:
5555
- name: Helm Chart
5656
url: https://github.com/clowder-framework/clowder-helm
5757
artifacthub.io/changes: |
58-
- "release 0.16.3"
59-
- "make sure tmp folder exists (fixes #7)"
60-
- "update digest extractor"
61-
- "update changelog"
62-
- "Merge branch 'main' of github.com:clowder-framework/clowder-helm"
58+
- "fix data folder for s3"

templates/deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ spec:
4242
args:
4343
- -c
4444
- >-
45+
mkdir -p {{ .Values.tempfolder }} &&
4546
chown "{{ .Values.userid }}:{{ .Values.groupid }}" /home/clowder/data {{ .Values.tempfolder }}
4647
securityContext:
4748
runAsUser: 0
@@ -52,20 +53,19 @@ spec:
5253
{{- with .Values.extraVolumeMounts }}
5354
{{- . | toYaml | nindent 10 }}
5455
{{- end }}
55-
{{- end }}
56+
{{- else }}
5657
- name: create-tmp-folder
5758
image: busybox:latest
5859
command: ["/bin/sh"]
5960
args:
6061
- -c
6162
- >-
6263
mkdir -p {{ .Values.tempfolder }}
63-
volumeMounts:
64-
- name: data
65-
mountPath: /home/clowder/data
6664
{{- with .Values.extraVolumeMounts }}
65+
volumeMounts:
6766
{{- . | toYaml | nindent 10 }}
6867
{{- end }}
68+
{{- end }}
6969
containers:
7070
- name: {{ .Chart.Name }}
7171
image: "{{ .Values.image.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag | default .Chart.AppVersion }}"

0 commit comments

Comments
 (0)