diff --git a/charts/pihole/2.0.3/.helmignore b/charts/pihole/2.0.4/.helmignore similarity index 100% rename from charts/pihole/2.0.3/.helmignore rename to charts/pihole/2.0.4/.helmignore diff --git a/charts/pihole/2.0.3/Chart.lock b/charts/pihole/2.0.4/Chart.lock similarity index 100% rename from charts/pihole/2.0.3/Chart.lock rename to charts/pihole/2.0.4/Chart.lock diff --git a/charts/pihole/2.0.3/Chart.yaml b/charts/pihole/2.0.4/Chart.yaml similarity index 97% rename from charts/pihole/2.0.3/Chart.yaml rename to charts/pihole/2.0.4/Chart.yaml index 551520cd28..fca2f6c1e7 100644 --- a/charts/pihole/2.0.3/Chart.yaml +++ b/charts/pihole/2.0.4/Chart.yaml @@ -3,7 +3,7 @@ description: DNS and Ad-filtering for your network. annotations: title: Pi-hole type: application -version: 2.0.3 +version: 2.0.4 apiVersion: v2 appVersion: 2023.11.0 kubeVersion: '>=1.16.0-0' diff --git a/charts/pihole/2.0.3/README.md b/charts/pihole/2.0.4/README.md similarity index 100% rename from charts/pihole/2.0.3/README.md rename to charts/pihole/2.0.4/README.md diff --git a/charts/pihole/2.0.3/app-readme.md b/charts/pihole/2.0.4/app-readme.md similarity index 100% rename from charts/pihole/2.0.3/app-readme.md rename to charts/pihole/2.0.4/app-readme.md diff --git a/charts/pihole/2.0.3/charts/common-1.2.9.tgz b/charts/pihole/2.0.4/charts/common-1.2.9.tgz similarity index 100% rename from charts/pihole/2.0.3/charts/common-1.2.9.tgz rename to charts/pihole/2.0.4/charts/common-1.2.9.tgz diff --git a/charts/pihole/2.0.3/ci/basic-values.yaml b/charts/pihole/2.0.4/ci/basic-values.yaml similarity index 100% rename from charts/pihole/2.0.3/ci/basic-values.yaml rename to charts/pihole/2.0.4/ci/basic-values.yaml diff --git a/charts/pihole/2.0.3/ci/nodhcp-values.yaml b/charts/pihole/2.0.4/ci/nodhcp-values.yaml similarity index 100% rename from charts/pihole/2.0.3/ci/nodhcp-values.yaml rename to charts/pihole/2.0.4/ci/nodhcp-values.yaml diff --git a/charts/pihole/2.0.3/ix_values.yaml b/charts/pihole/2.0.4/ix_values.yaml similarity index 100% rename from charts/pihole/2.0.3/ix_values.yaml rename to charts/pihole/2.0.4/ix_values.yaml diff --git a/charts/pihole/2.0.3/metadata.yaml b/charts/pihole/2.0.4/metadata.yaml similarity index 93% rename from charts/pihole/2.0.3/metadata.yaml rename to charts/pihole/2.0.4/metadata.yaml index e2a8f0a118..c03dbc8811 100644 --- a/charts/pihole/2.0.3/metadata.yaml +++ b/charts/pihole/2.0.4/metadata.yaml @@ -23,6 +23,8 @@ capabilities: description: Pi-hole is able to perform various network-related operations. - name: NET_BIND_SERVICE description: Pi-hole is able to bind to a privileged port. + - name: NET_RAW + description: Pi-hole is able to use raw sockets. - name: KILL description: Pi-hole is able to kill processes. hostMounts: [] diff --git a/charts/pihole/2.0.3/migrations/migrate b/charts/pihole/2.0.4/migrations/migrate similarity index 93% rename from charts/pihole/2.0.3/migrations/migrate rename to charts/pihole/2.0.4/migrations/migrate index 12a1927377..f3879298c1 100755 --- a/charts/pihole/2.0.3/migrations/migrate +++ b/charts/pihole/2.0.4/migrations/migrate @@ -81,11 +81,11 @@ def migrate_common_lib(values): def migrate(values): # If this missing, we have already migrated 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') - # Handle typo for users that already gone through the migration - if 'cache' in values['piholeStorage'].keys(): - values['piholeStorage']['dnsmasq'] = values['piholeStorage'].pop('cache') + return values return migrate_common_lib(values) diff --git a/charts/pihole/2.0.3/questions.yaml b/charts/pihole/2.0.4/questions.yaml similarity index 100% rename from charts/pihole/2.0.3/questions.yaml rename to charts/pihole/2.0.4/questions.yaml diff --git a/charts/pihole/2.0.3/templates/NOTES.txt b/charts/pihole/2.0.4/templates/NOTES.txt similarity index 100% rename from charts/pihole/2.0.3/templates/NOTES.txt rename to charts/pihole/2.0.4/templates/NOTES.txt diff --git a/charts/pihole/2.0.3/templates/_migration.tpl b/charts/pihole/2.0.4/templates/_migration.tpl similarity index 100% rename from charts/pihole/2.0.3/templates/_migration.tpl rename to charts/pihole/2.0.4/templates/_migration.tpl diff --git a/charts/pihole/2.0.3/templates/_persistence.tpl b/charts/pihole/2.0.4/templates/_persistence.tpl similarity index 100% rename from charts/pihole/2.0.3/templates/_persistence.tpl rename to charts/pihole/2.0.4/templates/_persistence.tpl diff --git a/charts/pihole/2.0.3/templates/_pihole.tpl b/charts/pihole/2.0.4/templates/_pihole.tpl similarity index 98% rename from charts/pihole/2.0.3/templates/_pihole.tpl rename to charts/pihole/2.0.4/templates/_pihole.tpl index 76f57c1dba..e8d484279a 100644 --- a/charts/pihole/2.0.3/templates/_pihole.tpl +++ b/charts/pihole/2.0.4/templates/_pihole.tpl @@ -20,6 +20,7 @@ workload: capabilities: add: - NET_ADMIN + - NET_RAW - NET_BIND_SERVICE - CHOWN - DAC_OVERRIDE diff --git a/charts/pihole/2.0.3/templates/_portal.tpl b/charts/pihole/2.0.4/templates/_portal.tpl similarity index 100% rename from charts/pihole/2.0.3/templates/_portal.tpl rename to charts/pihole/2.0.4/templates/_portal.tpl diff --git a/charts/pihole/2.0.3/templates/_service.tpl b/charts/pihole/2.0.4/templates/_service.tpl similarity index 100% rename from charts/pihole/2.0.3/templates/_service.tpl rename to charts/pihole/2.0.4/templates/_service.tpl diff --git a/charts/pihole/2.0.3/templates/common.yaml b/charts/pihole/2.0.4/templates/common.yaml similarity index 100% rename from charts/pihole/2.0.3/templates/common.yaml rename to charts/pihole/2.0.4/templates/common.yaml diff --git a/charts/pihole/2.0.3/to_keep_versions.md b/charts/pihole/2.0.4/to_keep_versions.md similarity index 100% rename from charts/pihole/2.0.3/to_keep_versions.md rename to charts/pihole/2.0.4/to_keep_versions.md