From 407126a62b4edf161be2323d495f34d8a36ae63f Mon Sep 17 00:00:00 2001 From: Dave Sekula Date: Sat, 22 Jul 2023 19:44:53 +0100 Subject: [PATCH] Patch bytesafe data volume --- charts/bytesafe/Chart.yaml | 2 +- charts/bytesafe/templates/statefulSet.yaml | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/charts/bytesafe/Chart.yaml b/charts/bytesafe/Chart.yaml index 497c98b..d8a47e2 100644 --- a/charts/bytesafe/Chart.yaml +++ b/charts/bytesafe/Chart.yaml @@ -9,7 +9,7 @@ maintainers: name: bytesafe-ce sources: - https://github.com/SimCubeLtd/simcube-helm-charts -version: "1.0.1" +version: "1.0.2" dependencies: - name: postgresql diff --git a/charts/bytesafe/templates/statefulSet.yaml b/charts/bytesafe/templates/statefulSet.yaml index c709e44..ca119b8 100644 --- a/charts/bytesafe/templates/statefulSet.yaml +++ b/charts/bytesafe/templates/statefulSet.yaml @@ -29,6 +29,8 @@ spec: {{- end }} spec: volumes: + - name: bytesafe-tmp + emptyDir: {} {{- if and .Values.persistence.enabled .Values.persistence.existingClaim }} - name: bytesafe-data persistentVolumeClaim: @@ -40,9 +42,6 @@ spec: persistentVolumeClaim: claimName: {{ template "bytesafe.fullname" . }}-data {{- end }} - volumes: - - name: bytesafe-tmp - emptyDir: {} containers: - name: bytesafe-ce image: {{.Values.image.repository}}:{{.Values.image.tag}} @@ -130,7 +129,6 @@ spec: name: bytesafe-secrets key: DB_PASSWORD {{- end}} - {{- if .Values.smtp.enabled }} - name: SMTP_PASSWORD valueFrom: