diff --git a/library/ix-dev/community/mealie/Chart.lock b/library/ix-dev/community/mealie/Chart.lock index 5e26597b51..2eaa87eae5 100644 --- a/library/ix-dev/community/mealie/Chart.lock +++ b/library/ix-dev/community/mealie/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: common repository: file://../../../common - version: 1.2.1 -digest: sha256:d695592ea5213fe64453171205ca326015d02df3888a7858becc0c733b0de4c7 -generated: "2023-11-03T16:04:06.480608072+02:00" + version: 1.2.2 +digest: sha256:fb077cb81f6acecd5c9e6adc22a18e156f780cd78f27198cdb47810f95364b56 +generated: "2023-11-03T19:39:39.781971494+02:00" diff --git a/library/ix-dev/community/mealie/Chart.yaml b/library/ix-dev/community/mealie/Chart.yaml index ccb172e071..bb7aa07d8f 100644 --- a/library/ix-dev/community/mealie/Chart.yaml +++ b/library/ix-dev/community/mealie/Chart.yaml @@ -14,7 +14,7 @@ maintainers: dependencies: - name: common repository: file://../../../common - version: 1.2.1 + version: 1.2.2 home: https://mealie.io icon: https://media.sys.truenas.net/apps/mealie/icons/icon.png sources: diff --git a/library/ix-dev/community/mealie/charts/common-1.2.1.tgz b/library/ix-dev/community/mealie/charts/common-1.2.1.tgz deleted file mode 100644 index bca2e62f51..0000000000 Binary files a/library/ix-dev/community/mealie/charts/common-1.2.1.tgz and /dev/null differ diff --git a/library/ix-dev/community/mealie/charts/common-1.2.2.tgz b/library/ix-dev/community/mealie/charts/common-1.2.2.tgz new file mode 100644 index 0000000000..8b18bbd517 Binary files /dev/null and b/library/ix-dev/community/mealie/charts/common-1.2.2.tgz differ diff --git a/library/ix-dev/community/mealie/questions.yaml b/library/ix-dev/community/mealie/questions.yaml index 0ea1dcbc55..01298b5c05 100644 --- a/library/ix-dev/community/mealie/questions.yaml +++ b/library/ix-dev/community/mealie/questions.yaml @@ -491,50 +491,51 @@ questions: type: dict show_if: [["aclEnable", "=", true]] attrs: [] - - variable: server - label: Server - description: The server for the SMB share. + - variable: smbConfig + label: SMB Share Configuration + description: The configuration for the SMB Share. schema: - type: string + type: dict show_if: [["type", "=", "smb-pv-pvc"]] - required: true - - variable: share - label: Share - description: The share name for the SMB share. - schema: - type: string - show_if: [["type", "=", "smb-pv-pvc"]] - required: true - - variable: domain - label: Domain (Optional) - description: The domain for the SMB share. - schema: - type: string - show_if: [["type", "=", "smb-pv-pvc"]] - - variable: username - label: Username - description: The username for the SMB share. - schema: - type: string - show_if: [["type", "=", "smb-pv-pvc"]] - required: true - - variable: password - label: Password - description: The password for the SMB share. - schema: - type: string - show_if: [["type", "=", "smb-pv-pvc"]] - required: true - private: true - - variable: size - label: Size (in Gi) - description: The size of the volume quota. - schema: - type: int - show_if: [["type", "=", "smb-pv-pvc"]] - required: true - min: 1 - default: 1 + attrs: + - variable: server + label: Server + description: The server for the SMB share. + schema: + type: string + required: true + - variable: share + label: Share + description: The share name for the SMB share. + schema: + type: string + required: true + - variable: domain + label: Domain (Optional) + description: The domain for the SMB share. + schema: + type: string + - variable: username + label: Username + description: The username for the SMB share. + schema: + type: string + required: true + - variable: password + label: Password + description: The password for the SMB share. + schema: + type: string + required: true + private: true + - variable: size + label: Size (in Gi) + description: The size of the volume quota. + schema: + type: int + required: true + min: 1 + default: 1 - variable: resources group: Resources Configuration diff --git a/library/ix-dev/community/mealie/templates/_persistence.tpl b/library/ix-dev/community/mealie/templates/_persistence.tpl index 717da277af..a61b855cfb 100644 --- a/library/ix-dev/community/mealie/templates/_persistence.tpl +++ b/library/ix-dev/community/mealie/templates/_persistence.tpl @@ -16,10 +16,6 @@ persistence: mountPath: /tmp {{- range $idx, $storage := .Values.mealieStorage.additionalStorages }} {{ printf "mealie-%v" (int $idx) }}: - {{- $size := "" -}} - {{- if $storage.size -}} - {{- $size = (printf "%vGi" $storage.size) -}} - {{- end }} enabled: true {{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 2 }} targetSelector: