Skip to content

Commit

Permalink
allow changing interface name (#2774)
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k authored Aug 27, 2024
1 parent f474941 commit c285104
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library/ix-dev/charts/pihole/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: DNS and Ad-filtering for your network.
annotations:
title: Pi-hole
type: application
version: 2.0.13
version: 2.0.14
apiVersion: v2
appVersion: 2024.07.0
kubeVersion: '>=1.16.0-0'
Expand Down
6 changes: 6 additions & 0 deletions library/ix-dev/charts/pihole/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ questions:
min: 9000
max: 65535
required: true
- variable: interfaceName
label: Interface Name
description: The name of the interface to use for Pi-Hole.
schema:
type: string
default: ""
- variable: dhcp
label: DHCP Configuration
schema:
Expand Down
1 change: 1 addition & 0 deletions library/ix-dev/charts/pihole/templates/_pihole.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ workload:
env:
WEB_PORT: {{ .Values.piholeNetwork.webPort }}
WEBPASSWORD: {{ .Values.piholeConfig.webPassword | quote }}
INTERFACE: {{ .Values.piholeNetwork.interfaceName }}
{{- if .Values.piholeNetwork.dhcp.enabled }}
DHCP_ACTIVE: "true"
DHCP_START: {{ .Values.piholeNetwork.dhcp.start }}
Expand Down
1 change: 1 addition & 0 deletions library/ix-dev/charts/pihole/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ piholeConfig:

piholeNetwork:
webPort: 20489
interfaceName: ''
dhcp:
enabled: false
start: ''
Expand Down

0 comments on commit c285104

Please sign in to comment.