From 86d6cb2f592fd757c8e4aa3ce5277a67408818cb Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Fri, 6 May 2022 21:41:51 +0300 Subject: [PATCH] chore(adguard-home): expose data persistence (#2623) --- charts/incubator/adguard-home/Chart.yaml | 2 +- charts/incubator/adguard-home/questions.yaml | 43 ++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/charts/incubator/adguard-home/Chart.yaml b/charts/incubator/adguard-home/Chart.yaml index 3baca053fd0..a8d7a2c49e4 100644 --- a/charts/incubator/adguard-home/Chart.yaml +++ b/charts/incubator/adguard-home/Chart.yaml @@ -18,7 +18,7 @@ maintainers: name: adguard-home sources: - https://hub.docker.com/r/adguard/adguardhome -version: 0.0.2 +version: 0.0.3 annotations: truecharts.org/catagories: | - media diff --git a/charts/incubator/adguard-home/questions.yaml b/charts/incubator/adguard-home/questions.yaml index 3bff92bac1d..bfef51f64f6 100644 --- a/charts/incubator/adguard-home/questions.yaml +++ b/charts/incubator/adguard-home/questions.yaml @@ -760,6 +760,49 @@ questions: - value: "Memory" description: "Memory" # Include{persistenceAdvanced} + - variable: data + label: "App Data Storage" + description: "Stores the Application Data." + schema: + additional_attrs: true + type: dict + attrs: + - variable: type + label: "Type of Storage" + description: "Sets the persistence type, Anything other than PVC could break rollback!" + schema: + type: string + default: "simplePVC" + enum: + - value: "simplePVC" + description: "PVC (simple)" + - value: "simpleHP" + description: "HostPath (simple)" + - value: "emptyDir" + description: "emptyDir" + - value: "pvc" + description: "pvc" + - value: "hostPath" + description: "hostPath" +# Include{persistenceBasic} + - variable: hostPath + label: "hostPath" + description: "Path inside the container the storage is mounted" + schema: + show_if: [["type", "=", "hostPath"]] + type: hostpath + - variable: medium + label: "EmptyDir Medium" + schema: + show_if: [["type", "=", "emptyDir"]] + type: string + default: "" + enum: + - value: "" + description: "Default" + - value: "Memory" + description: "Memory" +# Include{persistenceAdvanced} # Include{persistenceList}