فهرست منبع

Publish new changes in catalog

sonicaj 1 سال پیش
والد
کامیت
359b96f32e
30فایلهای تغییر یافته به همراه34 افزوده شده و 11 حذف شده
  1. 0 0
      charts/nextcloud/2.0.1/.helmignore
  2. 0 0
      charts/nextcloud/2.0.1/Chart.lock
  3. 1 1
      charts/nextcloud/2.0.1/Chart.yaml
  4. 0 0
      charts/nextcloud/2.0.1/README.md
  5. 0 0
      charts/nextcloud/2.0.1/app-readme.md
  6. 0 0
      charts/nextcloud/2.0.1/charts/common-1.2.9.tgz
  7. 0 0
      charts/nextcloud/2.0.1/ci/basic-values.yaml
  8. 0 0
      charts/nextcloud/2.0.1/ci/https-values.yaml
  9. 0 0
      charts/nextcloud/2.0.1/ci/no-cron.yaml
  10. 0 0
      charts/nextcloud/2.0.1/ci/nocmd-values.yaml
  11. 0 0
      charts/nextcloud/2.0.1/ci/onedata-values.yaml
  12. 0 0
      charts/nextcloud/2.0.1/ix_values.yaml
  13. 0 0
      charts/nextcloud/2.0.1/metadata.yaml
  14. 7 2
      charts/nextcloud/2.0.1/migrations/migrate
  15. 26 8
      charts/nextcloud/2.0.1/questions.yaml
  16. 0 0
      charts/nextcloud/2.0.1/templates/NOTES.txt
  17. 0 0
      charts/nextcloud/2.0.1/templates/_configuration.tpl
  18. 0 0
      charts/nextcloud/2.0.1/templates/_cron.tpl
  19. 0 0
      charts/nextcloud/2.0.1/templates/_migration.tpl
  20. 0 0
      charts/nextcloud/2.0.1/templates/_nextcloud-configs.tpl
  21. 0 0
      charts/nextcloud/2.0.1/templates/_nextcloud.tpl
  22. 0 0
      charts/nextcloud/2.0.1/templates/_nginx-configuration.tpl
  23. 0 0
      charts/nextcloud/2.0.1/templates/_nginx.tpl
  24. 0 0
      charts/nextcloud/2.0.1/templates/_persistence.tpl
  25. 0 0
      charts/nextcloud/2.0.1/templates/_portal.tpl
  26. 0 0
      charts/nextcloud/2.0.1/templates/_postgres.tpl
  27. 0 0
      charts/nextcloud/2.0.1/templates/_redis.tpl
  28. 0 0
      charts/nextcloud/2.0.1/templates/_service.tpl
  29. 0 0
      charts/nextcloud/2.0.1/templates/common.yaml
  30. 0 0
      charts/nextcloud/2.0.1/to_keep_versions.md

+ 0 - 0
charts/nextcloud/2.0.0/.helmignore → charts/nextcloud/2.0.1/.helmignore


+ 0 - 0
charts/nextcloud/2.0.0/Chart.lock → charts/nextcloud/2.0.1/Chart.lock


+ 1 - 1
charts/nextcloud/2.0.0/Chart.yaml → charts/nextcloud/2.0.1/Chart.yaml

@@ -4,7 +4,7 @@ description: A file sharing server that puts the control and security of your ow
 annotations:
   title: Nextcloud
 type: application
-version: 2.0.0
+version: 2.0.1
 apiVersion: v2
 appVersion: 29.0.0
 kubeVersion: '>=1.16.0-0'

+ 0 - 0
charts/nextcloud/2.0.0/README.md → charts/nextcloud/2.0.1/README.md


+ 0 - 0
charts/nextcloud/2.0.0/app-readme.md → charts/nextcloud/2.0.1/app-readme.md


+ 0 - 0
charts/nextcloud/2.0.0/charts/common-1.2.9.tgz → charts/nextcloud/2.0.1/charts/common-1.2.9.tgz


+ 0 - 0
charts/nextcloud/2.0.0/ci/basic-values.yaml → charts/nextcloud/2.0.1/ci/basic-values.yaml


+ 0 - 0
charts/nextcloud/2.0.0/ci/https-values.yaml → charts/nextcloud/2.0.1/ci/https-values.yaml


+ 0 - 0
charts/nextcloud/2.0.0/ci/no-cron.yaml → charts/nextcloud/2.0.1/ci/no-cron.yaml


+ 0 - 0
charts/nextcloud/2.0.0/ci/nocmd-values.yaml → charts/nextcloud/2.0.1/ci/nocmd-values.yaml


+ 0 - 0
charts/nextcloud/2.0.0/ci/onedata-values.yaml → charts/nextcloud/2.0.1/ci/onedata-values.yaml


+ 0 - 0
charts/nextcloud/2.0.0/ix_values.yaml → charts/nextcloud/2.0.1/ix_values.yaml


+ 0 - 0
charts/nextcloud/2.0.0/metadata.yaml → charts/nextcloud/2.0.1/metadata.yaml


+ 7 - 2
charts/nextcloud/2.0.0/migrations/migrate → charts/nextcloud/2.0.1/migrations/migrate

