From efa9184e41756a5e6eddb8062fa63cdc3336d451 Mon Sep 17 00:00:00 2001 From: sagit <36596628+Sagit-chu@users.noreply.github.com> Date: Sat, 26 Mar 2022 19:18:30 +0800 Subject: [PATCH] fix qb mount (#2287) Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- charts/stable/qinglong/Chart.yaml | 2 +- charts/stable/qinglong/questions.yaml | 221 +------------------------- charts/stable/qinglong/values.yaml | 24 +-- 3 files changed, 6 insertions(+), 241 deletions(-) diff --git a/charts/stable/qinglong/Chart.yaml b/charts/stable/qinglong/Chart.yaml index ee1500fda6e..ba8789bfe73 100644 --- a/charts/stable/qinglong/Chart.yaml +++ b/charts/stable/qinglong/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 kubeVersion: ">=1.16.0-0" name: qinglong -version: 1.0.5 +version: 1.0.6 appVersion: "2.12.0" description: A timed task management panel that supports typescript, javaScript, python3, and shell type: application diff --git a/charts/stable/qinglong/questions.yaml b/charts/stable/qinglong/questions.yaml index 0c8a8d30e86..0c393e19761 100644 --- a/charts/stable/qinglong/questions.yaml +++ b/charts/stable/qinglong/questions.yaml @@ -167,224 +167,9 @@ questions: additional_attrs: true type: dict attrs: - - variable: config - label: "App Config Storage" - description: "Stores the Application Config." - 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} - - variable: log - label: "App Log Storage" - description: "Stores the Application Logs." - 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} - - variable: db - label: "App DB Storage" - description: "Stores the Application DB 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} - - variable: repo - label: "App Repo Storage" - description: "Stores the Application Repo." - 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} - - variable: raw - label: "App Raw Storage" - description: "Stores the Application Raw 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} - - variable: scripts - label: "App Script Storage" - description: "Stores the Application Scripts." + - variable: data + label: "App Data Storage" + description: "Stores the Application Data." schema: additional_attrs: true type: dict diff --git a/charts/stable/qinglong/values.yaml b/charts/stable/qinglong/values.yaml index 629ae26f4ee..17382522e35 100644 --- a/charts/stable/qinglong/values.yaml +++ b/charts/stable/qinglong/values.yaml @@ -19,26 +19,6 @@ service: port: 10176 persistence: - config: + data: enabled: true - mountPath: "/ql/config" - - log: - enabled: true - mountPath: "/ql/log" - - db: - enabled: true - mountPath: "/ql/db" - - repo: - enabled: true - mountPath: "/ql/repo" - - raw: - enabled: true - mountPath: "/ql/raw" - - scripts: - enabled: true - mountPath: "/ql/scripts" + mountPath: "/ql/data"