diff --git a/catalog.json b/catalog.json index 329b379213..7a5f3a3af6 100644 --- a/catalog.json +++ b/catalog.json @@ -415,9 +415,9 @@ "healthy_error": null, "home": "https://www.elastic.co", "location": "/__w/charts/charts/charts/elastic-search", - "latest_version": "1.0.7", + "latest_version": "1.0.8", "latest_app_version": "8.8.0", - "latest_human_version": "8.8.0_1.0.7", + "latest_human_version": "8.8.0_1.0.8", "last_update": "2023-05-26 11:50:47", "name": "elastic-search", "recommended": false, @@ -452,9 +452,9 @@ "healthy_error": null, "home": "https://prometheus.io", "location": "/__w/charts/charts/charts/prometheus", - "latest_version": "1.0.7", + "latest_version": "1.0.8", "latest_app_version": "v2.44.0", - "latest_human_version": "v2.44.0_1.0.7", + "latest_human_version": "v2.44.0_1.0.8", "last_update": "2023-05-23 17:11:03", "name": "prometheus", "recommended": false, @@ -608,9 +608,9 @@ "healthy_error": null, "home": "https://min.io", "location": "/__w/charts/charts/enterprise/minio", - "latest_version": "1.0.9", + "latest_version": "1.0.10", "latest_app_version": "2023-03-24", - "latest_human_version": "2023-03-24_1.0.9", + "latest_human_version": "2023-03-24_1.0.10", "last_update": "2023-05-23 17:11:03", "name": "minio", "recommended": false, @@ -650,9 +650,9 @@ "healthy_error": null, "home": "https://github.com/qdm12/ddns-updater", "location": "/__w/charts/charts/community/ddns-updater", - "latest_version": "1.0.2", + "latest_version": "1.0.3", "latest_app_version": "latest", - "latest_human_version": "latest_1.0.2", + "latest_human_version": "latest_1.0.3", "last_update": "2023-05-23 17:11:03", "name": "ddns-updater", "recommended": false, @@ -687,9 +687,9 @@ "healthy_error": null, "home": "https://github.com/dani-garcia/vaultwarden", "location": "/__w/charts/charts/community/vaultwarden", - "latest_version": "1.0.9", + "latest_version": "1.0.10", "latest_app_version": "1.28.1", - "latest_human_version": "1.28.1_1.0.9", + "latest_human_version": "1.28.1_1.0.10", "last_update": "2023-05-23 17:11:03", "name": "vaultwarden", "recommended": false, @@ -725,9 +725,9 @@ "healthy_error": null, "home": "https://terraria.org/", "location": "/__w/charts/charts/community/terraria", - "latest_version": "1.0.1", + "latest_version": "1.0.2", "latest_app_version": "1.4.4.9", - "latest_human_version": "1.4.4.9_1.0.1", + "latest_human_version": "1.4.4.9_1.0.2", "last_update": "2023-05-11 16:20:35", "name": "terraria", "recommended": false, @@ -762,9 +762,9 @@ "healthy_error": null, "home": "https://www.minecraft.net/en-us", "location": "/__w/charts/charts/community/minecraft", - "latest_version": "1.0.1", + "latest_version": "1.0.2", "latest_app_version": "2023.3.0", - "latest_human_version": "2023.3.0_1.0.1", + "latest_human_version": "2023.3.0_1.0.2", "last_update": "2023-05-11 16:20:35", "name": "minecraft", "recommended": false, @@ -798,9 +798,9 @@ "healthy_error": null, "home": "https://gitea.io/en-us", "location": "/__w/charts/charts/community/gitea", - "latest_version": "1.0.5", + "latest_version": "1.0.6", "latest_app_version": "1.19.0", - "latest_human_version": "1.19.0_1.0.5", + "latest_human_version": "1.19.0_1.0.6", "last_update": "2023-05-23 17:11:03", "name": "gitea", "recommended": false, @@ -835,9 +835,9 @@ "healthy_error": null, "home": "https://www.qbittorrent.org/", "location": "/__w/charts/charts/community/qbittorrent", - "latest_version": "1.0.10", + "latest_version": "1.0.11", "latest_app_version": "4.5.2", - "latest_human_version": "4.5.2_1.0.10", + "latest_human_version": "4.5.2_1.0.11", "last_update": "2023-05-23 17:11:03", "name": "qbittorrent", "recommended": false, @@ -873,9 +873,9 @@ "healthy_error": null, "home": "https://github.com/AdguardTeam/AdGuardHome", "location": "/__w/charts/charts/community/adguard-home", - "latest_version": "1.0.4", + "latest_version": "1.0.5", "latest_app_version": "v0.107.26", - "latest_human_version": "v0.107.26_1.0.4", + "latest_human_version": "v0.107.26_1.0.5", "last_update": "2023-05-23 17:11:03", "name": "adguard-home", "recommended": false, @@ -915,7 +915,7 @@ "latest_version": "1.0.4", "latest_app_version": "v1.42.0", "latest_human_version": "v1.42.0_1.0.4", - "last_update": "2023-05-11 16:20:35", + "last_update": "2023-05-29 11:45:19", "name": "tailscale", "recommended": false, "title": "Tailscale", @@ -947,9 +947,9 @@ "healthy_error": null, "home": "https://jellyfin.org/", "location": "/__w/charts/charts/community/jellyfin", - "latest_version": "1.0.3", + "latest_version": "1.0.4", "latest_app_version": "10.8.10", - "latest_human_version": "10.8.10_1.0.3", + "latest_human_version": "10.8.10_1.0.4", "last_update": "2023-05-23 17:11:03", "name": "jellyfin", "recommended": false, @@ -989,9 +989,9 @@ "healthy_error": null, "home": "https://www.mumble.info/", "location": "/__w/charts/charts/community/mumble", - "latest_version": "1.0.1", + "latest_version": "1.0.2", "latest_app_version": "v1.4.230", - "latest_human_version": "v1.4.230_1.0.1", + "latest_human_version": "v1.4.230_1.0.2", "last_update": "2023-05-11 16:20:35", "name": "mumble", "recommended": false, @@ -1059,9 +1059,9 @@ "healthy_error": null, "home": "https://ipfs.tech/", "location": "/__w/charts/charts/community/ipfs", - "latest_version": "1.0.10", + "latest_version": "1.0.11", "latest_app_version": "v0.20.0", - "latest_human_version": "v0.20.0_1.0.10", + "latest_human_version": "v0.20.0_1.0.11", "last_update": "2023-05-23 17:11:03", "name": "ipfs", "recommended": false, @@ -1098,9 +1098,9 @@ "healthy_error": null, "home": "https://www.chia.net/", "location": "/__w/charts/charts/community/chia", - "latest_version": "1.0.9", + "latest_version": "1.0.10", "latest_app_version": "1.8.1", - "latest_human_version": "1.8.1_1.0.9", + "latest_human_version": "1.8.1_1.0.10", "last_update": "2023-05-18 10:50:24", "name": "chia", "recommended": false, @@ -1134,9 +1134,9 @@ "healthy_error": null, "home": "https://github.com/Sonarr/Sonarr", "location": "/__w/charts/charts/community/sonarr", - "latest_version": "1.0.7", + "latest_version": "1.0.8", "latest_app_version": "3.0.10.1567", - "latest_human_version": "3.0.10.1567_1.0.7", + "latest_human_version": "3.0.10.1567_1.0.8", "last_update": "2023-05-23 17:11:03", "name": "sonarr", "recommended": false, @@ -1173,9 +1173,9 @@ "healthy_error": null, "home": "https://www.clamav.net/", "location": "/__w/charts/charts/community/clamav", - "latest_version": "1.0.1", + "latest_version": "1.0.2", "latest_app_version": "1.0.1", - "latest_human_version": "1.0.1_1.0.1", + "latest_human_version": "1.0.1_1.0.2", "last_update": "2023-05-11 16:20:35", "name": "clamav", "recommended": false, @@ -1208,9 +1208,9 @@ "healthy_error": null, "home": "https://github.com/sct/overseerr", "location": "/__w/charts/charts/community/overseerr", - "latest_version": "1.0.2", + "latest_version": "1.0.3", "latest_app_version": "1.32.5", - "latest_human_version": "1.32.5_1.0.2", + "latest_human_version": "1.32.5_1.0.3", "last_update": "2023-05-23 17:11:03", "name": "overseerr", "recommended": false, @@ -1248,9 +1248,9 @@ "healthy_error": null, "home": "https://github.com/Radarr/Radarr", "location": "/__w/charts/charts/community/radarr", - "latest_version": "1.0.10", + "latest_version": "1.0.11", "latest_app_version": "4.5.2.7388", - "latest_human_version": "4.5.2.7388_1.0.10", + "latest_human_version": "4.5.2.7388_1.0.11", "last_update": "2023-05-29 11:16:26", "name": "radarr", "recommended": false, @@ -1288,9 +1288,9 @@ "healthy_error": null, "home": "https://home.tdarr.io/", "location": "/__w/charts/charts/community/tdarr", - "latest_version": "1.0.5", + "latest_version": "1.0.6", "latest_app_version": "2.00.20.1", - "latest_human_version": "2.00.20.1_1.0.5", + "latest_human_version": "2.00.20.1_1.0.6", "last_update": "2023-05-23 17:11:03", "name": "tdarr", "recommended": false, @@ -1363,9 +1363,9 @@ "healthy_error": null, "home": "https://nginxproxymanager.com/", "location": "/__w/charts/charts/community/nginx-proxy-manager", - "latest_version": "1.0.6", + "latest_version": "1.0.7", "latest_app_version": "2.10.3", - "latest_human_version": "2.10.3_1.0.6", + "latest_human_version": "2.10.3_1.0.7", "last_update": "2023-05-23 17:13:41", "name": "nginx-proxy-manager", "recommended": false, @@ -1403,9 +1403,9 @@ "healthy_error": null, "home": "https://github.com/Lidarr/Lidarr", "location": "/__w/charts/charts/community/lidarr", - "latest_version": "1.0.7", + "latest_version": "1.0.8", "latest_app_version": "1.1.3.2982", - "latest_human_version": "1.1.3.2982_1.0.7", + "latest_human_version": "1.1.3.2982_1.0.8", "last_update": "2023-05-23 17:11:03", "name": "lidarr", "recommended": false, diff --git a/charts/elastic-search/1.0.7/Chart.lock b/charts/elastic-search/1.0.8/Chart.lock similarity index 100% rename from charts/elastic-search/1.0.7/Chart.lock rename to charts/elastic-search/1.0.8/Chart.lock diff --git a/charts/elastic-search/1.0.7/Chart.yaml b/charts/elastic-search/1.0.8/Chart.yaml similarity index 98% rename from charts/elastic-search/1.0.7/Chart.yaml rename to charts/elastic-search/1.0.8/Chart.yaml index 7994127a88..37e422a33e 100644 --- a/charts/elastic-search/1.0.7/Chart.yaml +++ b/charts/elastic-search/1.0.8/Chart.yaml @@ -4,7 +4,7 @@ description: Elasticsearch is the distributed, RESTful search and analytics engi annotations: title: Elastic Search type: application -version: 1.0.7 +version: 1.0.8 apiVersion: v2 appVersion: 8.8.0 kubeVersion: '>=1.16.0-0' diff --git a/charts/elastic-search/1.0.7/README.md b/charts/elastic-search/1.0.8/README.md similarity index 100% rename from charts/elastic-search/1.0.7/README.md rename to charts/elastic-search/1.0.8/README.md diff --git a/charts/elastic-search/1.0.7/app-readme.md b/charts/elastic-search/1.0.8/app-readme.md similarity index 100% rename from charts/elastic-search/1.0.7/app-readme.md rename to charts/elastic-search/1.0.8/app-readme.md diff --git a/charts/elastic-search/1.0.7/charts/common-1.0.7.tgz b/charts/elastic-search/1.0.8/charts/common-1.0.7.tgz similarity index 100% rename from charts/elastic-search/1.0.7/charts/common-1.0.7.tgz rename to charts/elastic-search/1.0.8/charts/common-1.0.7.tgz diff --git a/charts/elastic-search/1.0.7/ci/basic-values.yaml b/charts/elastic-search/1.0.8/ci/basic-values.yaml similarity index 100% rename from charts/elastic-search/1.0.7/ci/basic-values.yaml rename to charts/elastic-search/1.0.8/ci/basic-values.yaml diff --git a/charts/elastic-search/1.0.7/ci/https-values.yaml b/charts/elastic-search/1.0.8/ci/https-values.yaml similarity index 100% rename from charts/elastic-search/1.0.7/ci/https-values.yaml rename to charts/elastic-search/1.0.8/ci/https-values.yaml diff --git a/charts/elastic-search/1.0.7/ix_values.yaml b/charts/elastic-search/1.0.8/ix_values.yaml similarity index 96% rename from charts/elastic-search/1.0.7/ix_values.yaml rename to charts/elastic-search/1.0.8/ix_values.yaml index 557309d3d1..a6609a76eb 100644 --- a/charts/elastic-search/1.0.7/ix_values.yaml +++ b/charts/elastic-search/1.0.8/ix_values.yaml @@ -27,5 +27,4 @@ esNetwork: esStorage: data: type: ixVolume - hostPath: '' datasetName: data diff --git a/charts/elastic-search/1.0.7/metadata.yaml b/charts/elastic-search/1.0.8/metadata.yaml similarity index 100% rename from charts/elastic-search/1.0.7/metadata.yaml rename to charts/elastic-search/1.0.8/metadata.yaml diff --git a/charts/elastic-search/1.0.8/migrations/migrate b/charts/elastic-search/1.0.8/migrations/migrate new file mode 100755 index 0000000000..a578a218c2 --- /dev/null +++ b/charts/elastic-search/1.0.8/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'esStorage' + storages = ['data'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/charts/elastic-search/1.0.7/questions.yaml b/charts/elastic-search/1.0.8/questions.yaml similarity index 100% rename from charts/elastic-search/1.0.7/questions.yaml rename to charts/elastic-search/1.0.8/questions.yaml diff --git a/charts/elastic-search/1.0.7/templates/NOTES.txt b/charts/elastic-search/1.0.8/templates/NOTES.txt similarity index 100% rename from charts/elastic-search/1.0.7/templates/NOTES.txt rename to charts/elastic-search/1.0.8/templates/NOTES.txt diff --git a/charts/elastic-search/1.0.7/templates/_es.tpl b/charts/elastic-search/1.0.8/templates/_es.tpl similarity index 100% rename from charts/elastic-search/1.0.7/templates/_es.tpl rename to charts/elastic-search/1.0.8/templates/_es.tpl diff --git a/charts/elastic-search/1.0.7/templates/_helper.tpl b/charts/elastic-search/1.0.8/templates/_helper.tpl similarity index 100% rename from charts/elastic-search/1.0.7/templates/_helper.tpl rename to charts/elastic-search/1.0.8/templates/_helper.tpl diff --git a/charts/elastic-search/1.0.7/templates/_portal.tpl b/charts/elastic-search/1.0.8/templates/_portal.tpl similarity index 100% rename from charts/elastic-search/1.0.7/templates/_portal.tpl rename to charts/elastic-search/1.0.8/templates/_portal.tpl diff --git a/charts/elastic-search/1.0.7/templates/common.yaml b/charts/elastic-search/1.0.8/templates/common.yaml similarity index 100% rename from charts/elastic-search/1.0.7/templates/common.yaml rename to charts/elastic-search/1.0.8/templates/common.yaml diff --git a/charts/prometheus/1.0.7/Chart.lock b/charts/prometheus/1.0.8/Chart.lock similarity index 100% rename from charts/prometheus/1.0.7/Chart.lock rename to charts/prometheus/1.0.8/Chart.lock diff --git a/charts/prometheus/1.0.7/Chart.yaml b/charts/prometheus/1.0.8/Chart.yaml similarity index 97% rename from charts/prometheus/1.0.7/Chart.yaml rename to charts/prometheus/1.0.8/Chart.yaml index db7797a784..09eb658e08 100644 --- a/charts/prometheus/1.0.7/Chart.yaml +++ b/charts/prometheus/1.0.8/Chart.yaml @@ -3,7 +3,7 @@ description: The Prometheus monitoring system and time series database. annotations: title: Prometheus type: application -version: 1.0.7 +version: 1.0.8 apiVersion: v2 appVersion: v2.44.0 kubeVersion: '>=1.16.0-0' diff --git a/charts/prometheus/1.0.7/README.md b/charts/prometheus/1.0.8/README.md similarity index 100% rename from charts/prometheus/1.0.7/README.md rename to charts/prometheus/1.0.8/README.md diff --git a/charts/prometheus/1.0.7/app-readme.md b/charts/prometheus/1.0.8/app-readme.md similarity index 100% rename from charts/prometheus/1.0.7/app-readme.md rename to charts/prometheus/1.0.8/app-readme.md diff --git a/charts/prometheus/1.0.7/charts/common-1.0.7.tgz b/charts/prometheus/1.0.8/charts/common-1.0.7.tgz similarity index 100% rename from charts/prometheus/1.0.7/charts/common-1.0.7.tgz rename to charts/prometheus/1.0.8/charts/common-1.0.7.tgz diff --git a/charts/prometheus/1.0.7/ci/basic-values.yaml b/charts/prometheus/1.0.8/ci/basic-values.yaml similarity index 100% rename from charts/prometheus/1.0.7/ci/basic-values.yaml rename to charts/prometheus/1.0.8/ci/basic-values.yaml diff --git a/charts/prometheus/1.0.7/ix_values.yaml b/charts/prometheus/1.0.8/ix_values.yaml similarity index 93% rename from charts/prometheus/1.0.7/ix_values.yaml rename to charts/prometheus/1.0.8/ix_values.yaml index 2686188908..46365001ab 100644 --- a/charts/prometheus/1.0.7/ix_values.yaml +++ b/charts/prometheus/1.0.8/ix_values.yaml @@ -26,9 +26,7 @@ prometheusRunAs: prometheusStorage: data: type: ixVolume - hostPath: '' datasetName: data config: type: ixVolume - hostPath: '' datasetName: config diff --git a/charts/prometheus/1.0.7/metadata.yaml b/charts/prometheus/1.0.8/metadata.yaml similarity index 100% rename from charts/prometheus/1.0.7/metadata.yaml rename to charts/prometheus/1.0.8/metadata.yaml diff --git a/charts/prometheus/1.0.8/migrations/migrate b/charts/prometheus/1.0.8/migrations/migrate new file mode 100755 index 0000000000..c19dd26e89 --- /dev/null +++ b/charts/prometheus/1.0.8/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'prometheusStorage' + storages = ['data', 'config'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/charts/prometheus/1.0.7/questions.yaml b/charts/prometheus/1.0.8/questions.yaml similarity index 100% rename from charts/prometheus/1.0.7/questions.yaml rename to charts/prometheus/1.0.8/questions.yaml diff --git a/charts/prometheus/1.0.7/templates/NOTES.txt b/charts/prometheus/1.0.8/templates/NOTES.txt similarity index 100% rename from charts/prometheus/1.0.7/templates/NOTES.txt rename to charts/prometheus/1.0.8/templates/NOTES.txt diff --git a/charts/prometheus/1.0.7/templates/_portal.tpl b/charts/prometheus/1.0.8/templates/_portal.tpl similarity index 100% rename from charts/prometheus/1.0.7/templates/_portal.tpl rename to charts/prometheus/1.0.8/templates/_portal.tpl diff --git a/charts/prometheus/1.0.7/templates/_prometheus.tpl b/charts/prometheus/1.0.8/templates/_prometheus.tpl similarity index 100% rename from charts/prometheus/1.0.7/templates/_prometheus.tpl rename to charts/prometheus/1.0.8/templates/_prometheus.tpl diff --git a/charts/prometheus/1.0.7/templates/common.yaml b/charts/prometheus/1.0.8/templates/common.yaml similarity index 100% rename from charts/prometheus/1.0.7/templates/common.yaml rename to charts/prometheus/1.0.8/templates/common.yaml diff --git a/community/adguard-home/1.0.4/Chart.lock b/community/adguard-home/1.0.5/Chart.lock similarity index 100% rename from community/adguard-home/1.0.4/Chart.lock rename to community/adguard-home/1.0.5/Chart.lock diff --git a/community/adguard-home/1.0.4/Chart.yaml b/community/adguard-home/1.0.5/Chart.yaml similarity index 98% rename from community/adguard-home/1.0.4/Chart.yaml rename to community/adguard-home/1.0.5/Chart.yaml index 4d33f9754e..c041f94dda 100644 --- a/community/adguard-home/1.0.4/Chart.yaml +++ b/community/adguard-home/1.0.5/Chart.yaml @@ -3,7 +3,7 @@ description: Free and open source, powerful network-wide ads & trackers blocking annotations: title: AdGuard Home type: application -version: 1.0.4 +version: 1.0.5 apiVersion: v2 appVersion: 'v0.107.26' kubeVersion: '>=1.16.0-0' diff --git a/community/adguard-home/1.0.4/README.md b/community/adguard-home/1.0.5/README.md similarity index 100% rename from community/adguard-home/1.0.4/README.md rename to community/adguard-home/1.0.5/README.md diff --git a/community/adguard-home/1.0.4/app-readme.md b/community/adguard-home/1.0.5/app-readme.md similarity index 100% rename from community/adguard-home/1.0.4/app-readme.md rename to community/adguard-home/1.0.5/app-readme.md diff --git a/community/adguard-home/1.0.4/charts/common-1.0.7.tgz b/community/adguard-home/1.0.5/charts/common-1.0.7.tgz similarity index 100% rename from community/adguard-home/1.0.4/charts/common-1.0.7.tgz rename to community/adguard-home/1.0.5/charts/common-1.0.7.tgz diff --git a/community/adguard-home/1.0.4/ci/basic-values.yaml b/community/adguard-home/1.0.5/ci/basic-values.yaml similarity index 100% rename from community/adguard-home/1.0.4/ci/basic-values.yaml rename to community/adguard-home/1.0.5/ci/basic-values.yaml diff --git a/community/adguard-home/1.0.4/ix_values.yaml b/community/adguard-home/1.0.5/ix_values.yaml similarity index 91% rename from community/adguard-home/1.0.4/ix_values.yaml rename to community/adguard-home/1.0.5/ix_values.yaml index 296e86c8fa..dd09d16b63 100644 --- a/community/adguard-home/1.0.4/ix_values.yaml +++ b/community/adguard-home/1.0.5/ix_values.yaml @@ -20,9 +20,7 @@ adguardNetwork: adguardStorage: work: type: ixVolume - hostPath: "" datasetName: work conf: type: ixVolume - hostPath: "" datasetName: conf diff --git a/community/adguard-home/1.0.4/metadata.yaml b/community/adguard-home/1.0.5/metadata.yaml similarity index 100% rename from community/adguard-home/1.0.4/metadata.yaml rename to community/adguard-home/1.0.5/metadata.yaml diff --git a/community/adguard-home/1.0.5/migrations/migrate b/community/adguard-home/1.0.5/migrations/migrate new file mode 100755 index 0000000000..1cedc30444 --- /dev/null +++ b/community/adguard-home/1.0.5/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'adguardStorage' + storages = ['work', 'conf'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/adguard-home/1.0.4/questions.yaml b/community/adguard-home/1.0.5/questions.yaml similarity index 100% rename from community/adguard-home/1.0.4/questions.yaml rename to community/adguard-home/1.0.5/questions.yaml diff --git a/community/adguard-home/1.0.4/templates/NOTES.txt b/community/adguard-home/1.0.5/templates/NOTES.txt similarity index 100% rename from community/adguard-home/1.0.4/templates/NOTES.txt rename to community/adguard-home/1.0.5/templates/NOTES.txt diff --git a/community/adguard-home/1.0.4/templates/_adguard.tpl b/community/adguard-home/1.0.5/templates/_adguard.tpl similarity index 100% rename from community/adguard-home/1.0.4/templates/_adguard.tpl rename to community/adguard-home/1.0.5/templates/_adguard.tpl diff --git a/community/adguard-home/1.0.4/templates/_portal.tpl b/community/adguard-home/1.0.5/templates/_portal.tpl similarity index 100% rename from community/adguard-home/1.0.4/templates/_portal.tpl rename to community/adguard-home/1.0.5/templates/_portal.tpl diff --git a/community/adguard-home/1.0.4/templates/common.yaml b/community/adguard-home/1.0.5/templates/common.yaml similarity index 100% rename from community/adguard-home/1.0.4/templates/common.yaml rename to community/adguard-home/1.0.5/templates/common.yaml diff --git a/community/chia/1.0.9/Chart.lock b/community/chia/1.0.10/Chart.lock similarity index 100% rename from community/chia/1.0.9/Chart.lock rename to community/chia/1.0.10/Chart.lock diff --git a/community/chia/1.0.9/Chart.yaml b/community/chia/1.0.10/Chart.yaml similarity index 97% rename from community/chia/1.0.9/Chart.yaml rename to community/chia/1.0.10/Chart.yaml index fd7b5d3d6e..9a52604eee 100644 --- a/community/chia/1.0.9/Chart.yaml +++ b/community/chia/1.0.10/Chart.yaml @@ -4,7 +4,7 @@ description: Chia is a modern cryptocurrency built from scratch, designed to be annotations: title: Chia type: application -version: 1.0.9 +version: 1.0.10 apiVersion: v2 appVersion: 1.8.1 kubeVersion: '>=1.16.0-0' diff --git a/community/chia/1.0.9/README.md b/community/chia/1.0.10/README.md similarity index 100% rename from community/chia/1.0.9/README.md rename to community/chia/1.0.10/README.md diff --git a/community/chia/1.0.9/app-readme.md b/community/chia/1.0.10/app-readme.md similarity index 100% rename from community/chia/1.0.9/app-readme.md rename to community/chia/1.0.10/app-readme.md diff --git a/community/chia/1.0.9/charts/common-1.0.7.tgz b/community/chia/1.0.10/charts/common-1.0.7.tgz similarity index 100% rename from community/chia/1.0.9/charts/common-1.0.7.tgz rename to community/chia/1.0.10/charts/common-1.0.7.tgz diff --git a/community/chia/1.0.9/ci/additional-values.yaml b/community/chia/1.0.10/ci/additional-values.yaml similarity index 100% rename from community/chia/1.0.9/ci/additional-values.yaml rename to community/chia/1.0.10/ci/additional-values.yaml diff --git a/community/chia/1.0.9/ci/basic-values.yaml b/community/chia/1.0.10/ci/basic-values.yaml similarity index 100% rename from community/chia/1.0.9/ci/basic-values.yaml rename to community/chia/1.0.10/ci/basic-values.yaml diff --git a/community/chia/1.0.9/ci/farmer-values.yaml b/community/chia/1.0.10/ci/farmer-values.yaml similarity index 100% rename from community/chia/1.0.9/ci/farmer-values.yaml rename to community/chia/1.0.10/ci/farmer-values.yaml diff --git a/community/chia/1.0.9/ix_values.yaml b/community/chia/1.0.10/ix_values.yaml similarity index 93% rename from community/chia/1.0.9/ix_values.yaml rename to community/chia/1.0.10/ix_values.yaml index 85b116d6d7..03264f7273 100644 --- a/community/chia/1.0.9/ix_values.yaml +++ b/community/chia/1.0.10/ix_values.yaml @@ -19,10 +19,8 @@ chiaConfig: chiaStorage: data: type: ixVolume - hostPath: '' datasetName: data plots: type: ixVolume - hostPath: / datasetName: plots additionalVolumes: [] diff --git a/community/chia/1.0.9/metadata.yaml b/community/chia/1.0.10/metadata.yaml similarity index 100% rename from community/chia/1.0.9/metadata.yaml rename to community/chia/1.0.10/metadata.yaml diff --git a/community/chia/1.0.10/migrations/migrate b/community/chia/1.0.10/migrations/migrate new file mode 100755 index 0000000000..8f739ff4c4 --- /dev/null +++ b/community/chia/1.0.10/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'chiaStorage' + storages = ['data', 'plots'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/chia/1.0.9/questions.yaml b/community/chia/1.0.10/questions.yaml similarity index 100% rename from community/chia/1.0.9/questions.yaml rename to community/chia/1.0.10/questions.yaml diff --git a/community/chia/1.0.9/templates/NOTES.txt b/community/chia/1.0.10/templates/NOTES.txt similarity index 100% rename from community/chia/1.0.9/templates/NOTES.txt rename to community/chia/1.0.10/templates/NOTES.txt diff --git a/community/chia/1.0.9/templates/_chia.tpl b/community/chia/1.0.10/templates/_chia.tpl similarity index 100% rename from community/chia/1.0.9/templates/_chia.tpl rename to community/chia/1.0.10/templates/_chia.tpl diff --git a/community/chia/1.0.9/templates/_helper.tpl b/community/chia/1.0.10/templates/_helper.tpl similarity index 100% rename from community/chia/1.0.9/templates/_helper.tpl rename to community/chia/1.0.10/templates/_helper.tpl diff --git a/community/chia/1.0.9/templates/_validation.tpl b/community/chia/1.0.10/templates/_validation.tpl similarity index 100% rename from community/chia/1.0.9/templates/_validation.tpl rename to community/chia/1.0.10/templates/_validation.tpl diff --git a/community/chia/1.0.9/templates/common.yaml b/community/chia/1.0.10/templates/common.yaml similarity index 100% rename from community/chia/1.0.9/templates/common.yaml rename to community/chia/1.0.10/templates/common.yaml diff --git a/community/clamav/1.0.1/Chart.lock b/community/clamav/1.0.2/Chart.lock similarity index 100% rename from community/clamav/1.0.1/Chart.lock rename to community/clamav/1.0.2/Chart.lock diff --git a/community/clamav/1.0.1/Chart.yaml b/community/clamav/1.0.2/Chart.yaml similarity index 97% rename from community/clamav/1.0.1/Chart.yaml rename to community/clamav/1.0.2/Chart.yaml index 6f2251ac2c..40bb9c0342 100644 --- a/community/clamav/1.0.1/Chart.yaml +++ b/community/clamav/1.0.2/Chart.yaml @@ -3,7 +3,7 @@ description: ClamAV is an open source (GPLv2) anti-virus toolkit. annotations: title: Clam AV type: application -version: 1.0.1 +version: 1.0.2 apiVersion: v2 appVersion: '1.0.1' kubeVersion: '>=1.16.0-0' diff --git a/community/clamav/1.0.1/README.md b/community/clamav/1.0.2/README.md similarity index 100% rename from community/clamav/1.0.1/README.md rename to community/clamav/1.0.2/README.md diff --git a/community/clamav/1.0.1/app-readme.md b/community/clamav/1.0.2/app-readme.md similarity index 100% rename from community/clamav/1.0.1/app-readme.md rename to community/clamav/1.0.2/app-readme.md diff --git a/community/clamav/1.0.1/charts/common-1.0.7.tgz b/community/clamav/1.0.2/charts/common-1.0.7.tgz similarity index 100% rename from community/clamav/1.0.1/charts/common-1.0.7.tgz rename to community/clamav/1.0.2/charts/common-1.0.7.tgz diff --git a/community/clamav/1.0.1/ci/basic-values.yaml b/community/clamav/1.0.2/ci/basic-values.yaml similarity index 100% rename from community/clamav/1.0.1/ci/basic-values.yaml rename to community/clamav/1.0.2/ci/basic-values.yaml diff --git a/community/clamav/1.0.1/ci/milterd-values.yaml b/community/clamav/1.0.2/ci/milterd-values.yaml similarity index 100% rename from community/clamav/1.0.1/ci/milterd-values.yaml rename to community/clamav/1.0.2/ci/milterd-values.yaml diff --git a/community/clamav/1.0.1/ci/no-clamd-values.yaml b/community/clamav/1.0.2/ci/no-clamd-values.yaml similarity index 100% rename from community/clamav/1.0.1/ci/no-clamd-values.yaml rename to community/clamav/1.0.2/ci/no-clamd-values.yaml diff --git a/community/clamav/1.0.1/ci/no-freshclamd-values.yaml b/community/clamav/1.0.2/ci/no-freshclamd-values.yaml similarity index 100% rename from community/clamav/1.0.1/ci/no-freshclamd-values.yaml rename to community/clamav/1.0.2/ci/no-freshclamd-values.yaml diff --git a/community/clamav/1.0.1/ix_values.yaml b/community/clamav/1.0.2/ix_values.yaml similarity index 93% rename from community/clamav/1.0.1/ix_values.yaml rename to community/clamav/1.0.2/ix_values.yaml index 5a9f740cef..9ab72a4f49 100644 --- a/community/clamav/1.0.1/ix_values.yaml +++ b/community/clamav/1.0.2/ix_values.yaml @@ -23,9 +23,7 @@ clamavNetwork: clamavStorage: sigdb: type: ixVolume - hostPath: '' datasetName: sig-db scandir: type: ixVolume - hostPath: '' datasetName: scan-dir diff --git a/community/clamav/1.0.1/metadata.yaml b/community/clamav/1.0.2/metadata.yaml similarity index 100% rename from community/clamav/1.0.1/metadata.yaml rename to community/clamav/1.0.2/metadata.yaml diff --git a/community/clamav/1.0.2/migrations/migrate b/community/clamav/1.0.2/migrations/migrate new file mode 100755 index 0000000000..1a8eb948dc --- /dev/null +++ b/community/clamav/1.0.2/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'clamavStorage' + storages = ['sigdb', 'scandir'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/clamav/1.0.1/questions.yaml b/community/clamav/1.0.2/questions.yaml similarity index 100% rename from community/clamav/1.0.1/questions.yaml rename to community/clamav/1.0.2/questions.yaml diff --git a/community/clamav/1.0.1/templates/NOTES.txt b/community/clamav/1.0.2/templates/NOTES.txt similarity index 100% rename from community/clamav/1.0.1/templates/NOTES.txt rename to community/clamav/1.0.2/templates/NOTES.txt diff --git a/community/clamav/1.0.1/templates/_clamav.tpl b/community/clamav/1.0.2/templates/_clamav.tpl similarity index 100% rename from community/clamav/1.0.1/templates/_clamav.tpl rename to community/clamav/1.0.2/templates/_clamav.tpl diff --git a/community/clamav/1.0.1/templates/common.yaml b/community/clamav/1.0.2/templates/common.yaml similarity index 100% rename from community/clamav/1.0.1/templates/common.yaml rename to community/clamav/1.0.2/templates/common.yaml diff --git a/community/ddns-updater/1.0.2/Chart.lock b/community/ddns-updater/1.0.3/Chart.lock similarity index 100% rename from community/ddns-updater/1.0.2/Chart.lock rename to community/ddns-updater/1.0.3/Chart.lock diff --git a/community/ddns-updater/1.0.2/Chart.yaml b/community/ddns-updater/1.0.3/Chart.yaml similarity index 97% rename from community/ddns-updater/1.0.2/Chart.yaml rename to community/ddns-updater/1.0.3/Chart.yaml index 10b743817f..c2ebecb9b0 100644 --- a/community/ddns-updater/1.0.2/Chart.yaml +++ b/community/ddns-updater/1.0.3/Chart.yaml @@ -3,7 +3,7 @@ description: Lightweight universal DDNS Updater with web UI annotations: title: DDNS Updater type: application -version: 1.0.2 +version: 1.0.3 apiVersion: v2 appVersion: 'latest' kubeVersion: '>=1.16.0-0' diff --git a/community/ddns-updater/1.0.2/README.md b/community/ddns-updater/1.0.3/README.md similarity index 100% rename from community/ddns-updater/1.0.2/README.md rename to community/ddns-updater/1.0.3/README.md diff --git a/community/ddns-updater/1.0.2/app-readme.md b/community/ddns-updater/1.0.3/app-readme.md similarity index 100% rename from community/ddns-updater/1.0.2/app-readme.md rename to community/ddns-updater/1.0.3/app-readme.md diff --git a/community/ddns-updater/1.0.2/charts/common-1.0.7.tgz b/community/ddns-updater/1.0.3/charts/common-1.0.7.tgz similarity index 100% rename from community/ddns-updater/1.0.2/charts/common-1.0.7.tgz rename to community/ddns-updater/1.0.3/charts/common-1.0.7.tgz diff --git a/community/ddns-updater/1.0.2/ci/aliyun-values.yaml b/community/ddns-updater/1.0.3/ci/aliyun-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/aliyun-values.yaml rename to community/ddns-updater/1.0.3/ci/aliyun-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/allinkl-values.yaml b/community/ddns-updater/1.0.3/ci/allinkl-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/allinkl-values.yaml rename to community/ddns-updater/1.0.3/ci/allinkl-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/cloudflare-values.yaml b/community/ddns-updater/1.0.3/ci/cloudflare-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/cloudflare-values.yaml rename to community/ddns-updater/1.0.3/ci/cloudflare-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/config-values.yaml b/community/ddns-updater/1.0.3/ci/config-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/config-values.yaml rename to community/ddns-updater/1.0.3/ci/config-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/dd24-values.yaml b/community/ddns-updater/1.0.3/ci/dd24-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/dd24-values.yaml rename to community/ddns-updater/1.0.3/ci/dd24-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/ddnss-values.yaml b/community/ddns-updater/1.0.3/ci/ddnss-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/ddnss-values.yaml rename to community/ddns-updater/1.0.3/ci/ddnss-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/digitalocean-values.yaml b/community/ddns-updater/1.0.3/ci/digitalocean-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/digitalocean-values.yaml rename to community/ddns-updater/1.0.3/ci/digitalocean-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/dnsomatic-values.yaml b/community/ddns-updater/1.0.3/ci/dnsomatic-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/dnsomatic-values.yaml rename to community/ddns-updater/1.0.3/ci/dnsomatic-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/dnspod-values.yaml b/community/ddns-updater/1.0.3/ci/dnspod-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/dnspod-values.yaml rename to community/ddns-updater/1.0.3/ci/dnspod-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/dondominio-values.yaml b/community/ddns-updater/1.0.3/ci/dondominio-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/dondominio-values.yaml rename to community/ddns-updater/1.0.3/ci/dondominio-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/dreamhost-values.yaml b/community/ddns-updater/1.0.3/ci/dreamhost-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/dreamhost-values.yaml rename to community/ddns-updater/1.0.3/ci/dreamhost-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/duckdns-values.yaml b/community/ddns-updater/1.0.3/ci/duckdns-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/duckdns-values.yaml rename to community/ddns-updater/1.0.3/ci/duckdns-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/dyndns-values.yaml b/community/ddns-updater/1.0.3/ci/dyndns-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/dyndns-values.yaml rename to community/ddns-updater/1.0.3/ci/dyndns-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/dynu-values.yaml b/community/ddns-updater/1.0.3/ci/dynu-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/dynu-values.yaml rename to community/ddns-updater/1.0.3/ci/dynu-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/dynv6-values.yaml b/community/ddns-updater/1.0.3/ci/dynv6-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/dynv6-values.yaml rename to community/ddns-updater/1.0.3/ci/dynv6-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/freedns-values.yaml b/community/ddns-updater/1.0.3/ci/freedns-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/freedns-values.yaml rename to community/ddns-updater/1.0.3/ci/freedns-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/gandi-values.yaml b/community/ddns-updater/1.0.3/ci/gandi-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/gandi-values.yaml rename to community/ddns-updater/1.0.3/ci/gandi-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/gcp-values.yaml b/community/ddns-updater/1.0.3/ci/gcp-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/gcp-values.yaml rename to community/ddns-updater/1.0.3/ci/gcp-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/godaddy-values.yaml b/community/ddns-updater/1.0.3/ci/godaddy-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/godaddy-values.yaml rename to community/ddns-updater/1.0.3/ci/godaddy-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/google-values.yaml b/community/ddns-updater/1.0.3/ci/google-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/google-values.yaml rename to community/ddns-updater/1.0.3/ci/google-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/he-values.yaml b/community/ddns-updater/1.0.3/ci/he-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/he-values.yaml rename to community/ddns-updater/1.0.3/ci/he-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/infomaniak-values.yaml b/community/ddns-updater/1.0.3/ci/infomaniak-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/infomaniak-values.yaml rename to community/ddns-updater/1.0.3/ci/infomaniak-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/inwx-values.yaml b/community/ddns-updater/1.0.3/ci/inwx-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/inwx-values.yaml rename to community/ddns-updater/1.0.3/ci/inwx-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/linode-values.yaml b/community/ddns-updater/1.0.3/ci/linode-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/linode-values.yaml rename to community/ddns-updater/1.0.3/ci/linode-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/luadns-values.yaml b/community/ddns-updater/1.0.3/ci/luadns-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/luadns-values.yaml rename to community/ddns-updater/1.0.3/ci/luadns-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/namecheap-values.yaml b/community/ddns-updater/1.0.3/ci/namecheap-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/namecheap-values.yaml rename to community/ddns-updater/1.0.3/ci/namecheap-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/njalla-values.yaml b/community/ddns-updater/1.0.3/ci/njalla-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/njalla-values.yaml rename to community/ddns-updater/1.0.3/ci/njalla-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/noip-values.yaml b/community/ddns-updater/1.0.3/ci/noip-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/noip-values.yaml rename to community/ddns-updater/1.0.3/ci/noip-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/opendns-values.yaml b/community/ddns-updater/1.0.3/ci/opendns-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/opendns-values.yaml rename to community/ddns-updater/1.0.3/ci/opendns-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/ovh-values.yaml b/community/ddns-updater/1.0.3/ci/ovh-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/ovh-values.yaml rename to community/ddns-updater/1.0.3/ci/ovh-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/porkbun-values.yaml b/community/ddns-updater/1.0.3/ci/porkbun-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/porkbun-values.yaml rename to community/ddns-updater/1.0.3/ci/porkbun-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/selfhostedde-values.yaml b/community/ddns-updater/1.0.3/ci/selfhostedde-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/selfhostedde-values.yaml rename to community/ddns-updater/1.0.3/ci/selfhostedde-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/servercow-values.yaml b/community/ddns-updater/1.0.3/ci/servercow-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/servercow-values.yaml rename to community/ddns-updater/1.0.3/ci/servercow-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/spdyn-values.yaml.yaml b/community/ddns-updater/1.0.3/ci/spdyn-values.yaml.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/spdyn-values.yaml.yaml rename to community/ddns-updater/1.0.3/ci/spdyn-values.yaml.yaml diff --git a/community/ddns-updater/1.0.2/ci/strato-values.yaml b/community/ddns-updater/1.0.3/ci/strato-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/strato-values.yaml rename to community/ddns-updater/1.0.3/ci/strato-values.yaml diff --git a/community/ddns-updater/1.0.2/ci/variomedia-values.yaml b/community/ddns-updater/1.0.3/ci/variomedia-values.yaml similarity index 100% rename from community/ddns-updater/1.0.2/ci/variomedia-values.yaml rename to community/ddns-updater/1.0.3/ci/variomedia-values.yaml diff --git a/community/ddns-updater/1.0.2/ix_values.yaml b/community/ddns-updater/1.0.3/ix_values.yaml similarity index 98% rename from community/ddns-updater/1.0.2/ix_values.yaml rename to community/ddns-updater/1.0.3/ix_values.yaml index c5f89104d0..8ad4dcef44 100644 --- a/community/ddns-updater/1.0.2/ix_values.yaml +++ b/community/ddns-updater/1.0.3/ix_values.yaml @@ -50,5 +50,4 @@ ddnsRunAs: ddnsStorage: data: type: ixVolume - hostPath: '' datasetName: data diff --git a/community/ddns-updater/1.0.2/metadata.yaml b/community/ddns-updater/1.0.3/metadata.yaml similarity index 100% rename from community/ddns-updater/1.0.2/metadata.yaml rename to community/ddns-updater/1.0.3/metadata.yaml diff --git a/community/ddns-updater/1.0.3/migrations/migrate b/community/ddns-updater/1.0.3/migrations/migrate new file mode 100755 index 0000000000..5c15e3030b --- /dev/null +++ b/community/ddns-updater/1.0.3/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'ddnsStorage' + storages = ['data'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/ddns-updater/1.0.2/questions.yaml b/community/ddns-updater/1.0.3/questions.yaml similarity index 100% rename from community/ddns-updater/1.0.2/questions.yaml rename to community/ddns-updater/1.0.3/questions.yaml diff --git a/community/ddns-updater/1.0.2/templates/NOTES.txt b/community/ddns-updater/1.0.3/templates/NOTES.txt similarity index 100% rename from community/ddns-updater/1.0.2/templates/NOTES.txt rename to community/ddns-updater/1.0.3/templates/NOTES.txt diff --git a/community/ddns-updater/1.0.2/templates/_configuration.tpl b/community/ddns-updater/1.0.3/templates/_configuration.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/_configuration.tpl rename to community/ddns-updater/1.0.3/templates/_configuration.tpl diff --git a/community/ddns-updater/1.0.2/templates/_ddns.tpl b/community/ddns-updater/1.0.3/templates/_ddns.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/_ddns.tpl rename to community/ddns-updater/1.0.3/templates/_ddns.tpl diff --git a/community/ddns-updater/1.0.2/templates/_portal.tpl b/community/ddns-updater/1.0.3/templates/_portal.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/_portal.tpl rename to community/ddns-updater/1.0.3/templates/_portal.tpl diff --git a/community/ddns-updater/1.0.2/templates/_validation.tpl b/community/ddns-updater/1.0.3/templates/_validation.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/_validation.tpl rename to community/ddns-updater/1.0.3/templates/_validation.tpl diff --git a/community/ddns-updater/1.0.2/templates/common.yaml b/community/ddns-updater/1.0.3/templates/common.yaml similarity index 100% rename from community/ddns-updater/1.0.2/templates/common.yaml rename to community/ddns-updater/1.0.3/templates/common.yaml diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_aliyun.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_aliyun.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_aliyun.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_aliyun.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_allinkl.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_allinkl.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_allinkl.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_allinkl.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_cloudflare.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_cloudflare.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_cloudflare.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_cloudflare.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_dd24.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_dd24.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_dd24.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_dd24.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_ddnss.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_ddnss.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_ddnss.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_ddnss.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_digitalocean.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_digitalocean.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_digitalocean.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_digitalocean.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_dnsPod.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_dnsPod.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_dnsPod.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_dnsPod.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_dnsomatic.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_dnsomatic.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_dnsomatic.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_dnsomatic.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_dondominio.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_dondominio.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_dondominio.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_dondominio.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_dreamhost.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_dreamhost.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_dreamhost.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_dreamhost.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_duckdns.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_duckdns.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_duckdns.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_duckdns.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_dyndns.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_dyndns.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_dyndns.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_dyndns.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_dynu.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_dynu.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_dynu.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_dynu.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_dynv6.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_dynv6.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_dynv6.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_dynv6.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_freedns.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_freedns.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_freedns.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_freedns.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_gandi.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_gandi.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_gandi.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_gandi.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_gcp.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_gcp.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_gcp.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_gcp.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_godaddy.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_godaddy.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_godaddy.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_godaddy.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_google.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_google.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_google.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_google.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_he.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_he.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_he.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_he.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_infomaniak.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_infomaniak.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_infomaniak.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_infomaniak.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_inwx.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_inwx.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_inwx.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_inwx.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_linode.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_linode.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_linode.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_linode.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_luadns.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_luadns.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_luadns.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_luadns.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_namecheap.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_namecheap.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_namecheap.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_namecheap.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_njalla.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_njalla.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_njalla.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_njalla.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_noip.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_noip.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_noip.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_noip.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_opendns.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_opendns.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_opendns.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_opendns.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_ovh.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_ovh.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_ovh.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_ovh.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_porkbun.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_porkbun.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_porkbun.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_porkbun.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_selfhostde.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_selfhostde.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_selfhostde.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_selfhostde.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_servercow.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_servercow.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_servercow.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_servercow.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_spdyn.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_spdyn.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_spdyn.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_spdyn.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_strato.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_strato.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_strato.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_strato.tpl diff --git a/community/ddns-updater/1.0.2/templates/dnsProviders/_variomedia.tpl b/community/ddns-updater/1.0.3/templates/dnsProviders/_variomedia.tpl similarity index 100% rename from community/ddns-updater/1.0.2/templates/dnsProviders/_variomedia.tpl rename to community/ddns-updater/1.0.3/templates/dnsProviders/_variomedia.tpl diff --git a/community/ddns-updater/1.0.2/upgrade_strategy_disable b/community/ddns-updater/1.0.3/upgrade_strategy_disable similarity index 100% rename from community/ddns-updater/1.0.2/upgrade_strategy_disable rename to community/ddns-updater/1.0.3/upgrade_strategy_disable diff --git a/community/gitea/1.0.5/Chart.lock b/community/gitea/1.0.6/Chart.lock similarity index 100% rename from community/gitea/1.0.5/Chart.lock rename to community/gitea/1.0.6/Chart.lock diff --git a/community/gitea/1.0.5/Chart.yaml b/community/gitea/1.0.6/Chart.yaml similarity index 97% rename from community/gitea/1.0.5/Chart.yaml rename to community/gitea/1.0.6/Chart.yaml index 04434aed6b..172b773250 100644 --- a/community/gitea/1.0.5/Chart.yaml +++ b/community/gitea/1.0.6/Chart.yaml @@ -3,7 +3,7 @@ description: Gitea - Git with a cup of tea annotations: title: Gitea type: application -version: 1.0.5 +version: 1.0.6 apiVersion: v2 appVersion: '1.19.0' kubeVersion: '>=1.16.0-0' diff --git a/community/gitea/1.0.5/README.md b/community/gitea/1.0.6/README.md similarity index 100% rename from community/gitea/1.0.5/README.md rename to community/gitea/1.0.6/README.md diff --git a/community/gitea/1.0.5/app-readme.md b/community/gitea/1.0.6/app-readme.md similarity index 100% rename from community/gitea/1.0.5/app-readme.md rename to community/gitea/1.0.6/app-readme.md diff --git a/community/gitea/1.0.5/charts/common-1.0.7.tgz b/community/gitea/1.0.6/charts/common-1.0.7.tgz similarity index 100% rename from community/gitea/1.0.5/charts/common-1.0.7.tgz rename to community/gitea/1.0.6/charts/common-1.0.7.tgz diff --git a/community/gitea/1.0.5/ci/basic-values.yaml b/community/gitea/1.0.6/ci/basic-values.yaml similarity index 100% rename from community/gitea/1.0.5/ci/basic-values.yaml rename to community/gitea/1.0.6/ci/basic-values.yaml diff --git a/community/gitea/1.0.5/ci/https-values.yaml b/community/gitea/1.0.6/ci/https-values.yaml similarity index 100% rename from community/gitea/1.0.5/ci/https-values.yaml rename to community/gitea/1.0.6/ci/https-values.yaml diff --git a/community/gitea/1.0.5/ix_values.yaml b/community/gitea/1.0.6/ix_values.yaml similarity index 91% rename from community/gitea/1.0.5/ix_values.yaml rename to community/gitea/1.0.6/ix_values.yaml index c1b810eef3..d0c8080075 100644 --- a/community/gitea/1.0.5/ix_values.yaml +++ b/community/gitea/1.0.6/ix_values.yaml @@ -28,17 +28,13 @@ giteaRunAs: giteaStorage: data: type: ixVolume - hostPath: "" datasetName: data config: type: ixVolume - hostPath: "" datasetName: config pgData: type: ixVolume - hostPath: "" datasetName: pgData pgBackup: type: ixVolume - hostPath: "" datasetName: pgBackup diff --git a/community/gitea/1.0.5/metadata.yaml b/community/gitea/1.0.6/metadata.yaml similarity index 100% rename from community/gitea/1.0.5/metadata.yaml rename to community/gitea/1.0.6/metadata.yaml diff --git a/community/gitea/1.0.6/migrations/migrate b/community/gitea/1.0.6/migrations/migrate new file mode 100755 index 0000000000..0123f00a9e --- /dev/null +++ b/community/gitea/1.0.6/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'giteaStorage' + storages = ['data', 'config', 'pgData', 'pgBackup'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/gitea/1.0.5/questions.yaml b/community/gitea/1.0.6/questions.yaml similarity index 100% rename from community/gitea/1.0.5/questions.yaml rename to community/gitea/1.0.6/questions.yaml diff --git a/community/gitea/1.0.5/templates/NOTES.txt b/community/gitea/1.0.6/templates/NOTES.txt similarity index 100% rename from community/gitea/1.0.5/templates/NOTES.txt rename to community/gitea/1.0.6/templates/NOTES.txt diff --git a/community/gitea/1.0.5/templates/_configuration.tpl b/community/gitea/1.0.6/templates/_configuration.tpl similarity index 100% rename from community/gitea/1.0.5/templates/_configuration.tpl rename to community/gitea/1.0.6/templates/_configuration.tpl diff --git a/community/gitea/1.0.5/templates/_gitea.tpl b/community/gitea/1.0.6/templates/_gitea.tpl similarity index 100% rename from community/gitea/1.0.5/templates/_gitea.tpl rename to community/gitea/1.0.6/templates/_gitea.tpl diff --git a/community/gitea/1.0.5/templates/_portal.tpl b/community/gitea/1.0.6/templates/_portal.tpl similarity index 100% rename from community/gitea/1.0.5/templates/_portal.tpl rename to community/gitea/1.0.6/templates/_portal.tpl diff --git a/community/gitea/1.0.5/templates/_postgres.tpl b/community/gitea/1.0.6/templates/_postgres.tpl similarity index 100% rename from community/gitea/1.0.5/templates/_postgres.tpl rename to community/gitea/1.0.6/templates/_postgres.tpl diff --git a/community/gitea/1.0.5/templates/common.yaml b/community/gitea/1.0.6/templates/common.yaml similarity index 100% rename from community/gitea/1.0.5/templates/common.yaml rename to community/gitea/1.0.6/templates/common.yaml diff --git a/community/ipfs/1.0.10/Chart.lock b/community/ipfs/1.0.11/Chart.lock similarity index 100% rename from community/ipfs/1.0.10/Chart.lock rename to community/ipfs/1.0.11/Chart.lock diff --git a/community/ipfs/1.0.10/Chart.yaml b/community/ipfs/1.0.11/Chart.yaml similarity index 97% rename from community/ipfs/1.0.10/Chart.yaml rename to community/ipfs/1.0.11/Chart.yaml index 158013ae12..2593c1d5be 100644 --- a/community/ipfs/1.0.10/Chart.yaml +++ b/community/ipfs/1.0.11/Chart.yaml @@ -4,7 +4,7 @@ description: Interplanetary Filesystem - the Web3 standard for content-addressin annotations: title: IPFS type: application -version: 1.0.10 +version: 1.0.11 apiVersion: v2 appVersion: v0.20.0 kubeVersion: '>=1.16.0-0' diff --git a/community/ipfs/1.0.10/README.md b/community/ipfs/1.0.11/README.md similarity index 100% rename from community/ipfs/1.0.10/README.md rename to community/ipfs/1.0.11/README.md diff --git a/community/ipfs/1.0.10/app-readme.md b/community/ipfs/1.0.11/app-readme.md similarity index 100% rename from community/ipfs/1.0.10/app-readme.md rename to community/ipfs/1.0.11/app-readme.md diff --git a/community/ipfs/1.0.10/charts/common-1.0.7.tgz b/community/ipfs/1.0.11/charts/common-1.0.7.tgz similarity index 100% rename from community/ipfs/1.0.10/charts/common-1.0.7.tgz rename to community/ipfs/1.0.11/charts/common-1.0.7.tgz diff --git a/community/ipfs/1.0.10/ci/basic-values.yaml b/community/ipfs/1.0.11/ci/basic-values.yaml similarity index 100% rename from community/ipfs/1.0.10/ci/basic-values.yaml rename to community/ipfs/1.0.11/ci/basic-values.yaml diff --git a/community/ipfs/1.0.10/ci/extra-env-values.yaml b/community/ipfs/1.0.11/ci/extra-env-values.yaml similarity index 100% rename from community/ipfs/1.0.10/ci/extra-env-values.yaml rename to community/ipfs/1.0.11/ci/extra-env-values.yaml diff --git a/community/ipfs/1.0.10/ci/hostNet-values.yaml b/community/ipfs/1.0.11/ci/hostNet-values.yaml similarity index 100% rename from community/ipfs/1.0.10/ci/hostNet-values.yaml rename to community/ipfs/1.0.11/ci/hostNet-values.yaml diff --git a/community/ipfs/1.0.10/ix_values.yaml b/community/ipfs/1.0.11/ix_values.yaml similarity index 92% rename from community/ipfs/1.0.10/ix_values.yaml rename to community/ipfs/1.0.11/ix_values.yaml index 8b7e29d06f..719392b4c5 100644 --- a/community/ipfs/1.0.10/ix_values.yaml +++ b/community/ipfs/1.0.11/ix_values.yaml @@ -19,9 +19,7 @@ ipfsRunAs: ipfsStorage: data: type: ixVolume - hostPath: '' datasetName: data staging: type: ixVolume - hostPath: '' datasetName: staging diff --git a/community/ipfs/1.0.10/metadata.yaml b/community/ipfs/1.0.11/metadata.yaml similarity index 100% rename from community/ipfs/1.0.10/metadata.yaml rename to community/ipfs/1.0.11/metadata.yaml diff --git a/community/ipfs/1.0.11/migrations/migrate b/community/ipfs/1.0.11/migrations/migrate new file mode 100755 index 0000000000..237d67ee52 --- /dev/null +++ b/community/ipfs/1.0.11/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'ipfsStorage' + storages = ['data', 'staging'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/ipfs/1.0.10/questions.yaml b/community/ipfs/1.0.11/questions.yaml similarity index 100% rename from community/ipfs/1.0.10/questions.yaml rename to community/ipfs/1.0.11/questions.yaml diff --git a/community/ipfs/1.0.10/templates/NOTES.txt b/community/ipfs/1.0.11/templates/NOTES.txt similarity index 100% rename from community/ipfs/1.0.10/templates/NOTES.txt rename to community/ipfs/1.0.11/templates/NOTES.txt diff --git a/community/ipfs/1.0.10/templates/_configuration.tpl b/community/ipfs/1.0.11/templates/_configuration.tpl similarity index 100% rename from community/ipfs/1.0.10/templates/_configuration.tpl rename to community/ipfs/1.0.11/templates/_configuration.tpl diff --git a/community/ipfs/1.0.10/templates/_ipfs.tpl b/community/ipfs/1.0.11/templates/_ipfs.tpl similarity index 100% rename from community/ipfs/1.0.10/templates/_ipfs.tpl rename to community/ipfs/1.0.11/templates/_ipfs.tpl diff --git a/community/ipfs/1.0.10/templates/_portal.tpl b/community/ipfs/1.0.11/templates/_portal.tpl similarity index 100% rename from community/ipfs/1.0.10/templates/_portal.tpl rename to community/ipfs/1.0.11/templates/_portal.tpl diff --git a/community/ipfs/1.0.10/templates/common.yaml b/community/ipfs/1.0.11/templates/common.yaml similarity index 100% rename from community/ipfs/1.0.10/templates/common.yaml rename to community/ipfs/1.0.11/templates/common.yaml diff --git a/community/jellyfin/1.0.3/Chart.lock b/community/jellyfin/1.0.4/Chart.lock similarity index 100% rename from community/jellyfin/1.0.3/Chart.lock rename to community/jellyfin/1.0.4/Chart.lock diff --git a/community/jellyfin/1.0.3/Chart.yaml b/community/jellyfin/1.0.4/Chart.yaml similarity index 97% rename from community/jellyfin/1.0.3/Chart.yaml rename to community/jellyfin/1.0.4/Chart.yaml index 9a26ab6612..f9064447c2 100644 --- a/community/jellyfin/1.0.3/Chart.yaml +++ b/community/jellyfin/1.0.4/Chart.yaml @@ -3,7 +3,7 @@ description: Jellyfin is a Free Software Media System that puts you in control o annotations: title: Jellyfin type: application -version: 1.0.3 +version: 1.0.4 apiVersion: v2 appVersion: '10.8.10' kubeVersion: '>=1.16.0-0' diff --git a/community/jellyfin/1.0.3/README.md b/community/jellyfin/1.0.4/README.md similarity index 100% rename from community/jellyfin/1.0.3/README.md rename to community/jellyfin/1.0.4/README.md diff --git a/community/jellyfin/1.0.3/app-readme.md b/community/jellyfin/1.0.4/app-readme.md similarity index 100% rename from community/jellyfin/1.0.3/app-readme.md rename to community/jellyfin/1.0.4/app-readme.md diff --git a/community/jellyfin/1.0.3/charts/common-1.0.7.tgz b/community/jellyfin/1.0.4/charts/common-1.0.7.tgz similarity index 100% rename from community/jellyfin/1.0.3/charts/common-1.0.7.tgz rename to community/jellyfin/1.0.4/charts/common-1.0.7.tgz diff --git a/community/jellyfin/1.0.3/ci/basic-values.yaml b/community/jellyfin/1.0.4/ci/basic-values.yaml similarity index 100% rename from community/jellyfin/1.0.3/ci/basic-values.yaml rename to community/jellyfin/1.0.4/ci/basic-values.yaml diff --git a/community/jellyfin/1.0.3/ci/extra-values.yaml b/community/jellyfin/1.0.4/ci/extra-values.yaml similarity index 100% rename from community/jellyfin/1.0.3/ci/extra-values.yaml rename to community/jellyfin/1.0.4/ci/extra-values.yaml diff --git a/community/jellyfin/1.0.3/ci/hostNet-values.yaml b/community/jellyfin/1.0.4/ci/hostNet-values.yaml similarity index 100% rename from community/jellyfin/1.0.3/ci/hostNet-values.yaml rename to community/jellyfin/1.0.4/ci/hostNet-values.yaml diff --git a/community/jellyfin/1.0.3/ix_values.yaml b/community/jellyfin/1.0.4/ix_values.yaml similarity index 91% rename from community/jellyfin/1.0.3/ix_values.yaml rename to community/jellyfin/1.0.4/ix_values.yaml index 7ddfbd3257..1152501e7e 100644 --- a/community/jellyfin/1.0.3/ix_values.yaml +++ b/community/jellyfin/1.0.4/ix_values.yaml @@ -21,15 +21,12 @@ jellyfinRunAs: jellyfinStorage: config: type: ixVolume - hostPath: '' datasetName: config cache: type: ixVolume - hostPath: '' datasetName: cache transcodes: type: ixVolume - hostPath: '' datasetName: transcodes medium: '' size: '' diff --git a/community/jellyfin/1.0.3/metadata.yaml b/community/jellyfin/1.0.4/metadata.yaml similarity index 100% rename from community/jellyfin/1.0.3/metadata.yaml rename to community/jellyfin/1.0.4/metadata.yaml diff --git a/community/jellyfin/1.0.4/migrations/migrate b/community/jellyfin/1.0.4/migrations/migrate new file mode 100755 index 0000000000..8f7e3dc857 --- /dev/null +++ b/community/jellyfin/1.0.4/migrations/migrate @@ -0,0 +1,28 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'jellyfinStorage' + storages = ['config', 'cache', 'transcodes'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/jellyfin/1.0.3/questions.yaml b/community/jellyfin/1.0.4/questions.yaml similarity index 100% rename from community/jellyfin/1.0.3/questions.yaml rename to community/jellyfin/1.0.4/questions.yaml diff --git a/community/jellyfin/1.0.3/templates/NOTES.txt b/community/jellyfin/1.0.4/templates/NOTES.txt similarity index 100% rename from community/jellyfin/1.0.3/templates/NOTES.txt rename to community/jellyfin/1.0.4/templates/NOTES.txt diff --git a/community/jellyfin/1.0.3/templates/_jellyfin.tpl b/community/jellyfin/1.0.4/templates/_jellyfin.tpl similarity index 100% rename from community/jellyfin/1.0.3/templates/_jellyfin.tpl rename to community/jellyfin/1.0.4/templates/_jellyfin.tpl diff --git a/community/jellyfin/1.0.3/templates/_portal.tpl b/community/jellyfin/1.0.4/templates/_portal.tpl similarity index 100% rename from community/jellyfin/1.0.3/templates/_portal.tpl rename to community/jellyfin/1.0.4/templates/_portal.tpl diff --git a/community/jellyfin/1.0.3/templates/common.yaml b/community/jellyfin/1.0.4/templates/common.yaml similarity index 100% rename from community/jellyfin/1.0.3/templates/common.yaml rename to community/jellyfin/1.0.4/templates/common.yaml diff --git a/community/lidarr/1.0.7/Chart.lock b/community/lidarr/1.0.8/Chart.lock similarity index 100% rename from community/lidarr/1.0.7/Chart.lock rename to community/lidarr/1.0.8/Chart.lock diff --git a/community/lidarr/1.0.7/Chart.yaml b/community/lidarr/1.0.8/Chart.yaml similarity index 97% rename from community/lidarr/1.0.7/Chart.yaml rename to community/lidarr/1.0.8/Chart.yaml index c52bff57bd..3990cfc064 100644 --- a/community/lidarr/1.0.7/Chart.yaml +++ b/community/lidarr/1.0.8/Chart.yaml @@ -3,7 +3,7 @@ description: Lidarr is a music collection manager for Usenet and BitTorrent user annotations: title: Lidarr type: application -version: 1.0.7 +version: 1.0.8 apiVersion: v2 appVersion: '1.1.3.2982' kubeVersion: '>=1.16.0-0' diff --git a/community/lidarr/1.0.7/README.md b/community/lidarr/1.0.8/README.md similarity index 100% rename from community/lidarr/1.0.7/README.md rename to community/lidarr/1.0.8/README.md diff --git a/community/lidarr/1.0.7/app-readme.md b/community/lidarr/1.0.8/app-readme.md similarity index 100% rename from community/lidarr/1.0.7/app-readme.md rename to community/lidarr/1.0.8/app-readme.md diff --git a/community/lidarr/1.0.7/charts/common-1.0.7.tgz b/community/lidarr/1.0.8/charts/common-1.0.7.tgz similarity index 100% rename from community/lidarr/1.0.7/charts/common-1.0.7.tgz rename to community/lidarr/1.0.8/charts/common-1.0.7.tgz diff --git a/community/lidarr/1.0.7/ci/basic-values.yaml b/community/lidarr/1.0.8/ci/basic-values.yaml similarity index 100% rename from community/lidarr/1.0.7/ci/basic-values.yaml rename to community/lidarr/1.0.8/ci/basic-values.yaml diff --git a/community/lidarr/1.0.7/ci/extra-values.yaml b/community/lidarr/1.0.8/ci/extra-values.yaml similarity index 100% rename from community/lidarr/1.0.7/ci/extra-values.yaml rename to community/lidarr/1.0.8/ci/extra-values.yaml diff --git a/community/lidarr/1.0.7/ci/hostNet-values.yaml b/community/lidarr/1.0.8/ci/hostNet-values.yaml similarity index 100% rename from community/lidarr/1.0.7/ci/hostNet-values.yaml rename to community/lidarr/1.0.8/ci/hostNet-values.yaml diff --git a/community/lidarr/1.0.7/ix_values.yaml b/community/lidarr/1.0.8/ix_values.yaml similarity index 95% rename from community/lidarr/1.0.7/ix_values.yaml rename to community/lidarr/1.0.8/ix_values.yaml index a5b76ef52a..4031c72fb5 100644 --- a/community/lidarr/1.0.7/ix_values.yaml +++ b/community/lidarr/1.0.8/ix_values.yaml @@ -20,6 +20,5 @@ lidarrRunAs: lidarrStorage: config: type: ixVolume - hostPath: '' datasetName: config additionalStorages: [] diff --git a/community/lidarr/1.0.7/metadata.yaml b/community/lidarr/1.0.8/metadata.yaml similarity index 100% rename from community/lidarr/1.0.7/metadata.yaml rename to community/lidarr/1.0.8/metadata.yaml diff --git a/community/lidarr/1.0.8/migrations/migrate b/community/lidarr/1.0.8/migrations/migrate new file mode 100755 index 0000000000..4146acef90 --- /dev/null +++ b/community/lidarr/1.0.8/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'lidarrStorage' + storages = ['config'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/lidarr/1.0.7/questions.yaml b/community/lidarr/1.0.8/questions.yaml similarity index 100% rename from community/lidarr/1.0.7/questions.yaml rename to community/lidarr/1.0.8/questions.yaml diff --git a/community/lidarr/1.0.7/templates/NOTES.txt b/community/lidarr/1.0.8/templates/NOTES.txt similarity index 100% rename from community/lidarr/1.0.7/templates/NOTES.txt rename to community/lidarr/1.0.8/templates/NOTES.txt diff --git a/community/lidarr/1.0.7/templates/_lidarr.tpl b/community/lidarr/1.0.8/templates/_lidarr.tpl similarity index 100% rename from community/lidarr/1.0.7/templates/_lidarr.tpl rename to community/lidarr/1.0.8/templates/_lidarr.tpl diff --git a/community/lidarr/1.0.7/templates/_portal.tpl b/community/lidarr/1.0.8/templates/_portal.tpl similarity index 100% rename from community/lidarr/1.0.7/templates/_portal.tpl rename to community/lidarr/1.0.8/templates/_portal.tpl diff --git a/community/lidarr/1.0.7/templates/common.yaml b/community/lidarr/1.0.8/templates/common.yaml similarity index 100% rename from community/lidarr/1.0.7/templates/common.yaml rename to community/lidarr/1.0.8/templates/common.yaml diff --git a/community/minecraft/1.0.1/Chart.lock b/community/minecraft/1.0.2/Chart.lock similarity index 100% rename from community/minecraft/1.0.1/Chart.lock rename to community/minecraft/1.0.2/Chart.lock diff --git a/community/minecraft/1.0.1/Chart.yaml b/community/minecraft/1.0.2/Chart.yaml similarity index 97% rename from community/minecraft/1.0.1/Chart.yaml rename to community/minecraft/1.0.2/Chart.yaml index 34b61f24f9..0d02a9ebed 100644 --- a/community/minecraft/1.0.1/Chart.yaml +++ b/community/minecraft/1.0.2/Chart.yaml @@ -3,7 +3,7 @@ description: Minecraft is a sandbox game annotations: title: Minecraft type: application -version: 1.0.1 +version: 1.0.2 apiVersion: v2 appVersion: '2023.3.0' kubeVersion: '>=1.16.0-0' diff --git a/community/minecraft/1.0.1/README.md b/community/minecraft/1.0.2/README.md similarity index 100% rename from community/minecraft/1.0.1/README.md rename to community/minecraft/1.0.2/README.md diff --git a/community/minecraft/1.0.1/app-readme.md b/community/minecraft/1.0.2/app-readme.md similarity index 100% rename from community/minecraft/1.0.1/app-readme.md rename to community/minecraft/1.0.2/app-readme.md diff --git a/community/minecraft/1.0.1/charts/common-1.0.7.tgz b/community/minecraft/1.0.2/charts/common-1.0.7.tgz similarity index 100% rename from community/minecraft/1.0.1/charts/common-1.0.7.tgz rename to community/minecraft/1.0.2/charts/common-1.0.7.tgz diff --git a/community/minecraft/1.0.1/ci/java11-j9-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java11-j9-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java11-j9-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java11-j9-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java11-jdk-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java11-jdk-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java11-jdk-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java11-jdk-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java11-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java11-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java11-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java11-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java17-alpine-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java17-alpine-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java17-alpine-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java17-alpine-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java17-gce-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java17-gce-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java17-gce-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java17-gce-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java17-j9-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java17-j9-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java17-j9-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java17-j9-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java17-jdk-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java17-jdk-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java17-jdk-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java17-jdk-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java17-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java17-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java17-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java17-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java19-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java19-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java19-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java19-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java8-gce-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java8-gce-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java8-gce-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java8-gce-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java8-j9-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java8-j9-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java8-j9-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java8-j9-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java8-jdk-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java8-jdk-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java8-jdk-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java8-jdk-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ci/java8-vanilla-values.yaml b/community/minecraft/1.0.2/ci/java8-vanilla-values.yaml similarity index 100% rename from community/minecraft/1.0.1/ci/java8-vanilla-values.yaml rename to community/minecraft/1.0.2/ci/java8-vanilla-values.yaml diff --git a/community/minecraft/1.0.1/ix_values.yaml b/community/minecraft/1.0.2/ix_values.yaml similarity index 99% rename from community/minecraft/1.0.1/ix_values.yaml rename to community/minecraft/1.0.2/ix_values.yaml index 54d8e2fdd2..a59735aa15 100644 --- a/community/minecraft/1.0.1/ix_values.yaml +++ b/community/minecraft/1.0.2/ix_values.yaml @@ -100,6 +100,5 @@ mcNetwork: mcStorage: data: type: ixVolume - hostPath: '' datasetName: data additionalStorages: [] diff --git a/community/minecraft/1.0.1/metadata.yaml b/community/minecraft/1.0.2/metadata.yaml similarity index 100% rename from community/minecraft/1.0.1/metadata.yaml rename to community/minecraft/1.0.2/metadata.yaml diff --git a/community/minecraft/1.0.2/migrations/migrate b/community/minecraft/1.0.2/migrations/migrate new file mode 100755 index 0000000000..ee8ecdfeec --- /dev/null +++ b/community/minecraft/1.0.2/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'mcStorage' + storages = ['data'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/minecraft/1.0.1/questions.yaml b/community/minecraft/1.0.2/questions.yaml similarity index 100% rename from community/minecraft/1.0.1/questions.yaml rename to community/minecraft/1.0.2/questions.yaml diff --git a/community/minecraft/1.0.1/templates/NOTES.txt b/community/minecraft/1.0.2/templates/NOTES.txt similarity index 100% rename from community/minecraft/1.0.1/templates/NOTES.txt rename to community/minecraft/1.0.2/templates/NOTES.txt diff --git a/community/minecraft/1.0.1/templates/_configuration.tpl b/community/minecraft/1.0.2/templates/_configuration.tpl similarity index 100% rename from community/minecraft/1.0.1/templates/_configuration.tpl rename to community/minecraft/1.0.2/templates/_configuration.tpl diff --git a/community/minecraft/1.0.1/templates/_minecraft.tpl b/community/minecraft/1.0.2/templates/_minecraft.tpl similarity index 100% rename from community/minecraft/1.0.1/templates/_minecraft.tpl rename to community/minecraft/1.0.2/templates/_minecraft.tpl diff --git a/community/minecraft/1.0.1/templates/common.yaml b/community/minecraft/1.0.2/templates/common.yaml similarity index 100% rename from community/minecraft/1.0.1/templates/common.yaml rename to community/minecraft/1.0.2/templates/common.yaml diff --git a/community/mumble/1.0.1/Chart.lock b/community/mumble/1.0.2/Chart.lock similarity index 100% rename from community/mumble/1.0.1/Chart.lock rename to community/mumble/1.0.2/Chart.lock diff --git a/community/mumble/1.0.1/Chart.yaml b/community/mumble/1.0.2/Chart.yaml similarity index 97% rename from community/mumble/1.0.1/Chart.yaml rename to community/mumble/1.0.2/Chart.yaml index 693dbfbea6..15223aa30f 100644 --- a/community/mumble/1.0.1/Chart.yaml +++ b/community/mumble/1.0.2/Chart.yaml @@ -3,7 +3,7 @@ description: Mumble is a free, open source, low latency, high quality voice chat annotations: title: Mumble type: application -version: 1.0.1 +version: 1.0.2 apiVersion: v2 appVersion: 'v1.4.230' kubeVersion: '>=1.16.0-0' diff --git a/community/mumble/1.0.1/README.md b/community/mumble/1.0.2/README.md similarity index 100% rename from community/mumble/1.0.1/README.md rename to community/mumble/1.0.2/README.md diff --git a/community/mumble/1.0.1/app-readme.md b/community/mumble/1.0.2/app-readme.md similarity index 100% rename from community/mumble/1.0.1/app-readme.md rename to community/mumble/1.0.2/app-readme.md diff --git a/community/mumble/1.0.1/charts/common-1.0.7.tgz b/community/mumble/1.0.2/charts/common-1.0.7.tgz similarity index 100% rename from community/mumble/1.0.1/charts/common-1.0.7.tgz rename to community/mumble/1.0.2/charts/common-1.0.7.tgz diff --git a/community/mumble/1.0.1/ci/basic-values.yaml b/community/mumble/1.0.2/ci/basic-values.yaml similarity index 100% rename from community/mumble/1.0.1/ci/basic-values.yaml rename to community/mumble/1.0.2/ci/basic-values.yaml diff --git a/community/mumble/1.0.1/ci/cert-values.yaml b/community/mumble/1.0.2/ci/cert-values.yaml similarity index 100% rename from community/mumble/1.0.1/ci/cert-values.yaml rename to community/mumble/1.0.2/ci/cert-values.yaml diff --git a/community/mumble/1.0.1/ix_values.yaml b/community/mumble/1.0.2/ix_values.yaml similarity index 96% rename from community/mumble/1.0.1/ix_values.yaml rename to community/mumble/1.0.2/ix_values.yaml index 1cff314570..bc6c1a4606 100644 --- a/community/mumble/1.0.1/ix_values.yaml +++ b/community/mumble/1.0.2/ix_values.yaml @@ -25,5 +25,4 @@ mumbleNetwork: mumbleStorage: data: type: ixVolume - hostPath: '' datasetName: data diff --git a/community/mumble/1.0.1/metadata.yaml b/community/mumble/1.0.2/metadata.yaml similarity index 100% rename from community/mumble/1.0.1/metadata.yaml rename to community/mumble/1.0.2/metadata.yaml diff --git a/community/mumble/1.0.2/migrations/migrate b/community/mumble/1.0.2/migrations/migrate new file mode 100755 index 0000000000..548d86baa2 --- /dev/null +++ b/community/mumble/1.0.2/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'mumbleStorage' + storages = ['data'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/mumble/1.0.1/questions.yaml b/community/mumble/1.0.2/questions.yaml similarity index 100% rename from community/mumble/1.0.1/questions.yaml rename to community/mumble/1.0.2/questions.yaml diff --git a/community/mumble/1.0.1/templates/NOTES.txt b/community/mumble/1.0.2/templates/NOTES.txt similarity index 100% rename from community/mumble/1.0.1/templates/NOTES.txt rename to community/mumble/1.0.2/templates/NOTES.txt diff --git a/community/mumble/1.0.1/templates/_configuration.tpl b/community/mumble/1.0.2/templates/_configuration.tpl similarity index 100% rename from community/mumble/1.0.1/templates/_configuration.tpl rename to community/mumble/1.0.2/templates/_configuration.tpl diff --git a/community/mumble/1.0.1/templates/_mumble.tpl b/community/mumble/1.0.2/templates/_mumble.tpl similarity index 100% rename from community/mumble/1.0.1/templates/_mumble.tpl rename to community/mumble/1.0.2/templates/_mumble.tpl diff --git a/community/mumble/1.0.1/templates/common.yaml b/community/mumble/1.0.2/templates/common.yaml similarity index 100% rename from community/mumble/1.0.1/templates/common.yaml rename to community/mumble/1.0.2/templates/common.yaml diff --git a/community/nginx-proxy-manager/1.0.6/Chart.lock b/community/nginx-proxy-manager/1.0.7/Chart.lock similarity index 100% rename from community/nginx-proxy-manager/1.0.6/Chart.lock rename to community/nginx-proxy-manager/1.0.7/Chart.lock diff --git a/community/nginx-proxy-manager/1.0.6/Chart.yaml b/community/nginx-proxy-manager/1.0.7/Chart.yaml similarity index 97% rename from community/nginx-proxy-manager/1.0.6/Chart.yaml rename to community/nginx-proxy-manager/1.0.7/Chart.yaml index 03b75c7a00..18c09e9970 100644 --- a/community/nginx-proxy-manager/1.0.6/Chart.yaml +++ b/community/nginx-proxy-manager/1.0.7/Chart.yaml @@ -3,7 +3,7 @@ description: Expose your services easily and securely annotations: title: Nginx Proxy Manager type: application -version: 1.0.6 +version: 1.0.7 apiVersion: v2 appVersion: 2.10.3 kubeVersion: '>=1.16.0-0' diff --git a/community/nginx-proxy-manager/1.0.6/README.md b/community/nginx-proxy-manager/1.0.7/README.md similarity index 100% rename from community/nginx-proxy-manager/1.0.6/README.md rename to community/nginx-proxy-manager/1.0.7/README.md diff --git a/community/nginx-proxy-manager/1.0.6/app-readme.md b/community/nginx-proxy-manager/1.0.7/app-readme.md similarity index 100% rename from community/nginx-proxy-manager/1.0.6/app-readme.md rename to community/nginx-proxy-manager/1.0.7/app-readme.md diff --git a/community/nginx-proxy-manager/1.0.6/charts/common-1.0.7.tgz b/community/nginx-proxy-manager/1.0.7/charts/common-1.0.7.tgz similarity index 100% rename from community/nginx-proxy-manager/1.0.6/charts/common-1.0.7.tgz rename to community/nginx-proxy-manager/1.0.7/charts/common-1.0.7.tgz diff --git a/community/nginx-proxy-manager/1.0.6/ci/basic-values.yaml b/community/nginx-proxy-manager/1.0.7/ci/basic-values.yaml similarity index 100% rename from community/nginx-proxy-manager/1.0.6/ci/basic-values.yaml rename to community/nginx-proxy-manager/1.0.7/ci/basic-values.yaml diff --git a/community/nginx-proxy-manager/1.0.6/ix_values.yaml b/community/nginx-proxy-manager/1.0.7/ix_values.yaml similarity index 93% rename from community/nginx-proxy-manager/1.0.6/ix_values.yaml rename to community/nginx-proxy-manager/1.0.7/ix_values.yaml index f0500d3563..6cee1461cc 100644 --- a/community/nginx-proxy-manager/1.0.6/ix_values.yaml +++ b/community/nginx-proxy-manager/1.0.7/ix_values.yaml @@ -15,11 +15,9 @@ npmNetwork: npmStorage: data: type: ixVolume - hostPath: '' datasetName: data certs: type: ixVolume - hostPath: '' datasetName: certs notes: custom: | diff --git a/community/nginx-proxy-manager/1.0.6/metadata.yaml b/community/nginx-proxy-manager/1.0.7/metadata.yaml similarity index 100% rename from community/nginx-proxy-manager/1.0.6/metadata.yaml rename to community/nginx-proxy-manager/1.0.7/metadata.yaml diff --git a/community/nginx-proxy-manager/1.0.7/migrations/migrate b/community/nginx-proxy-manager/1.0.7/migrations/migrate new file mode 100755 index 0000000000..8eef1e9357 --- /dev/null +++ b/community/nginx-proxy-manager/1.0.7/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'npmStorage' + storages = ['data', 'certs'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/nginx-proxy-manager/1.0.6/questions.yaml b/community/nginx-proxy-manager/1.0.7/questions.yaml similarity index 100% rename from community/nginx-proxy-manager/1.0.6/questions.yaml rename to community/nginx-proxy-manager/1.0.7/questions.yaml diff --git a/community/nginx-proxy-manager/1.0.6/templates/NOTES.txt b/community/nginx-proxy-manager/1.0.7/templates/NOTES.txt similarity index 100% rename from community/nginx-proxy-manager/1.0.6/templates/NOTES.txt rename to community/nginx-proxy-manager/1.0.7/templates/NOTES.txt diff --git a/community/nginx-proxy-manager/1.0.6/templates/_npm.tpl b/community/nginx-proxy-manager/1.0.7/templates/_npm.tpl similarity index 100% rename from community/nginx-proxy-manager/1.0.6/templates/_npm.tpl rename to community/nginx-proxy-manager/1.0.7/templates/_npm.tpl diff --git a/community/nginx-proxy-manager/1.0.6/templates/_portal.tpl b/community/nginx-proxy-manager/1.0.7/templates/_portal.tpl similarity index 100% rename from community/nginx-proxy-manager/1.0.6/templates/_portal.tpl rename to community/nginx-proxy-manager/1.0.7/templates/_portal.tpl diff --git a/community/nginx-proxy-manager/1.0.6/templates/common.yaml b/community/nginx-proxy-manager/1.0.7/templates/common.yaml similarity index 100% rename from community/nginx-proxy-manager/1.0.6/templates/common.yaml rename to community/nginx-proxy-manager/1.0.7/templates/common.yaml diff --git a/community/overseerr/1.0.2/Chart.lock b/community/overseerr/1.0.3/Chart.lock similarity index 100% rename from community/overseerr/1.0.2/Chart.lock rename to community/overseerr/1.0.3/Chart.lock diff --git a/community/overseerr/1.0.2/Chart.yaml b/community/overseerr/1.0.3/Chart.yaml similarity index 97% rename from community/overseerr/1.0.2/Chart.yaml rename to community/overseerr/1.0.3/Chart.yaml index 849efbbb36..14793e08d5 100644 --- a/community/overseerr/1.0.2/Chart.yaml +++ b/community/overseerr/1.0.3/Chart.yaml @@ -3,7 +3,7 @@ description: Overseerr is a free and open source software application for managi annotations: title: Overseerr type: application -version: 1.0.2 +version: 1.0.3 apiVersion: v2 appVersion: '1.32.5' kubeVersion: '>=1.16.0-0' diff --git a/community/overseerr/1.0.2/README.md b/community/overseerr/1.0.3/README.md similarity index 100% rename from community/overseerr/1.0.2/README.md rename to community/overseerr/1.0.3/README.md diff --git a/community/overseerr/1.0.2/app-readme.md b/community/overseerr/1.0.3/app-readme.md similarity index 100% rename from community/overseerr/1.0.2/app-readme.md rename to community/overseerr/1.0.3/app-readme.md diff --git a/community/overseerr/1.0.2/charts/common-1.0.7.tgz b/community/overseerr/1.0.3/charts/common-1.0.7.tgz similarity index 100% rename from community/overseerr/1.0.2/charts/common-1.0.7.tgz rename to community/overseerr/1.0.3/charts/common-1.0.7.tgz diff --git a/community/overseerr/1.0.2/ci/basic-values.yaml b/community/overseerr/1.0.3/ci/basic-values.yaml similarity index 100% rename from community/overseerr/1.0.2/ci/basic-values.yaml rename to community/overseerr/1.0.3/ci/basic-values.yaml diff --git a/community/overseerr/1.0.2/ci/hostNet-values.yaml b/community/overseerr/1.0.3/ci/hostNet-values.yaml similarity index 100% rename from community/overseerr/1.0.2/ci/hostNet-values.yaml rename to community/overseerr/1.0.3/ci/hostNet-values.yaml diff --git a/community/overseerr/1.0.2/ix_values.yaml b/community/overseerr/1.0.3/ix_values.yaml similarity index 95% rename from community/overseerr/1.0.2/ix_values.yaml rename to community/overseerr/1.0.3/ix_values.yaml index 0cfefda05d..4595763283 100644 --- a/community/overseerr/1.0.2/ix_values.yaml +++ b/community/overseerr/1.0.3/ix_values.yaml @@ -22,5 +22,4 @@ overseerrRunAs: overseerrStorage: config: type: ixVolume - hostPath: '' datasetName: config diff --git a/community/overseerr/1.0.2/metadata.yaml b/community/overseerr/1.0.3/metadata.yaml similarity index 100% rename from community/overseerr/1.0.2/metadata.yaml rename to community/overseerr/1.0.3/metadata.yaml diff --git a/community/overseerr/1.0.3/migrations/migrate b/community/overseerr/1.0.3/migrations/migrate new file mode 100755 index 0000000000..6bf2a36287 --- /dev/null +++ b/community/overseerr/1.0.3/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'overseerrStorage' + storages = ['config'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/overseerr/1.0.2/questions.yaml b/community/overseerr/1.0.3/questions.yaml similarity index 100% rename from community/overseerr/1.0.2/questions.yaml rename to community/overseerr/1.0.3/questions.yaml diff --git a/community/overseerr/1.0.2/templates/NOTES.txt b/community/overseerr/1.0.3/templates/NOTES.txt similarity index 100% rename from community/overseerr/1.0.2/templates/NOTES.txt rename to community/overseerr/1.0.3/templates/NOTES.txt diff --git a/community/overseerr/1.0.2/templates/_overseerr.tpl b/community/overseerr/1.0.3/templates/_overseerr.tpl similarity index 100% rename from community/overseerr/1.0.2/templates/_overseerr.tpl rename to community/overseerr/1.0.3/templates/_overseerr.tpl diff --git a/community/overseerr/1.0.2/templates/_portal.tpl b/community/overseerr/1.0.3/templates/_portal.tpl similarity index 100% rename from community/overseerr/1.0.2/templates/_portal.tpl rename to community/overseerr/1.0.3/templates/_portal.tpl diff --git a/community/overseerr/1.0.2/templates/common.yaml b/community/overseerr/1.0.3/templates/common.yaml similarity index 100% rename from community/overseerr/1.0.2/templates/common.yaml rename to community/overseerr/1.0.3/templates/common.yaml diff --git a/community/qbittorrent/1.0.10/Chart.lock b/community/qbittorrent/1.0.11/Chart.lock similarity index 100% rename from community/qbittorrent/1.0.10/Chart.lock rename to community/qbittorrent/1.0.11/Chart.lock diff --git a/community/qbittorrent/1.0.10/Chart.yaml b/community/qbittorrent/1.0.11/Chart.yaml similarity index 97% rename from community/qbittorrent/1.0.10/Chart.yaml rename to community/qbittorrent/1.0.11/Chart.yaml index 7fb4ae6eae..e5f13de344 100644 --- a/community/qbittorrent/1.0.10/Chart.yaml +++ b/community/qbittorrent/1.0.11/Chart.yaml @@ -3,7 +3,7 @@ description: The qBittorrent project aims to provide an open-source software alt annotations: title: qBittorrent type: application -version: 1.0.10 +version: 1.0.11 apiVersion: v2 appVersion: '4.5.2' kubeVersion: '>=1.16.0-0' diff --git a/community/qbittorrent/1.0.10/README.md b/community/qbittorrent/1.0.11/README.md similarity index 100% rename from community/qbittorrent/1.0.10/README.md rename to community/qbittorrent/1.0.11/README.md diff --git a/community/qbittorrent/1.0.10/app-readme.md b/community/qbittorrent/1.0.11/app-readme.md similarity index 100% rename from community/qbittorrent/1.0.10/app-readme.md rename to community/qbittorrent/1.0.11/app-readme.md diff --git a/community/qbittorrent/1.0.10/charts/common-1.0.7.tgz b/community/qbittorrent/1.0.11/charts/common-1.0.7.tgz similarity index 100% rename from community/qbittorrent/1.0.10/charts/common-1.0.7.tgz rename to community/qbittorrent/1.0.11/charts/common-1.0.7.tgz diff --git a/community/qbittorrent/1.0.10/ci/basic-values.yaml b/community/qbittorrent/1.0.11/ci/basic-values.yaml similarity index 100% rename from community/qbittorrent/1.0.10/ci/basic-values.yaml rename to community/qbittorrent/1.0.11/ci/basic-values.yaml diff --git a/community/qbittorrent/1.0.10/ci/extra-env-values.yaml b/community/qbittorrent/1.0.11/ci/extra-env-values.yaml similarity index 100% rename from community/qbittorrent/1.0.10/ci/extra-env-values.yaml rename to community/qbittorrent/1.0.11/ci/extra-env-values.yaml diff --git a/community/qbittorrent/1.0.10/ci/hostNet-values.yaml b/community/qbittorrent/1.0.11/ci/hostNet-values.yaml similarity index 100% rename from community/qbittorrent/1.0.10/ci/hostNet-values.yaml rename to community/qbittorrent/1.0.11/ci/hostNet-values.yaml diff --git a/community/qbittorrent/1.0.10/ix_values.yaml b/community/qbittorrent/1.0.11/ix_values.yaml similarity index 93% rename from community/qbittorrent/1.0.10/ix_values.yaml rename to community/qbittorrent/1.0.11/ix_values.yaml index e8d0c68727..284ff9d2d5 100644 --- a/community/qbittorrent/1.0.10/ix_values.yaml +++ b/community/qbittorrent/1.0.11/ix_values.yaml @@ -20,11 +20,9 @@ qbitRunAs: qbitStorage: downloads: type: ixVolume - hostPath: "" datasetName: downloads config: type: ixVolume - hostPath: "" datasetName: config notes: diff --git a/community/qbittorrent/1.0.10/metadata.yaml b/community/qbittorrent/1.0.11/metadata.yaml similarity index 100% rename from community/qbittorrent/1.0.10/metadata.yaml rename to community/qbittorrent/1.0.11/metadata.yaml diff --git a/community/qbittorrent/1.0.11/migrations/migrate b/community/qbittorrent/1.0.11/migrations/migrate new file mode 100755 index 0000000000..7b8becda5d --- /dev/null +++ b/community/qbittorrent/1.0.11/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'qbitStorage' + storages = ['downloads', 'config'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/qbittorrent/1.0.10/questions.yaml b/community/qbittorrent/1.0.11/questions.yaml similarity index 100% rename from community/qbittorrent/1.0.10/questions.yaml rename to community/qbittorrent/1.0.11/questions.yaml diff --git a/community/qbittorrent/1.0.10/templates/NOTES.txt b/community/qbittorrent/1.0.11/templates/NOTES.txt similarity index 100% rename from community/qbittorrent/1.0.10/templates/NOTES.txt rename to community/qbittorrent/1.0.11/templates/NOTES.txt diff --git a/community/qbittorrent/1.0.10/templates/_configuration.tpl b/community/qbittorrent/1.0.11/templates/_configuration.tpl similarity index 100% rename from community/qbittorrent/1.0.10/templates/_configuration.tpl rename to community/qbittorrent/1.0.11/templates/_configuration.tpl diff --git a/community/qbittorrent/1.0.10/templates/_portal.tpl b/community/qbittorrent/1.0.11/templates/_portal.tpl similarity index 100% rename from community/qbittorrent/1.0.10/templates/_portal.tpl rename to community/qbittorrent/1.0.11/templates/_portal.tpl diff --git a/community/qbittorrent/1.0.10/templates/_qbittorrent.tpl b/community/qbittorrent/1.0.11/templates/_qbittorrent.tpl similarity index 100% rename from community/qbittorrent/1.0.10/templates/_qbittorrent.tpl rename to community/qbittorrent/1.0.11/templates/_qbittorrent.tpl diff --git a/community/qbittorrent/1.0.10/templates/common.yaml b/community/qbittorrent/1.0.11/templates/common.yaml similarity index 100% rename from community/qbittorrent/1.0.10/templates/common.yaml rename to community/qbittorrent/1.0.11/templates/common.yaml diff --git a/community/radarr/1.0.10/Chart.lock b/community/radarr/1.0.11/Chart.lock similarity index 100% rename from community/radarr/1.0.10/Chart.lock rename to community/radarr/1.0.11/Chart.lock diff --git a/community/radarr/1.0.10/Chart.yaml b/community/radarr/1.0.11/Chart.yaml similarity index 97% rename from community/radarr/1.0.10/Chart.yaml rename to community/radarr/1.0.11/Chart.yaml index bc9e92b262..263268f9a8 100644 --- a/community/radarr/1.0.10/Chart.yaml +++ b/community/radarr/1.0.11/Chart.yaml @@ -3,7 +3,7 @@ description: Radarr is a movie collection manager for Usenet and BitTorrent user annotations: title: Radarr type: application -version: 1.0.10 +version: 1.0.11 apiVersion: v2 appVersion: 4.5.2.7388 kubeVersion: '>=1.16.0-0' diff --git a/community/radarr/1.0.10/README.md b/community/radarr/1.0.11/README.md similarity index 100% rename from community/radarr/1.0.10/README.md rename to community/radarr/1.0.11/README.md diff --git a/community/radarr/1.0.10/app-readme.md b/community/radarr/1.0.11/app-readme.md similarity index 100% rename from community/radarr/1.0.10/app-readme.md rename to community/radarr/1.0.11/app-readme.md diff --git a/community/radarr/1.0.10/charts/common-1.0.7.tgz b/community/radarr/1.0.11/charts/common-1.0.7.tgz similarity index 100% rename from community/radarr/1.0.10/charts/common-1.0.7.tgz rename to community/radarr/1.0.11/charts/common-1.0.7.tgz diff --git a/community/radarr/1.0.10/ci/basic-values.yaml b/community/radarr/1.0.11/ci/basic-values.yaml similarity index 100% rename from community/radarr/1.0.10/ci/basic-values.yaml rename to community/radarr/1.0.11/ci/basic-values.yaml diff --git a/community/radarr/1.0.10/ci/extra-values.yaml b/community/radarr/1.0.11/ci/extra-values.yaml similarity index 100% rename from community/radarr/1.0.10/ci/extra-values.yaml rename to community/radarr/1.0.11/ci/extra-values.yaml diff --git a/community/radarr/1.0.10/ci/hostNet-values.yaml b/community/radarr/1.0.11/ci/hostNet-values.yaml similarity index 100% rename from community/radarr/1.0.10/ci/hostNet-values.yaml rename to community/radarr/1.0.11/ci/hostNet-values.yaml diff --git a/community/radarr/1.0.10/ix_values.yaml b/community/radarr/1.0.11/ix_values.yaml similarity index 95% rename from community/radarr/1.0.10/ix_values.yaml rename to community/radarr/1.0.11/ix_values.yaml index 6c1e18063e..b0e2a181b5 100644 --- a/community/radarr/1.0.10/ix_values.yaml +++ b/community/radarr/1.0.11/ix_values.yaml @@ -20,6 +20,5 @@ radarrRunAs: radarrStorage: config: type: ixVolume - hostPath: '' datasetName: config additionalStorages: [] diff --git a/community/radarr/1.0.10/metadata.yaml b/community/radarr/1.0.11/metadata.yaml similarity index 100% rename from community/radarr/1.0.10/metadata.yaml rename to community/radarr/1.0.11/metadata.yaml diff --git a/community/radarr/1.0.11/migrations/migrate b/community/radarr/1.0.11/migrations/migrate new file mode 100755 index 0000000000..d6eee11b0c --- /dev/null +++ b/community/radarr/1.0.11/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'radarrStorage' + storages = ['config'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/radarr/1.0.10/questions.yaml b/community/radarr/1.0.11/questions.yaml similarity index 100% rename from community/radarr/1.0.10/questions.yaml rename to community/radarr/1.0.11/questions.yaml diff --git a/community/radarr/1.0.10/templates/NOTES.txt b/community/radarr/1.0.11/templates/NOTES.txt similarity index 100% rename from community/radarr/1.0.10/templates/NOTES.txt rename to community/radarr/1.0.11/templates/NOTES.txt diff --git a/community/radarr/1.0.10/templates/_portal.tpl b/community/radarr/1.0.11/templates/_portal.tpl similarity index 100% rename from community/radarr/1.0.10/templates/_portal.tpl rename to community/radarr/1.0.11/templates/_portal.tpl diff --git a/community/radarr/1.0.10/templates/_radarr.tpl b/community/radarr/1.0.11/templates/_radarr.tpl similarity index 100% rename from community/radarr/1.0.10/templates/_radarr.tpl rename to community/radarr/1.0.11/templates/_radarr.tpl diff --git a/community/radarr/1.0.10/templates/common.yaml b/community/radarr/1.0.11/templates/common.yaml similarity index 100% rename from community/radarr/1.0.10/templates/common.yaml rename to community/radarr/1.0.11/templates/common.yaml diff --git a/community/sonarr/1.0.7/Chart.lock b/community/sonarr/1.0.8/Chart.lock similarity index 100% rename from community/sonarr/1.0.7/Chart.lock rename to community/sonarr/1.0.8/Chart.lock diff --git a/community/sonarr/1.0.7/Chart.yaml b/community/sonarr/1.0.8/Chart.yaml similarity index 97% rename from community/sonarr/1.0.7/Chart.yaml rename to community/sonarr/1.0.8/Chart.yaml index 0084c1430b..53b4a151c2 100644 --- a/community/sonarr/1.0.7/Chart.yaml +++ b/community/sonarr/1.0.8/Chart.yaml @@ -3,7 +3,7 @@ description: Sonarr is a PVR for Usenet and BitTorrent users. annotations: title: Sonarr type: application -version: 1.0.7 +version: 1.0.8 apiVersion: v2 appVersion: '3.0.10.1567' kubeVersion: '>=1.16.0-0' diff --git a/community/sonarr/1.0.7/README.md b/community/sonarr/1.0.8/README.md similarity index 100% rename from community/sonarr/1.0.7/README.md rename to community/sonarr/1.0.8/README.md diff --git a/community/sonarr/1.0.7/app-readme.md b/community/sonarr/1.0.8/app-readme.md similarity index 100% rename from community/sonarr/1.0.7/app-readme.md rename to community/sonarr/1.0.8/app-readme.md diff --git a/community/sonarr/1.0.7/charts/common-1.0.7.tgz b/community/sonarr/1.0.8/charts/common-1.0.7.tgz similarity index 100% rename from community/sonarr/1.0.7/charts/common-1.0.7.tgz rename to community/sonarr/1.0.8/charts/common-1.0.7.tgz diff --git a/community/sonarr/1.0.7/ci/basic-values.yaml b/community/sonarr/1.0.8/ci/basic-values.yaml similarity index 100% rename from community/sonarr/1.0.7/ci/basic-values.yaml rename to community/sonarr/1.0.8/ci/basic-values.yaml diff --git a/community/sonarr/1.0.7/ci/extra-values.yaml b/community/sonarr/1.0.8/ci/extra-values.yaml similarity index 100% rename from community/sonarr/1.0.7/ci/extra-values.yaml rename to community/sonarr/1.0.8/ci/extra-values.yaml diff --git a/community/sonarr/1.0.7/ci/hostNet-values.yaml b/community/sonarr/1.0.8/ci/hostNet-values.yaml similarity index 100% rename from community/sonarr/1.0.7/ci/hostNet-values.yaml rename to community/sonarr/1.0.8/ci/hostNet-values.yaml diff --git a/community/sonarr/1.0.7/ix_values.yaml b/community/sonarr/1.0.8/ix_values.yaml similarity index 95% rename from community/sonarr/1.0.7/ix_values.yaml rename to community/sonarr/1.0.8/ix_values.yaml index 504eb02bd8..fc0070c09f 100644 --- a/community/sonarr/1.0.7/ix_values.yaml +++ b/community/sonarr/1.0.8/ix_values.yaml @@ -20,6 +20,5 @@ sonarrRunAs: sonarrStorage: config: type: ixVolume - hostPath: '' datasetName: config additionalStorages: [] diff --git a/community/sonarr/1.0.7/metadata.yaml b/community/sonarr/1.0.8/metadata.yaml similarity index 100% rename from community/sonarr/1.0.7/metadata.yaml rename to community/sonarr/1.0.8/metadata.yaml diff --git a/community/sonarr/1.0.8/migrations/migrate b/community/sonarr/1.0.8/migrations/migrate new file mode 100755 index 0000000000..3176f197c3 --- /dev/null +++ b/community/sonarr/1.0.8/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'sonarrStorage' + storages = ['config'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/sonarr/1.0.7/questions.yaml b/community/sonarr/1.0.8/questions.yaml similarity index 100% rename from community/sonarr/1.0.7/questions.yaml rename to community/sonarr/1.0.8/questions.yaml diff --git a/community/sonarr/1.0.7/templates/NOTES.txt b/community/sonarr/1.0.8/templates/NOTES.txt similarity index 100% rename from community/sonarr/1.0.7/templates/NOTES.txt rename to community/sonarr/1.0.8/templates/NOTES.txt diff --git a/community/sonarr/1.0.7/templates/_portal.tpl b/community/sonarr/1.0.8/templates/_portal.tpl similarity index 100% rename from community/sonarr/1.0.7/templates/_portal.tpl rename to community/sonarr/1.0.8/templates/_portal.tpl diff --git a/community/sonarr/1.0.7/templates/_sonarr.tpl b/community/sonarr/1.0.8/templates/_sonarr.tpl similarity index 100% rename from community/sonarr/1.0.7/templates/_sonarr.tpl rename to community/sonarr/1.0.8/templates/_sonarr.tpl diff --git a/community/sonarr/1.0.7/templates/common.yaml b/community/sonarr/1.0.8/templates/common.yaml similarity index 100% rename from community/sonarr/1.0.7/templates/common.yaml rename to community/sonarr/1.0.8/templates/common.yaml diff --git a/community/tdarr/1.0.5/Chart.lock b/community/tdarr/1.0.6/Chart.lock similarity index 100% rename from community/tdarr/1.0.5/Chart.lock rename to community/tdarr/1.0.6/Chart.lock diff --git a/community/tdarr/1.0.5/Chart.yaml b/community/tdarr/1.0.6/Chart.yaml similarity index 97% rename from community/tdarr/1.0.5/Chart.yaml rename to community/tdarr/1.0.6/Chart.yaml index 6772afa989..c8a9d27e1f 100644 --- a/community/tdarr/1.0.5/Chart.yaml +++ b/community/tdarr/1.0.6/Chart.yaml @@ -3,7 +3,7 @@ description: Tdarr is a Distributed Transcoding System annotations: title: Tdarr type: application -version: 1.0.5 +version: 1.0.6 apiVersion: v2 appVersion: '2.00.20.1' kubeVersion: '>=1.16.0-0' diff --git a/community/tdarr/1.0.5/README.md b/community/tdarr/1.0.6/README.md similarity index 100% rename from community/tdarr/1.0.5/README.md rename to community/tdarr/1.0.6/README.md diff --git a/community/tdarr/1.0.5/app-readme.md b/community/tdarr/1.0.6/app-readme.md similarity index 100% rename from community/tdarr/1.0.5/app-readme.md rename to community/tdarr/1.0.6/app-readme.md diff --git a/community/tdarr/1.0.5/charts/common-1.0.7.tgz b/community/tdarr/1.0.6/charts/common-1.0.7.tgz similarity index 100% rename from community/tdarr/1.0.5/charts/common-1.0.7.tgz rename to community/tdarr/1.0.6/charts/common-1.0.7.tgz diff --git a/community/tdarr/1.0.5/ci/basic-values.yaml b/community/tdarr/1.0.6/ci/basic-values.yaml similarity index 100% rename from community/tdarr/1.0.5/ci/basic-values.yaml rename to community/tdarr/1.0.6/ci/basic-values.yaml diff --git a/community/tdarr/1.0.5/ci/no-internal-node-values.yaml b/community/tdarr/1.0.6/ci/no-internal-node-values.yaml similarity index 100% rename from community/tdarr/1.0.5/ci/no-internal-node-values.yaml rename to community/tdarr/1.0.6/ci/no-internal-node-values.yaml diff --git a/community/tdarr/1.0.5/ix_values.yaml b/community/tdarr/1.0.6/ix_values.yaml similarity index 90% rename from community/tdarr/1.0.5/ix_values.yaml rename to community/tdarr/1.0.6/ix_values.yaml index acc0d8685c..c23a9c029d 100644 --- a/community/tdarr/1.0.5/ix_values.yaml +++ b/community/tdarr/1.0.6/ix_values.yaml @@ -22,19 +22,15 @@ tdarrID: tdarrStorage: server: type: ixVolume - hostPath: '' datasetName: server configs: type: ixVolume - hostPath: '' datasetName: configs logs: type: ixVolume - hostPath: '' datasetName: logs transcodes: type: ixVolume - hostPath: '' datasetName: transcodes medium: '' size: '' diff --git a/community/tdarr/1.0.5/metadata.yaml b/community/tdarr/1.0.6/metadata.yaml similarity index 100% rename from community/tdarr/1.0.5/metadata.yaml rename to community/tdarr/1.0.6/metadata.yaml diff --git a/community/tdarr/1.0.6/migrations/migrate b/community/tdarr/1.0.6/migrations/migrate new file mode 100755 index 0000000000..6fe555ffd2 --- /dev/null +++ b/community/tdarr/1.0.6/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'tdarrStorage' + storages = ['server', 'configs', 'logs', 'transcodes'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/tdarr/1.0.5/questions.yaml b/community/tdarr/1.0.6/questions.yaml similarity index 100% rename from community/tdarr/1.0.5/questions.yaml rename to community/tdarr/1.0.6/questions.yaml diff --git a/community/tdarr/1.0.5/templates/NOTES.txt b/community/tdarr/1.0.6/templates/NOTES.txt similarity index 100% rename from community/tdarr/1.0.5/templates/NOTES.txt rename to community/tdarr/1.0.6/templates/NOTES.txt diff --git a/community/tdarr/1.0.5/templates/_portal.tpl b/community/tdarr/1.0.6/templates/_portal.tpl similarity index 100% rename from community/tdarr/1.0.5/templates/_portal.tpl rename to community/tdarr/1.0.6/templates/_portal.tpl diff --git a/community/tdarr/1.0.5/templates/_tdarr.tpl b/community/tdarr/1.0.6/templates/_tdarr.tpl similarity index 100% rename from community/tdarr/1.0.5/templates/_tdarr.tpl rename to community/tdarr/1.0.6/templates/_tdarr.tpl diff --git a/community/tdarr/1.0.5/templates/common.yaml b/community/tdarr/1.0.6/templates/common.yaml similarity index 100% rename from community/tdarr/1.0.5/templates/common.yaml rename to community/tdarr/1.0.6/templates/common.yaml diff --git a/community/terraria/1.0.1/Chart.lock b/community/terraria/1.0.2/Chart.lock similarity index 100% rename from community/terraria/1.0.1/Chart.lock rename to community/terraria/1.0.2/Chart.lock diff --git a/community/terraria/1.0.1/Chart.yaml b/community/terraria/1.0.2/Chart.yaml similarity index 98% rename from community/terraria/1.0.1/Chart.yaml rename to community/terraria/1.0.2/Chart.yaml index 136cde3e23..04d010d055 100644 --- a/community/terraria/1.0.1/Chart.yaml +++ b/community/terraria/1.0.2/Chart.yaml @@ -3,7 +3,7 @@ description: Terraria is a land of adventure! A land of mystery! A land that's y annotations: title: Terraria type: application -version: 1.0.1 +version: 1.0.2 apiVersion: v2 appVersion: '1.4.4.9' kubeVersion: '>=1.16.0-0' diff --git a/community/terraria/1.0.1/README.md b/community/terraria/1.0.2/README.md similarity index 100% rename from community/terraria/1.0.1/README.md rename to community/terraria/1.0.2/README.md diff --git a/community/terraria/1.0.1/app-readme.md b/community/terraria/1.0.2/app-readme.md similarity index 100% rename from community/terraria/1.0.1/app-readme.md rename to community/terraria/1.0.2/app-readme.md diff --git a/community/terraria/1.0.1/charts/common-1.0.7.tgz b/community/terraria/1.0.2/charts/common-1.0.7.tgz similarity index 100% rename from community/terraria/1.0.1/charts/common-1.0.7.tgz rename to community/terraria/1.0.2/charts/common-1.0.7.tgz diff --git a/community/terraria/1.0.1/ci/tshock-basic-values.yaml b/community/terraria/1.0.2/ci/tshock-basic-values.yaml similarity index 100% rename from community/terraria/1.0.1/ci/tshock-basic-values.yaml rename to community/terraria/1.0.2/ci/tshock-basic-values.yaml diff --git a/community/terraria/1.0.1/ci/tshock-password-values.yaml b/community/terraria/1.0.2/ci/tshock-password-values.yaml similarity index 100% rename from community/terraria/1.0.1/ci/tshock-password-values.yaml rename to community/terraria/1.0.2/ci/tshock-password-values.yaml diff --git a/community/terraria/1.0.1/ci/vanilla-basic-values.yaml b/community/terraria/1.0.2/ci/vanilla-basic-values.yaml similarity index 100% rename from community/terraria/1.0.1/ci/vanilla-basic-values.yaml rename to community/terraria/1.0.2/ci/vanilla-basic-values.yaml diff --git a/community/terraria/1.0.1/ix_values.yaml b/community/terraria/1.0.2/ix_values.yaml similarity index 95% rename from community/terraria/1.0.1/ix_values.yaml rename to community/terraria/1.0.2/ix_values.yaml index 353e8701fa..e4bb540898 100644 --- a/community/terraria/1.0.1/ix_values.yaml +++ b/community/terraria/1.0.2/ix_values.yaml @@ -36,9 +36,7 @@ terrariaNetwork: terrariaStorage: world: type: ixVolume - hostPath: '' datasetName: world plugins: type: ixVolume - hostPath: '' datasetName: plugins diff --git a/community/terraria/1.0.1/metadata.yaml b/community/terraria/1.0.2/metadata.yaml similarity index 100% rename from community/terraria/1.0.1/metadata.yaml rename to community/terraria/1.0.2/metadata.yaml diff --git a/community/terraria/1.0.2/migrations/migrate b/community/terraria/1.0.2/migrations/migrate new file mode 100755 index 0000000000..167bed6051 --- /dev/null +++ b/community/terraria/1.0.2/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'terrariaStorage' + storages = ['world', 'plugins'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/terraria/1.0.1/questions.yaml b/community/terraria/1.0.2/questions.yaml similarity index 100% rename from community/terraria/1.0.1/questions.yaml rename to community/terraria/1.0.2/questions.yaml diff --git a/community/terraria/1.0.1/templates/NOTES.txt b/community/terraria/1.0.2/templates/NOTES.txt similarity index 100% rename from community/terraria/1.0.1/templates/NOTES.txt rename to community/terraria/1.0.2/templates/NOTES.txt diff --git a/community/terraria/1.0.1/templates/_configuarion.tpl b/community/terraria/1.0.2/templates/_configuarion.tpl similarity index 100% rename from community/terraria/1.0.1/templates/_configuarion.tpl rename to community/terraria/1.0.2/templates/_configuarion.tpl diff --git a/community/terraria/1.0.1/templates/_terraria.tpl b/community/terraria/1.0.2/templates/_terraria.tpl similarity index 100% rename from community/terraria/1.0.1/templates/_terraria.tpl rename to community/terraria/1.0.2/templates/_terraria.tpl diff --git a/community/terraria/1.0.1/templates/common.yaml b/community/terraria/1.0.2/templates/common.yaml similarity index 100% rename from community/terraria/1.0.1/templates/common.yaml rename to community/terraria/1.0.2/templates/common.yaml diff --git a/community/vaultwarden/1.0.9/Chart.lock b/community/vaultwarden/1.0.10/Chart.lock similarity index 100% rename from community/vaultwarden/1.0.9/Chart.lock rename to community/vaultwarden/1.0.10/Chart.lock diff --git a/community/vaultwarden/1.0.9/Chart.yaml b/community/vaultwarden/1.0.10/Chart.yaml similarity index 97% rename from community/vaultwarden/1.0.9/Chart.yaml rename to community/vaultwarden/1.0.10/Chart.yaml index 9ccd64735f..c78558275d 100644 --- a/community/vaultwarden/1.0.9/Chart.yaml +++ b/community/vaultwarden/1.0.10/Chart.yaml @@ -4,7 +4,7 @@ description: Alternative implementation of the Bitwarden server API written in R annotations: title: Vaultwarden type: application -version: 1.0.9 +version: 1.0.10 apiVersion: v2 appVersion: '1.28.1' kubeVersion: '>=1.16.0-0' diff --git a/community/vaultwarden/1.0.9/README.md b/community/vaultwarden/1.0.10/README.md similarity index 100% rename from community/vaultwarden/1.0.9/README.md rename to community/vaultwarden/1.0.10/README.md diff --git a/community/vaultwarden/1.0.9/app-readme.md b/community/vaultwarden/1.0.10/app-readme.md similarity index 100% rename from community/vaultwarden/1.0.9/app-readme.md rename to community/vaultwarden/1.0.10/app-readme.md diff --git a/community/vaultwarden/1.0.9/charts/common-1.0.7.tgz b/community/vaultwarden/1.0.10/charts/common-1.0.7.tgz similarity index 100% rename from community/vaultwarden/1.0.9/charts/common-1.0.7.tgz rename to community/vaultwarden/1.0.10/charts/common-1.0.7.tgz diff --git a/community/vaultwarden/1.0.9/ci/additional-env-values.yaml b/community/vaultwarden/1.0.10/ci/additional-env-values.yaml similarity index 100% rename from community/vaultwarden/1.0.9/ci/additional-env-values.yaml rename to community/vaultwarden/1.0.10/ci/additional-env-values.yaml diff --git a/community/vaultwarden/1.0.9/ci/admin-values.yaml b/community/vaultwarden/1.0.10/ci/admin-values.yaml similarity index 100% rename from community/vaultwarden/1.0.9/ci/admin-values.yaml rename to community/vaultwarden/1.0.10/ci/admin-values.yaml diff --git a/community/vaultwarden/1.0.9/ci/basic-values.yaml b/community/vaultwarden/1.0.10/ci/basic-values.yaml similarity index 100% rename from community/vaultwarden/1.0.9/ci/basic-values.yaml rename to community/vaultwarden/1.0.10/ci/basic-values.yaml diff --git a/community/vaultwarden/1.0.9/ci/https-values.yaml b/community/vaultwarden/1.0.10/ci/https-values.yaml similarity index 100% rename from community/vaultwarden/1.0.9/ci/https-values.yaml rename to community/vaultwarden/1.0.10/ci/https-values.yaml diff --git a/community/vaultwarden/1.0.9/ci/other-user-values.yaml b/community/vaultwarden/1.0.10/ci/other-user-values.yaml similarity index 100% rename from community/vaultwarden/1.0.9/ci/other-user-values.yaml rename to community/vaultwarden/1.0.10/ci/other-user-values.yaml diff --git a/community/vaultwarden/1.0.9/ci/ws-disabled-values.yaml b/community/vaultwarden/1.0.10/ci/ws-disabled-values.yaml similarity index 100% rename from community/vaultwarden/1.0.9/ci/ws-disabled-values.yaml rename to community/vaultwarden/1.0.10/ci/ws-disabled-values.yaml diff --git a/community/vaultwarden/1.0.9/ix_values.yaml b/community/vaultwarden/1.0.10/ix_values.yaml similarity index 91% rename from community/vaultwarden/1.0.9/ix_values.yaml rename to community/vaultwarden/1.0.10/ix_values.yaml index 59b5740a17..04b1810c7b 100644 --- a/community/vaultwarden/1.0.9/ix_values.yaml +++ b/community/vaultwarden/1.0.10/ix_values.yaml @@ -27,13 +27,10 @@ vaultwardenRunAs: vaultwardenStorage: data: type: ixVolume - hostPath: '' datasetName: data pgData: type: ixVolume - hostPath: '' datasetName: pgData pgBackup: type: ixVolume - hostPath: '' datasetName: pgBackup diff --git a/community/vaultwarden/1.0.9/metadata.yaml b/community/vaultwarden/1.0.10/metadata.yaml similarity index 100% rename from community/vaultwarden/1.0.9/metadata.yaml rename to community/vaultwarden/1.0.10/metadata.yaml diff --git a/community/vaultwarden/1.0.10/migrations/migrate b/community/vaultwarden/1.0.10/migrations/migrate new file mode 100755 index 0000000000..c780a005e0 --- /dev/null +++ b/community/vaultwarden/1.0.10/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'vaultwardenStorage' + storages = ['data', 'pgData', 'pgData'] + + + for storage in storages: + check_val = values.get(storageKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/community/vaultwarden/1.0.9/questions.yaml b/community/vaultwarden/1.0.10/questions.yaml similarity index 100% rename from community/vaultwarden/1.0.9/questions.yaml rename to community/vaultwarden/1.0.10/questions.yaml diff --git a/community/vaultwarden/1.0.9/templates/NOTES.txt b/community/vaultwarden/1.0.10/templates/NOTES.txt similarity index 100% rename from community/vaultwarden/1.0.9/templates/NOTES.txt rename to community/vaultwarden/1.0.10/templates/NOTES.txt diff --git a/community/vaultwarden/1.0.9/templates/_configuration.tpl b/community/vaultwarden/1.0.10/templates/_configuration.tpl similarity index 100% rename from community/vaultwarden/1.0.9/templates/_configuration.tpl rename to community/vaultwarden/1.0.10/templates/_configuration.tpl diff --git a/community/vaultwarden/1.0.9/templates/_portal.tpl b/community/vaultwarden/1.0.10/templates/_portal.tpl similarity index 100% rename from community/vaultwarden/1.0.9/templates/_portal.tpl rename to community/vaultwarden/1.0.10/templates/_portal.tpl diff --git a/community/vaultwarden/1.0.9/templates/_postgres.tpl b/community/vaultwarden/1.0.10/templates/_postgres.tpl similarity index 100% rename from community/vaultwarden/1.0.9/templates/_postgres.tpl rename to community/vaultwarden/1.0.10/templates/_postgres.tpl diff --git a/community/vaultwarden/1.0.9/templates/_vaultwarden.tpl b/community/vaultwarden/1.0.10/templates/_vaultwarden.tpl similarity index 100% rename from community/vaultwarden/1.0.9/templates/_vaultwarden.tpl rename to community/vaultwarden/1.0.10/templates/_vaultwarden.tpl diff --git a/community/vaultwarden/1.0.9/templates/common.yaml b/community/vaultwarden/1.0.10/templates/common.yaml similarity index 100% rename from community/vaultwarden/1.0.9/templates/common.yaml rename to community/vaultwarden/1.0.10/templates/common.yaml diff --git a/enterprise/minio/1.0.9/Chart.lock b/enterprise/minio/1.0.10/Chart.lock similarity index 100% rename from enterprise/minio/1.0.9/Chart.lock rename to enterprise/minio/1.0.10/Chart.lock diff --git a/enterprise/minio/1.0.9/Chart.yaml b/enterprise/minio/1.0.10/Chart.yaml similarity index 97% rename from enterprise/minio/1.0.9/Chart.yaml rename to enterprise/minio/1.0.10/Chart.yaml index 9094066cc9..99db0b0d61 100644 --- a/enterprise/minio/1.0.9/Chart.yaml +++ b/enterprise/minio/1.0.10/Chart.yaml @@ -3,7 +3,7 @@ description: High Performance, Kubernetes Native Object Storage annotations: title: MinIO type: application -version: 1.0.9 +version: 1.0.10 apiVersion: v2 appVersion: '2023-03-24' kubeVersion: '>=1.16.0-0' diff --git a/enterprise/minio/1.0.9/README.md b/enterprise/minio/1.0.10/README.md similarity index 100% rename from enterprise/minio/1.0.9/README.md rename to enterprise/minio/1.0.10/README.md diff --git a/enterprise/minio/1.0.9/app-readme.md b/enterprise/minio/1.0.10/app-readme.md similarity index 100% rename from enterprise/minio/1.0.9/app-readme.md rename to enterprise/minio/1.0.10/app-readme.md diff --git a/enterprise/minio/1.0.9/charts/common-1.0.7.tgz b/enterprise/minio/1.0.10/charts/common-1.0.7.tgz similarity index 100% rename from enterprise/minio/1.0.9/charts/common-1.0.7.tgz rename to enterprise/minio/1.0.10/charts/common-1.0.7.tgz diff --git a/enterprise/minio/1.0.9/ci/snmd-https-values.yaml b/enterprise/minio/1.0.10/ci/snmd-https-values.yaml similarity index 100% rename from enterprise/minio/1.0.9/ci/snmd-https-values.yaml rename to enterprise/minio/1.0.10/ci/snmd-https-values.yaml diff --git a/enterprise/minio/1.0.9/ci/snmd-logsearch-https-values.yaml b/enterprise/minio/1.0.10/ci/snmd-logsearch-https-values.yaml similarity index 100% rename from enterprise/minio/1.0.9/ci/snmd-logsearch-https-values.yaml rename to enterprise/minio/1.0.10/ci/snmd-logsearch-https-values.yaml diff --git a/enterprise/minio/1.0.9/ci/snmd-logsearch-values.yaml b/enterprise/minio/1.0.10/ci/snmd-logsearch-values.yaml similarity index 100% rename from enterprise/minio/1.0.9/ci/snmd-logsearch-values.yaml rename to enterprise/minio/1.0.10/ci/snmd-logsearch-values.yaml diff --git a/enterprise/minio/1.0.9/ci/snmd-values.yaml b/enterprise/minio/1.0.10/ci/snmd-values.yaml similarity index 100% rename from enterprise/minio/1.0.9/ci/snmd-values.yaml rename to enterprise/minio/1.0.10/ci/snmd-values.yaml diff --git a/enterprise/minio/1.0.9/ci/snsd-https-values.yaml b/enterprise/minio/1.0.10/ci/snsd-https-values.yaml similarity index 100% rename from enterprise/minio/1.0.9/ci/snsd-https-values.yaml rename to enterprise/minio/1.0.10/ci/snsd-https-values.yaml diff --git a/enterprise/minio/1.0.9/ci/snsd-logsearch-https-values.yaml b/enterprise/minio/1.0.10/ci/snsd-logsearch-https-values.yaml similarity index 100% rename from enterprise/minio/1.0.9/ci/snsd-logsearch-https-values.yaml rename to enterprise/minio/1.0.10/ci/snsd-logsearch-https-values.yaml diff --git a/enterprise/minio/1.0.9/ci/snsd-logsearch-values.yaml b/enterprise/minio/1.0.10/ci/snsd-logsearch-values.yaml similarity index 100% rename from enterprise/minio/1.0.9/ci/snsd-logsearch-values.yaml rename to enterprise/minio/1.0.10/ci/snsd-logsearch-values.yaml diff --git a/enterprise/minio/1.0.9/ci/snsd-values.yaml b/enterprise/minio/1.0.10/ci/snsd-values.yaml similarity index 100% rename from enterprise/minio/1.0.9/ci/snsd-values.yaml rename to enterprise/minio/1.0.10/ci/snsd-values.yaml diff --git a/enterprise/minio/1.0.9/ix_values.yaml b/enterprise/minio/1.0.10/ix_values.yaml similarity index 94% rename from enterprise/minio/1.0.9/ix_values.yaml rename to enterprise/minio/1.0.10/ix_values.yaml index 88cd0420b6..d0a7e455ef 100644 --- a/enterprise/minio/1.0.9/ix_values.yaml +++ b/enterprise/minio/1.0.10/ix_values.yaml @@ -42,9 +42,7 @@ minioLogging: diskCapacityGB: 5 pgData: type: ixVolume - hostPath: '' datasetName: postgres-data pgBackup: type: ixVolume - hostPath: '' datasetName: postgres-backup diff --git a/enterprise/minio/1.0.9/metadata.yaml b/enterprise/minio/1.0.10/metadata.yaml similarity index 100% rename from enterprise/minio/1.0.9/metadata.yaml rename to enterprise/minio/1.0.10/metadata.yaml diff --git a/enterprise/minio/1.0.10/migrations/migrate b/enterprise/minio/1.0.10/migrations/migrate new file mode 100755 index 0000000000..4ad8ff5f66 --- /dev/null +++ b/enterprise/minio/1.0.10/migrations/migrate @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import json +import os +import sys + + +def migrate(values): + storageKey = 'minioLogging' + storageSubKey = 'logsearch' + storages = ['pgData', 'pgData'] + + for storage in storages: + check_val = values.get(storageKey, {}).get(storageSubKey, {}).get(storage, {}) + if not isinstance(check_val, dict) or not check_val or check_val.get('type', 'hostPath') == 'hostPath': + continue + + values[storageKey][storageSubKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + + + return values + + +if __name__ == '__main__': + if len(sys.argv) != 2: + exit(1) + + if os.path.exists(sys.argv[1]): + with open(sys.argv[1], 'r') as f: + print(json.dumps(migrate(json.loads(f.read())))) diff --git a/enterprise/minio/1.0.9/questions.yaml b/enterprise/minio/1.0.10/questions.yaml similarity index 100% rename from enterprise/minio/1.0.9/questions.yaml rename to enterprise/minio/1.0.10/questions.yaml diff --git a/enterprise/minio/1.0.9/templates/NOTES.txt b/enterprise/minio/1.0.10/templates/NOTES.txt similarity index 100% rename from enterprise/minio/1.0.9/templates/NOTES.txt rename to enterprise/minio/1.0.10/templates/NOTES.txt diff --git a/enterprise/minio/1.0.9/templates/_configuration.tpl b/enterprise/minio/1.0.10/templates/_configuration.tpl similarity index 100% rename from enterprise/minio/1.0.9/templates/_configuration.tpl rename to enterprise/minio/1.0.10/templates/_configuration.tpl diff --git a/enterprise/minio/1.0.9/templates/_helpers.tpl b/enterprise/minio/1.0.10/templates/_helpers.tpl similarity index 100% rename from enterprise/minio/1.0.9/templates/_helpers.tpl rename to enterprise/minio/1.0.10/templates/_helpers.tpl diff --git a/enterprise/minio/1.0.9/templates/_logsearch.tpl b/enterprise/minio/1.0.10/templates/_logsearch.tpl similarity index 100% rename from enterprise/minio/1.0.9/templates/_logsearch.tpl rename to enterprise/minio/1.0.10/templates/_logsearch.tpl diff --git a/enterprise/minio/1.0.9/templates/_minio.tpl b/enterprise/minio/1.0.10/templates/_minio.tpl similarity index 100% rename from enterprise/minio/1.0.9/templates/_minio.tpl rename to enterprise/minio/1.0.10/templates/_minio.tpl diff --git a/enterprise/minio/1.0.9/templates/_portal.tpl b/enterprise/minio/1.0.10/templates/_portal.tpl similarity index 100% rename from enterprise/minio/1.0.9/templates/_portal.tpl rename to enterprise/minio/1.0.10/templates/_portal.tpl diff --git a/enterprise/minio/1.0.9/templates/_postgres.tpl b/enterprise/minio/1.0.10/templates/_postgres.tpl similarity index 100% rename from enterprise/minio/1.0.9/templates/_postgres.tpl rename to enterprise/minio/1.0.10/templates/_postgres.tpl diff --git a/enterprise/minio/1.0.9/templates/common.yaml b/enterprise/minio/1.0.10/templates/common.yaml similarity index 100% rename from enterprise/minio/1.0.9/templates/common.yaml rename to enterprise/minio/1.0.10/templates/common.yaml diff --git a/enterprise/minio/1.0.9/upgrade_strategy_disable b/enterprise/minio/1.0.10/upgrade_strategy_disable similarity index 100% rename from enterprise/minio/1.0.9/upgrade_strategy_disable rename to enterprise/minio/1.0.10/upgrade_strategy_disable