diff --git a/catalog.json b/catalog.json index 06226ebd97..58e71d0221 100644 --- a/catalog.json +++ b/catalog.json @@ -121,9 +121,9 @@ "healthy": true, "healthy_error": null, "location": "/__w/charts/charts/charts/pihole", - "latest_version": "1.0.13", + "latest_version": "1.0.14", "latest_app_version": "2023.02.2", - "latest_human_version": "2023.02.2_1.0.13", + "latest_human_version": "2023.02.2_1.0.14", "last_update": "2023-03-24 21:25:31", "name": "pihole", "recommended": false, @@ -300,7 +300,7 @@ "latest_version": "1.0.0", "latest_app_version": "3.0.10.1567", "latest_human_version": "3.0.10.1567_1.0.0", - "last_update": null, + "last_update": "2023-04-10 15:54:45", "name": "sonarr", "recommended": false, "title": "Sonarr", @@ -338,7 +338,7 @@ "latest_version": "1.0.0", "latest_app_version": "4.3.2.6857", "latest_human_version": "4.3.2.6857_1.0.0", - "last_update": null, + "last_update": "2023-04-10 15:54:45", "name": "radarr", "recommended": false, "title": "Radarr", diff --git a/charts/pihole/1.0.13/templates/service.yaml b/charts/pihole/1.0.13/templates/service.yaml deleted file mode 100644 index dfe6923507..0000000000 --- a/charts/pihole/1.0.13/templates/service.yaml +++ /dev/null @@ -1,19 +0,0 @@ -{{/* Create services only if we are not using hostNetwork */}} -{{ if not .Values.hostNetwork }} - -{{ $selectors := list }} -{{ $selectors = mustAppend $selectors (dict "key" "app" "value" (include "common.names.name" .) ) }} -{{ $selectors = mustAppend $selectors (dict "key" "release" "value" .Release.Name ) }} -{{ $ports := list }} -{{ $ports = mustAppend $ports (dict "name" "web" "port" .Values.web_port "nodePort" .Values.web_port "targetPort" .Values.web_port) }} -{{ $ports = mustAppend $ports (dict "name" "dns-tcp" "port" .Values.dns_tcp_port "nodePort" .Values.dns_tcp_port "targetPort" 53) }} -{{ $ports = mustAppend $ports (dict "name" "dns-udp" "port" .Values.dns_udp_port "nodePort" .Values.dns_udp_port "targetPort" 53 "protocol" "UDP") }} -{{ if .Values.dhcp }} -{{ $ports = mustAppend $ports (dict "name" "dhcp" "port" .Values.dhcp_port "nodePort" .Values.dhcp_port "targetPort" 67 "protocol" "UDP") }} -{{ end }} -{{ $params := . }} -{{ $_ := set $params "commonService" (dict "type" "NodePort" "ports" $ports ) }} -{{ $_1 := set .Values "extraSelectorLabels" $selectors }} -{{ include "common.classes.service" $params }} - -{{ end }} diff --git a/charts/pihole/1.0.13/.helmignore b/charts/pihole/1.0.14/.helmignore similarity index 100% rename from charts/pihole/1.0.13/.helmignore rename to charts/pihole/1.0.14/.helmignore diff --git a/charts/pihole/1.0.13/Chart.lock b/charts/pihole/1.0.14/Chart.lock similarity index 100% rename from charts/pihole/1.0.13/Chart.lock rename to charts/pihole/1.0.14/Chart.lock diff --git a/charts/pihole/1.0.13/Chart.yaml b/charts/pihole/1.0.14/Chart.yaml similarity index 97% rename from charts/pihole/1.0.13/Chart.yaml rename to charts/pihole/1.0.14/Chart.yaml index bbb20a318b..91770704a2 100644 --- a/charts/pihole/1.0.13/Chart.yaml +++ b/charts/pihole/1.0.14/Chart.yaml @@ -3,7 +3,7 @@ description: DNS and Ad-filtering for your network. annotations: title: Pi-hole type: application -version: 1.0.13 +version: 1.0.14 apiVersion: v2 appVersion: '2023.02.2' kubeVersion: '>=1.16.0-0' diff --git a/charts/pihole/1.0.13/README.md b/charts/pihole/1.0.14/README.md similarity index 100% rename from charts/pihole/1.0.13/README.md rename to charts/pihole/1.0.14/README.md diff --git a/charts/pihole/1.0.13/app-readme.md b/charts/pihole/1.0.14/app-readme.md similarity index 100% rename from charts/pihole/1.0.13/app-readme.md rename to charts/pihole/1.0.14/app-readme.md diff --git a/charts/pihole/1.0.13/charts/common-2207.0.0.tgz b/charts/pihole/1.0.14/charts/common-2207.0.0.tgz similarity index 100% rename from charts/pihole/1.0.13/charts/common-2207.0.0.tgz rename to charts/pihole/1.0.14/charts/common-2207.0.0.tgz diff --git a/charts/pihole/1.0.13/ci/hostnet-values.yaml b/charts/pihole/1.0.14/ci/hostnet-values.yaml similarity index 100% rename from charts/pihole/1.0.13/ci/hostnet-values.yaml rename to charts/pihole/1.0.14/ci/hostnet-values.yaml diff --git a/charts/pihole/1.0.13/ci/test-values.yaml b/charts/pihole/1.0.14/ci/test-values.yaml similarity index 88% rename from charts/pihole/1.0.13/ci/test-values.yaml rename to charts/pihole/1.0.14/ci/test-values.yaml index 7c8b3220b6..941105ba4d 100644 --- a/charts/pihole/1.0.13/ci/test-values.yaml +++ b/charts/pihole/1.0.14/ci/test-values.yaml @@ -5,8 +5,7 @@ appVolumeMounts: dnsmasq: emptyDir: true mountPath: /etc/dnsmasq.d -dhcp: false -dhcp_port: 32003 +dhcp: true dnsConfig: options: [] dns_tcp_port: 32001 @@ -14,7 +13,6 @@ dns_udp_port: 32002 emptyDirVolumes: true environmentVariables: [] extraAppVolumeMounts: [] -hostNetwork: false ownerGID: 568 ownerUID: 568 password: admin123 diff --git a/charts/pihole/1.0.13/ix_values.yaml b/charts/pihole/1.0.14/ix_values.yaml similarity index 100% rename from charts/pihole/1.0.13/ix_values.yaml rename to charts/pihole/1.0.14/ix_values.yaml diff --git a/charts/pihole/1.0.13/questions.yaml b/charts/pihole/1.0.14/questions.yaml similarity index 90% rename from charts/pihole/1.0.13/questions.yaml rename to charts/pihole/1.0.14/questions.yaml index 1a13f03b2d..3ef168c205 100644 --- a/charts/pihole/1.0.13/questions.yaml +++ b/charts/pihole/1.0.14/questions.yaml @@ -31,26 +31,7 @@ questions: max: 65535 default: 20720 required: true - - variable: dns_tcp_port - label: "DNS TCP Port for pihole" - group: Networking - schema: - type: int - min: 8000 - max: 65535 - default: 20721 - show_if: [["hostNetwork", "=", false]] - required: true - - variable: dns_udp_port - label: "DNS UDP Port for pihole" - group: Networking - schema: - type: int - min: 8000 - max: 65535 - default: 20721 - show_if: [["hostNetwork", "=", false]] - required: true + - variable: dhcp label: "Enable DHCP" group: "Networking" @@ -59,16 +40,6 @@ questions: default: false show_subquestions_if: true subquestions: - - variable: dhcp_port - label: "DHCP Port for pihole" - group: Networking - schema: - type: int - min: 8000 - max: 65535 - default: 20722 - show_if: [["hostNetwork", "=", false]] - required: true - variable: dhcp_start label: "DHCP Start Address" group: Networking @@ -157,13 +128,6 @@ questions: $ref: - "definitions/timezone" - - variable: hostNetwork - label: "Enable Host Network" - group: "Networking" - schema: - type: boolean - default: false - - variable: environmentVariables label: "Pihole environment" group: "Configuration" diff --git a/charts/pihole/1.0.13/templates/deployment.yaml b/charts/pihole/1.0.14/templates/deployment.yaml similarity index 93% rename from charts/pihole/1.0.13/templates/deployment.yaml rename to charts/pihole/1.0.14/templates/deployment.yaml index bb8eece8e0..df45d62475 100644 --- a/charts/pihole/1.0.13/templates/deployment.yaml +++ b/charts/pihole/1.0.14/templates/deployment.yaml @@ -27,7 +27,13 @@ spec: {{- include "common.labels.selectorLabels" . | nindent 8 }} annotations: {{ include "common.annotations" . | nindent 8 }} spec: - hostNetwork: {{ .Values.hostNetwork }} + {{/* + Host network is pretty much a requirement for apps like this. + Because NodePort can't bind ports like 53(DNS) or 67(DHCP) + and the majority of devices do not have option to change the port. + */}} + hostNetwork: true + dnsPolicy: ClusterFirstWithHostNet containers: - name: {{ .Chart.Name }} {{ include "common.resources.limitation" . | nindent 10 }} @@ -39,12 +45,8 @@ spec: {{ end }} securityContext: capabilities: - {{ if .Values.hostNetwork }} {{/* This is needed to be able to bind 53(DNS) and 67(DHCP) ports */}} add: ["NET_ADMIN"] - {{ else }} - add: [] - {{ end }} ports: - name: web containerPort: {{ .Values.web_port }} diff --git a/charts/pihole/1.0.13/templates/pre-install-job.yaml b/charts/pihole/1.0.14/templates/pre-install-job.yaml similarity index 100% rename from charts/pihole/1.0.13/templates/pre-install-job.yaml rename to charts/pihole/1.0.14/templates/pre-install-job.yaml diff --git a/charts/pihole/1.0.13/templates/secret.yaml b/charts/pihole/1.0.14/templates/secret.yaml similarity index 100% rename from charts/pihole/1.0.13/templates/secret.yaml rename to charts/pihole/1.0.14/templates/secret.yaml