@@ -41,23 +41,25 @@ This webhook provider allows Kubernetes external-dns to automatically create, up
4141SSH into your Firewalla as the ` pi ` user and run:
4242
4343``` bash
44- curl -fsSL https://raw.githubusercontent.com/TheOutdoorProgrammer/external-dns-firewalla-webhook/main/scripts/install.sh | bash
44+ curl -fsSL https://raw.githubusercontent.com/TheOutdoorProgrammer/external-dns-firewalla-webhook/main/scripts/install.sh | bash -s -- " home.local,*.home.local "
4545```
4646
47+ ** Important** : Replace ` home.local,*.home.local ` with your actual domain filter.
48+
4749** Note** : The script will prompt for your sudo password when needed for system configuration.
4850
4951This will:
5052- Clone the repository (with bundled dependencies)
5153- Verify dependencies
5254- Configure the service (with sudo)
53- - Prompt for your domain filter
55+ - Set up your domain filter
5456- Start the webhook provider
5557
5658** Note** : Dependencies (Express.js) are bundled in the repository since npm is not available on Firewalla.
5759
58- ### Manual Installation
60+ ### Interactive Installation
5961
60- If you prefer to review the installation script first :
62+ If you prefer an interactive installation that prompts for configuration :
6163
62641 . SSH into your Firewalla device as the ` pi ` user:
6365 ``` bash
@@ -70,7 +72,7 @@ If you prefer to review the installation script first:
7072 cd external-dns-firewalla-webhook
7173 ```
7274
73- 3 . Review the installation script:
75+ 3 . Review the installation script (optional) :
7476 ``` bash
7577 cat scripts/install.sh
7678 ```
@@ -80,15 +82,23 @@ If you prefer to review the installation script first:
8082 ./scripts/install.sh
8183 ```
8284
83- The script will ask for your sudo password when needed.
85+ The script will ask for your sudo password and domain filter when needed.
8486
85- 5 . Follow the prompts to configure your domain filter (e.g., ` home.local,*.home.local ` )
87+ 5 . Enter your domain filter when prompted (e.g., ` home.local,*.home.local ` )
8688
87896 . Verify the service is running:
8890 ``` bash
8991 sudo systemctl status external-dns-firewalla-webhook
9092 ```
9193
94+ ### Alternative: Pass Domain Filter as Argument
95+
96+ You can also provide the domain filter directly:
97+
98+ ``` bash
99+ ./scripts/install.sh " home.local,*.home.local"
100+ ```
101+
92102### Configuration in Kubernetes
93103
94104#### Using Helm Chart (Recommended)
0 commit comments