diff --git a/charts/pihole/2.0.2/.helmignore b/charts/pihole/2.0.3/.helmignore similarity index 100% rename from charts/pihole/2.0.2/.helmignore rename to charts/pihole/2.0.3/.helmignore diff --git a/charts/pihole/2.0.2/Chart.lock b/charts/pihole/2.0.3/Chart.lock similarity index 100% rename from charts/pihole/2.0.2/Chart.lock rename to charts/pihole/2.0.3/Chart.lock diff --git a/charts/pihole/2.0.2/Chart.yaml b/charts/pihole/2.0.3/Chart.yaml similarity index 97% rename from charts/pihole/2.0.2/Chart.yaml rename to charts/pihole/2.0.3/Chart.yaml index cadefda19b..551520cd28 100644 --- a/charts/pihole/2.0.2/Chart.yaml +++ b/charts/pihole/2.0.3/Chart.yaml @@ -3,7 +3,7 @@ description: DNS and Ad-filtering for your network. annotations: title: Pi-hole type: application -version: 2.0.2 +version: 2.0.3 apiVersion: v2 appVersion: 2023.11.0 kubeVersion: '>=1.16.0-0' diff --git a/charts/pihole/2.0.2/README.md b/charts/pihole/2.0.3/README.md similarity index 100% rename from charts/pihole/2.0.2/README.md rename to charts/pihole/2.0.3/README.md diff --git a/charts/pihole/2.0.2/app-readme.md b/charts/pihole/2.0.3/app-readme.md similarity index 100% rename from charts/pihole/2.0.2/app-readme.md rename to charts/pihole/2.0.3/app-readme.md diff --git a/charts/pihole/2.0.2/charts/common-1.2.9.tgz b/charts/pihole/2.0.3/charts/common-1.2.9.tgz similarity index 100% rename from charts/pihole/2.0.2/charts/common-1.2.9.tgz rename to charts/pihole/2.0.3/charts/common-1.2.9.tgz diff --git a/charts/pihole/2.0.2/ci/basic-values.yaml b/charts/pihole/2.0.3/ci/basic-values.yaml similarity index 100% rename from charts/pihole/2.0.2/ci/basic-values.yaml rename to charts/pihole/2.0.3/ci/basic-values.yaml diff --git a/charts/pihole/2.0.2/ci/nodhcp-values.yaml b/charts/pihole/2.0.3/ci/nodhcp-values.yaml similarity index 100% rename from charts/pihole/2.0.2/ci/nodhcp-values.yaml rename to charts/pihole/2.0.3/ci/nodhcp-values.yaml diff --git a/charts/pihole/2.0.2/ix_values.yaml b/charts/pihole/2.0.3/ix_values.yaml similarity index 100% rename from charts/pihole/2.0.2/ix_values.yaml rename to charts/pihole/2.0.3/ix_values.yaml diff --git a/charts/pihole/2.0.2/metadata.yaml b/charts/pihole/2.0.3/metadata.yaml similarity index 100% rename from charts/pihole/2.0.2/metadata.yaml rename to charts/pihole/2.0.3/metadata.yaml diff --git a/charts/pihole/2.0.2/migrations/migrate b/charts/pihole/2.0.3/migrations/migrate similarity index 90% rename from charts/pihole/2.0.2/migrations/migrate rename to charts/pihole/2.0.3/migrations/migrate index 24afaf26a4..12a1927377 100755 --- a/charts/pihole/2.0.2/migrations/migrate +++ b/charts/pihole/2.0.3/migrations/migrate @@ -60,7 +60,7 @@ def migrate_common_lib(values): # Migrate Storage 'piholeStorage': { 'config': migrate_volume(values['appVolumeMounts']['config']), - 'cache': migrate_volume(values['appVolumeMounts']['dnsmasq']), + 'dnsmasq': migrate_volume(values['appVolumeMounts']['dnsmasq']), 'additionalStorages': [ { 'type': 'hostPath', @@ -83,6 +83,10 @@ def migrate(values): if not 'appVolumeMounts' in values.keys(): return values + # Handle typo for users that already gone through the migration + if 'cache' in values['piholeStorage'].keys(): + values['piholeStorage']['dnsmasq'] = values['piholeStorage'].pop('cache') + return migrate_common_lib(values) diff --git a/charts/pihole/2.0.2/questions.yaml b/charts/pihole/2.0.3/questions.yaml similarity index 100% rename from charts/pihole/2.0.2/questions.yaml rename to charts/pihole/2.0.3/questions.yaml diff --git a/charts/pihole/2.0.2/templates/NOTES.txt b/charts/pihole/2.0.3/templates/NOTES.txt similarity index 100% rename from charts/pihole/2.0.2/templates/NOTES.txt rename to charts/pihole/2.0.3/templates/NOTES.txt diff --git a/charts/pihole/2.0.2/templates/_migration.tpl b/charts/pihole/2.0.3/templates/_migration.tpl similarity index 100% rename from charts/pihole/2.0.2/templates/_migration.tpl rename to charts/pihole/2.0.3/templates/_migration.tpl diff --git a/charts/pihole/2.0.2/templates/_persistence.tpl b/charts/pihole/2.0.3/templates/_persistence.tpl similarity index 100% rename from charts/pihole/2.0.2/templates/_persistence.tpl rename to charts/pihole/2.0.3/templates/_persistence.tpl diff --git a/charts/pihole/2.0.2/templates/_pihole.tpl b/charts/pihole/2.0.3/templates/_pihole.tpl similarity index 100% rename from charts/pihole/2.0.2/templates/_pihole.tpl rename to charts/pihole/2.0.3/templates/_pihole.tpl diff --git a/charts/pihole/2.0.2/templates/_portal.tpl b/charts/pihole/2.0.3/templates/_portal.tpl similarity index 100% rename from charts/pihole/2.0.2/templates/_portal.tpl rename to charts/pihole/2.0.3/templates/_portal.tpl diff --git a/charts/pihole/2.0.2/templates/_service.tpl b/charts/pihole/2.0.3/templates/_service.tpl similarity index 100% rename from charts/pihole/2.0.2/templates/_service.tpl rename to charts/pihole/2.0.3/templates/_service.tpl diff --git a/charts/pihole/2.0.2/templates/common.yaml b/charts/pihole/2.0.3/templates/common.yaml similarity index 100% rename from charts/pihole/2.0.2/templates/common.yaml rename to charts/pihole/2.0.3/templates/common.yaml diff --git a/charts/pihole/2.0.2/to_keep_versions.md b/charts/pihole/2.0.3/to_keep_versions.md similarity index 100% rename from charts/pihole/2.0.2/to_keep_versions.md rename to charts/pihole/2.0.3/to_keep_versions.md