From 9a5d71e1137d37bfa4a15b770d9741f294746d04 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 20 Jun 2021 11:58:18 +0300 Subject: [PATCH] Explicitly set persistence db to pvc (#575) --- .../incubator/fireflyiii/SCALE/questions.yaml | 17 ++++++++++++++++- charts/stable/vaultwarden/SCALE/questions.yaml | 18 ++++++++++++++++-- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/charts/incubator/fireflyiii/SCALE/questions.yaml b/charts/incubator/fireflyiii/SCALE/questions.yaml index 92b348d265b..c9df7f29875 100644 --- a/charts/incubator/fireflyiii/SCALE/questions.yaml +++ b/charts/incubator/fireflyiii/SCALE/questions.yaml @@ -380,10 +380,25 @@ questions: type: string default: "db" hidden: true + - variable: type + label: "(Advanced) Type of Storage" + description: "Sets the persistence type" + schema: + type: string + default: "pvc" + hidden: true + enum: + - value: "pvc" + description: "pvc" + - value: "emptyDir" + description: "emptyDir" + - value: "hostPath" + description: "hostPath" - variable: storageClass - label: "Type of Storage" + label: "(Advanced) storageClass" description: " Warning: Anything other than SCALE-ZFS will break rollback!" schema: + show_if: [["type", "=", "pvc"]] type: string default: "SCALE-ZFS" - variable: mountPath diff --git a/charts/stable/vaultwarden/SCALE/questions.yaml b/charts/stable/vaultwarden/SCALE/questions.yaml index 74a7047a4b1..8dd00bc1275 100644 --- a/charts/stable/vaultwarden/SCALE/questions.yaml +++ b/charts/stable/vaultwarden/SCALE/questions.yaml @@ -426,7 +426,6 @@ questions: type: boolean default: false - - variable: service group: "Networking and Services" label: "Configure Service(s)" @@ -766,10 +765,25 @@ questions: type: string default: "db" hidden: true + - variable: type + label: "(Advanced) Type of Storage" + description: "Sets the persistence type" + schema: + type: string + default: "pvc" + hidden: true + enum: + - value: "pvc" + description: "pvc" + - value: "emptyDir" + description: "emptyDir" + - value: "hostPath" + description: "hostPath" - variable: storageClass - label: "Type of Storage" + label: "(Advanced) storageClass" description: " Warning: Anything other than SCALE-ZFS will break rollback!" schema: + show_if: [["type", "=", "pvc"]] type: string default: "SCALE-ZFS" - variable: mountPath