Преглед изворни кода

bump common and update smbconfig ui

Stavros kois пре 1 година
родитељ
комит
31b56c8c03

+ 3 - 3
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"

+ 1 - 1
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:

BIN
library/ix-dev/community/mealie/charts/common-1.2.1.tgz


BIN
library/ix-dev/community/mealie/charts/common-1.2.2.tgz


+ 43 - 42
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
-                        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
+                        type: dict
                         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

+ 0 - 4
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: