From 5946dcc3b09d1c768b57eaae398be062741c5879 Mon Sep 17 00:00:00 2001 From: "Andreas S. Skeidsvoll" Date: Wed, 6 Mar 2024 09:13:56 +0100 Subject: [PATCH] Escape double quotes --- repos/testing/minio/Chart.yaml | 2 +- repos/testing/minio/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repos/testing/minio/Chart.yaml b/repos/testing/minio/Chart.yaml index ca91b4b5..e0d27769 100755 --- a/repos/testing/minio/Chart.yaml +++ b/repos/testing/minio/Chart.yaml @@ -6,7 +6,7 @@ maintainers: email: spteam@metacenter.no home: https://minio.io/ icon: https://secure.gravatar.com/avatar/2a5ff6e3cc19dfd93b2e9e5c790449d3.jpg -version: 1.0.19 +version: 1.0.20 keywords: - File sharing - Cloud storage diff --git a/repos/testing/minio/templates/deployment.yaml b/repos/testing/minio/templates/deployment.yaml index f797afb0..9008ddfb 100644 --- a/repos/testing/minio/templates/deployment.yaml +++ b/repos/testing/minio/templates/deployment.yaml @@ -57,7 +57,7 @@ spec: - /bin/sh - -c - -x - - "mkdir -p /mnt/{{ .Values.persistentStorage.existingClaimName }}/.tools/{{ template "fullname" . }} /mnt/{{ .Values.persistentStorage.existingClaimName }}/.minio.sys && chmod g+w /mnt/{{ .Values.persistentStorage.existingClaimName }}/.tools /mnt/{{ .Values.persistentStorage.existingClaimName }}/.minio.sys && printf '{"version":"1","format":"fs","id":"avoid-going-into-snsd-mode-legacy-is-fine-with-me","fs":{"version":"2"}}' | cat > /mnt/{{ .Values.persistentStorage.existingClaimName }}/.minio.sys/format.json" + - "mkdir -p /mnt/{{ .Values.persistentStorage.existingClaimName }}/.tools/{{ template "fullname" . }} /mnt/{{ .Values.persistentStorage.existingClaimName }}/.minio.sys && chmod g+w /mnt/{{ .Values.persistentStorage.existingClaimName }}/.tools /mnt/{{ .Values.persistentStorage.existingClaimName }}/.minio.sys && printf '{\"version\":\"1\",\"format\":\"fs\",\"id\":\"avoid-going-into-snsd-mode-legacy-is-fine-with-me\",\"fs\":{\"version\":\"2\"}}' | cat > /mnt/{{ .Values.persistentStorage.existingClaimName }}/.minio.sys/format.json" volumeMounts: - name: {{ .Values.persistentStorage.existingClaimName }} mountPath: /mnt/{{ .Values.persistentStorage.existingClaimName }}