diff --git a/charts/incubator/omada-controller/Chart.yaml b/charts/incubator/omada-controller/Chart.yaml index 5ab7d7429d0..65772c4dbe1 100644 --- a/charts/incubator/omada-controller/Chart.yaml +++ b/charts/incubator/omada-controller/Chart.yaml @@ -18,7 +18,7 @@ name: omada-controller sources: - https://github.com/mbentley/docker-omada-controller - https://github.com/truecharts/apps/tree/master/charts/omada-controller -version: 4.0.67 +version: 4.0.68 annotations: truecharts.org/catagories: | - media diff --git a/charts/incubator/omada-controller/questions.yaml b/charts/incubator/omada-controller/questions.yaml index 30b8735d56d..4612392aebe 100644 --- a/charts/incubator/omada-controller/questions.yaml +++ b/charts/incubator/omada-controller/questions.yaml @@ -529,6 +529,49 @@ questions: description: "Default" - value: "Memory" description: "Memory" +# Include{persistenceAdvanced} + - variable: work + label: "App working Storage" + description: "Stores the Application data between resets." + 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} diff --git a/charts/incubator/omada-controller/values.yaml b/charts/incubator/omada-controller/values.yaml index 417f008f58e..d761bfbf683 100644 --- a/charts/incubator/omada-controller/values.yaml +++ b/charts/incubator/omada-controller/values.yaml @@ -61,3 +61,6 @@ persistence: data: enabled: true mountPath: "/data" + work: + enabled: true + mountPath: "/work"