Skip to content

Commit 6d68215

Browse files
committed
fix(nextcloud): truly not require SSE-C
1 parent f184134 commit 6d68215

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

charts/nextcloud/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: nextcloud
3-
version: 6.1.0
3+
version: 6.1.1
44
appVersion: 30.0.0
55
description: A file sharing server that puts the control and security of your own data back into your hands.
66
keywords:

charts/nextcloud/templates/_helpers.tpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,8 @@ S3 as primary object store env vars
307307
secretKeyRef:
308308
name: {{ .Values.nextcloud.objectStore.s3.existingSecret }}
309309
key: {{ .Values.nextcloud.objectStore.s3.secretKeys.sse_c_key }}
310-
{{- else }}
310+
{{- end }}
311+
{{- if (len .Values.nextcloud.objectStore.s3.sse_c_key > 0 and len .Values.nextcloud.objectStore.s3.secretKeys.sse_c_key < 1) }}
311312
- name: OBJECTSTORE_S3_SSE_C_KEY
312313
value: {{ .Values.nextcloud.objectStore.s3.sse_c_key | quote }}
313314
{{- end }}

0 commit comments

Comments
 (0)