allow changing interface name (#2774)

This commit is contained in:
Stavros Kois
2024-08-27 18:06:18 +03:00
committed by GitHub
parent f474941d28
commit c285104ebd
4 changed files with 9 additions and 1 deletions

View File

@@ -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'

View File

@@ -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:

View File

@@ -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 }}

View File

@@ -18,6 +18,7 @@ piholeConfig:
piholeNetwork:
webPort: 20489
interfaceName: ''
dhcp:
enabled: false
start: ''