From 6875a38a2693d623b8f220abc529ed5514bfd578 Mon Sep 17 00:00:00 2001 From: WrenIX Date: Sun, 19 Nov 2023 18:06:44 +0100 Subject: [PATCH 1/2] fix: after #465 (remove before --- charts/nextcloud/Chart.yaml | 2 +- charts/nextcloud/templates/config.yaml | 2 +- charts/nextcloud/templates/deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 0a55845f..26b03113 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 4.5.1 +version: 4.5.2 appVersion: 27.1.3 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: diff --git a/charts/nextcloud/templates/config.yaml b/charts/nextcloud/templates/config.yaml index 6976741a..a6a7cb4c 100644 --- a/charts/nextcloud/templates/config.yaml +++ b/charts/nextcloud/templates/config.yaml @@ -11,7 +11,7 @@ metadata: data: {{- range $key, $value := .Values.nextcloud.configs }} {{ $key }}: |- - {{ $value | nindent 4 }} + {{- $value | nindent 4 }} {{- end }} {{- if .Values.nextcloud.defaultConfigs }} {{- if index .Values.nextcloud.defaultConfigs ".htaccess" }} diff --git a/charts/nextcloud/templates/deployment.yaml b/charts/nextcloud/templates/deployment.yaml index 5b44e8bc..6a8e8b92 100644 --- a/charts/nextcloud/templates/deployment.yaml +++ b/charts/nextcloud/templates/deployment.yaml @@ -350,7 +350,7 @@ spec: name: {{ template "nextcloud.fullname" . }}-nginxconfig {{- end }} {{- with .Values.nextcloud.extraVolumes }} - {{- toYaml . | nindent 6 }} + {{- toYaml . | nindent 8 }} {{- end }} securityContext: {{- with .Values.securityContext }} From fae530d6b8649b64f3dc75759111827cebebc399 Mon Sep 17 00:00:00 2001 From: WrenIX <133280015+wrenix@users.noreply.github.com> Date: Sun, 19 Nov 2023 22:51:39 +0100 Subject: [PATCH 2/2] fix: podLabel inside of with Signed-off-by: WrenIX <133280015+wrenix@users.noreply.github.com> --- charts/nextcloud/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/nextcloud/templates/deployment.yaml b/charts/nextcloud/templates/deployment.yaml index 6a8e8b92..af7704a7 100644 --- a/charts/nextcloud/templates/deployment.yaml +++ b/charts/nextcloud/templates/deployment.yaml @@ -35,7 +35,7 @@ spec: {{ template "nextcloud.redis.fullname" . }}-client: "true" {{- end }} {{- with .Values.podLabels }} - {{- toYaml .Values.podLabels | nindent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} annotations: nextcloud-config-hash: {{ print (toJson .Values.nextcloud.defaultConfigs) "-" (toJson .Values.nextcloud.configs) | sha256sum }}