@@ -25,8 +25,6 @@ def migrate_common_lib(values):
     ]
 
     values.update({
-        'shouldShowStorageToggle': True,
-        'isDataInTheSameVolume': True,
         # Migrate Network
         'ncNetwork': {
             'webPort': values['service']['nodePort'],
@@ -72,6 +70,8 @@ def migrate_common_lib(values):
         },
         # Migrate Storage
         'ncStorage': {
+            'shouldShowStorageToggle': True,
+            'isDataInTheSameVolume': True,
             'pgData': migrate_volume(values['postgresAppVolumeMounts']['postgres-data']),
             'pgBackup': migrate_volume(values['postgresAppVolumeMounts']['postgres-backup']),
             'data': migrate_volume(values['appVolumeMounts']['nextcloud-data']),
@@ -93,6 +93,11 @@ def migrate_common_lib(values):
     return values
 
 def migrate(values):
+    if 'isDataInTheSameVolume' in values.keys():
+        values['ncStorage']['isDataInTheSameVolume'] = values.pop('isDataInTheSameVolume', True)
+        values['ncStorage']['shouldShowStorageToggle'] = values.pop('shouldShowStorageToggle', True)
+        return values
+
     # If this missing, we have already migrated
     if not 'appVolumeMounts' in values.keys():
         return values

+ 26 - 8
charts/nextcloud/2.0.0/questions.yaml → charts/nextcloud/2.0.1/questions.yaml

@@ -40,6 +40,7 @@ questions:
           schema:
             type: string
             default: ""
+            private: true
             required: true
         - variable: host
           label: Host
@@ -127,6 +128,28 @@ questions:
                   show_if: [["enabled", "=", true]]
                   default: "*/15 * * * *"
                   required: true
+        - variable: additionalEnvs
+          label: Additional Environment Variables
+          description: Configure additional environment variables for Nextcloud.
+          schema:
+            type: list
+            default: []
+            items:
+              - variable: env
+                label: Environment Variable
+                schema:
+                  type: dict
+                  attrs:
+                    - variable: name
+                      label: Name
+                      schema:
+                        type: string
+                        required: true
+                    - variable: value
+                      label: Value
+                      schema:
+                        type: string
+                        required: true
 
   - variable: podOptions
     label: ""
@@ -171,7 +194,7 @@ questions:
           description: The port for the Nextcloud Web UI.
           schema:
             type: int
-            default: 9001
+            default: 20810
             min: 9000
             max: 65535
             required: true
@@ -258,7 +281,6 @@ questions:
                 schema:
                   type: string
                   required: true
-                  immutable: true
                   default: ixVolume
                   enum:
                     - value: hostPath
@@ -336,7 +358,6 @@ questions:
                 schema:
                   type: string
                   required: true
-                  immutable: true
                   default: ixVolume
                   enum:
                     - value: hostPath
@@ -366,7 +387,7 @@ questions:
                         required: true
                         immutable: true
                         hidden: true
-                        default: "html"
+                        default: "data"
                     - variable: aclEntries
                       label: ACL Configuration
                       schema:
@@ -415,7 +436,6 @@ questions:
                 schema:
                   type: string
                   required: true
-                  immutable: true
                   default: ixVolume
                   enum:
                     - value: hostPath
@@ -501,7 +521,6 @@ questions:
                 schema:
                   type: string
                   required: true
-                  immutable: true
                   default: ixVolume
                   enum:
                     - value: hostPath
@@ -596,7 +615,6 @@ questions:
                         type: string
                         required: true
                         default: "ixVolume"
-                        immutable: true
                         enum:
                           - value: "hostPath"
                             description: Host Path (Path that already exists on the system)
@@ -749,7 +767,7 @@ questions:
                 schema:
                   type: string
                   max_length: 12
-                  valid_chars: "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$"
+                  valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
                   valid_chars_error: |
                     Valid Memory limit formats are</br>
                     - Suffixed with E/P/T/G/M/K - eg. 1G</br>

+ 0 - 0
charts/nextcloud/2.0.0/templates/NOTES.txt → charts/nextcloud/2.0.1/templates/NOTES.txt


+ 0 - 0
charts/nextcloud/2.0.0/templates/_configuration.tpl → charts/nextcloud/2.0.1/templates/_configuration.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/_cron.tpl → charts/nextcloud/2.0.1/templates/_cron.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/_migration.tpl → charts/nextcloud/2.0.1/templates/_migration.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/_nextcloud-configs.tpl → charts/nextcloud/2.0.1/templates/_nextcloud-configs.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/_nextcloud.tpl → charts/nextcloud/2.0.1/templates/_nextcloud.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/_nginx-configuration.tpl → charts/nextcloud/2.0.1/templates/_nginx-configuration.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/_nginx.tpl → charts/nextcloud/2.0.1/templates/_nginx.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/_persistence.tpl → charts/nextcloud/2.0.1/templates/_persistence.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/_portal.tpl → charts/nextcloud/2.0.1/templates/_portal.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/_postgres.tpl → charts/nextcloud/2.0.1/templates/_postgres.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/_redis.tpl → charts/nextcloud/2.0.1/templates/_redis.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/_service.tpl → charts/nextcloud/2.0.1/templates/_service.tpl


+ 0 - 0
charts/nextcloud/2.0.0/templates/common.yaml → charts/nextcloud/2.0.1/templates/common.yaml


+ 0 - 0
charts/nextcloud/2.0.0/to_keep_versions.md → charts/nextcloud/2.0.1/to_keep_versions.md