Sfoglia il codice sorgente

Publish new changes in catalog

sonicaj 1 anno fa
parent
commit
94e2cf477d
30 ha cambiato i file con 14 aggiunte e 2 eliminazioni
  1. 0 0
      charts/nextcloud/2.0.2/.helmignore
  2. 0 0
      charts/nextcloud/2.0.2/Chart.lock
  3. 1 1
      charts/nextcloud/2.0.2/Chart.yaml
  4. 0 0
      charts/nextcloud/2.0.2/README.md
  5. 0 0
      charts/nextcloud/2.0.2/app-readme.md
  6. 0 0
      charts/nextcloud/2.0.2/charts/common-1.2.9.tgz
  7. 0 0
      charts/nextcloud/2.0.2/ci/basic-values.yaml
  8. 0 0
      charts/nextcloud/2.0.2/ci/https-values.yaml
  9. 0 0
      charts/nextcloud/2.0.2/ci/no-cron.yaml
  10. 0 0
      charts/nextcloud/2.0.2/ci/nocmd-values.yaml
  11. 0 0
      charts/nextcloud/2.0.2/ci/onedata-values.yaml
  12. 0 0
      charts/nextcloud/2.0.2/ix_values.yaml
  13. 0 0
      charts/nextcloud/2.0.2/metadata.yaml
  14. 6 1
      charts/nextcloud/2.0.2/migrations/migrate
  15. 7 0
      charts/nextcloud/2.0.2/questions.yaml
  16. 0 0
      charts/nextcloud/2.0.2/templates/NOTES.txt
  17. 0 0
      charts/nextcloud/2.0.2/templates/_configuration.tpl
  18. 0 0
      charts/nextcloud/2.0.2/templates/_cron.tpl
  19. 0 0
      charts/nextcloud/2.0.2/templates/_migration.tpl
  20. 0 0
      charts/nextcloud/2.0.2/templates/_nextcloud-configs.tpl
  21. 0 0
      charts/nextcloud/2.0.2/templates/_nextcloud.tpl
  22. 0 0
      charts/nextcloud/2.0.2/templates/_nginx-configuration.tpl
  23. 0 0
      charts/nextcloud/2.0.2/templates/_nginx.tpl
  24. 0 0
      charts/nextcloud/2.0.2/templates/_persistence.tpl
  25. 0 0
      charts/nextcloud/2.0.2/templates/_portal.tpl
  26. 0 0
      charts/nextcloud/2.0.2/templates/_postgres.tpl
  27. 0 0
      charts/nextcloud/2.0.2/templates/_redis.tpl
  28. 0 0
      charts/nextcloud/2.0.2/templates/_service.tpl
  29. 0 0
      charts/nextcloud/2.0.2/templates/common.yaml
  30. 0 0
      charts/nextcloud/2.0.2/to_keep_versions.md

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


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


+ 1 - 1
charts/nextcloud/2.0.1/Chart.yaml → charts/nextcloud/2.0.2/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.1
+version: 2.0.2
 apiVersion: v2
 appVersion: 29.0.0
 kubeVersion: '>=1.16.0-0'

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


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


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


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


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


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


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


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


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


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


+ 6 - 1
charts/nextcloud/2.0.1/migrations/migrate → charts/nextcloud/2.0.2/migrations/migrate

@@ -93,13 +93,18 @@ def migrate_common_lib(values):
     return values
 
 def migrate(values):
-    if 'isDataInTheSameVolume' in values.keys():
+    if 'isDataInTheSameVolume' in values.keys() or 'shouldShowStorageToggle' 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():
+        # If 'shouldFixMigration' missing, we should fix migration and then add the key
+        if not 'migrationFixed' in values['ncStorage'].keys():
+            values['ncStorage']['shouldShowStorageToggle'] = True
+            values['ncStorage']['isDataInTheSameVolume'] = True
+            values['ncStorage']['migrationFixed'] = True
         return values
 
 

+ 7 - 0
charts/nextcloud/2.0.1/questions.yaml → charts/nextcloud/2.0.2/questions.yaml

@@ -254,6 +254,13 @@ questions:
             type: boolean
             default: false
             hidden: true
+        # Dummy variable so we can skip "fixing" migration on new installations
+        - variable: migrationFixed
+          label: ""
+          schema:
+            type: boolean
+            default: true
+            hidden: true
         - variable: isDataInTheSameVolume
           label: "Pre v2 Storage Structure (See the tooltip for more information)"
           description: |

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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