diff --git a/charts/incubator/appdaemon/SCALE/questions.yaml b/charts/incubator/appdaemon/SCALE/questions.yaml index 1788b033a7b..854eaa669f4 100644 --- a/charts/incubator/appdaemon/SCALE/questions.yaml +++ b/charts/incubator/appdaemon/SCALE/questions.yaml @@ -117,7 +117,7 @@ questions: description: "URL of your appdaemon dashboard" schema: type: string - default: "" + default: "http://$HOSTNAME:5050" required: true - variable: LATITUDE label: "Latitude" @@ -279,7 +279,123 @@ questions: max: 65535 default: 36052 required: true - + - variable: persistence + label: "Integrated Persistent Storage" + description: "Integrated Persistent Storage" + group: "Storage and Persistence" + schema: + type: dict + attrs: + - variable: conf + label: "App Config Storage" + description: "Stores the Application Configuration." + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the storage" + schema: + type: boolean + default: true + - variable: type + label: "(Advanced) Type of Storage" + description: "Sets the persistence type" + schema: + type: string + default: "pvc" + enum: + - value: "pvc" + description: "pvc" + - value: "emptyDir" + description: "emptyDir" + - value: "hostPath" + description: "hostPath" + - variable: storageClass + label: "(Advanced) storageClass" + description: " Warning: Anything other than SCALE-ZFS will break rollback!" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "SCALE-ZFS" + - variable: setPermissions + label: "Automatic Permissions" + description: "Automatically set permissions on install" + schema: + show_if: [["type", "=", "hostPath"]] + type: boolean + default: true + - variable: readOnly + label: "readOnly" + schema: + type: boolean + default: false + - variable: hostPath + label: "hostPath" + description: "Path inside the container the storage is mounted" + schema: + show_if: [["type", "=", "hostPath"]] + type: hostpath + - variable: hostPathType + label: "hostPath Type" + schema: + show_if: [["type", "=", "hostPath"]] + type: string + default: "" + enum: + - value: "" + description: "Default" + - value: "DirectoryOrCreate" + description: "DirectoryOrCreate" + - value: "Directory" + description: "Directory" + - value: "FileOrCreate" + description: "FileOrCreate" + - value: "File" + description: "File" + - value: "Socket" + description: "Socket" + - value: "CharDevice" + description: "CharDevice" + - value: "BlockDevice" + description: "BlockDevice" + - variable: mountPath + label: "mountPath" + description: "Path inside the container the storage is mounted" + schema: + type: string + default: "/conf" + hidden: true + - variable: medium + label: "EmptyDir Medium" + schema: + show_if: [["type", "=", "emptyDir"]] + type: string + default: "" + enum: + - value: "" + description: "Default" + - value: "Memory" + description: "Memory" + - variable: accessMode + label: "Access Mode (Advanced)" + description: "Allow or disallow multiple PVC's writhing to the same PV" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "ReadWriteOnce" + enum: + - value: "ReadWriteOnce" + description: "ReadWriteOnce" + - value: "ReadOnlyMany" + description: "ReadOnlyMany" + - value: "ReadWriteMany" + description: "ReadWriteMany" + - variable: size + label: "Size quotum of storage" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "100Gi" - variable: persistenceList label: "Additional app storage" group: "Storage and Persistence" diff --git a/charts/incubator/appdaemon/values.yaml b/charts/incubator/appdaemon/values.yaml index 5038768a3f7..c17735094cc 100644 --- a/charts/incubator/appdaemon/values.yaml +++ b/charts/incubator/appdaemon/values.yaml @@ -18,7 +18,7 @@ env: LATITUDE: 46 LONGITUDE: -94 ELEVATION: 1217 - DASH_URL: "http://0.0.0.0:5050" + DASH_URL: "http://$HOSTNAME:5050" service: main: