-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from SavePointSam/development
v0.2.0
- Loading branch information
Showing
7 changed files
with
67 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
name: Lint and Test Charts | ||
|
||
on: pull_request | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- development | ||
|
||
jobs: | ||
lint-test: | ||
|
@@ -12,31 +16,33 @@ jobs: | |
fetch-depth: 0 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@v1 | ||
uses: azure/setup-helm@v3 | ||
with: | ||
version: v3.8.1 | ||
version: v3.12.0 | ||
|
||
- uses: actions/setup-python@v2 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.7 | ||
python-version: "3.9" | ||
|
||
- name: Set up chart-testing | ||
uses: helm/chart-testing-action@v2.2.1 | ||
uses: helm/chart-testing-action@v2 | ||
|
||
- name: Run chart-testing (list-changed) | ||
id: list-changed | ||
run: | | ||
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | ||
changed=$(ct list-changed --target-branch development) | ||
if [[ -n "$changed" ]]; then | ||
echo "::set-output name=changed::true" | ||
echo "changed=true" >> "$GITHUB_OUTPUT" | ||
fi | ||
- name: Run chart-testing (lint) | ||
run: ct lint | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: ct lint --target-branch development | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
if: steps.list-changed.outputs.changed == 'true' | ||
uses: helm/kind-action@v1 | ||
|
||
- name: Run chart-testing (install) | ||
run: ct install | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: ct install --target-branch development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -20,17 +20,24 @@ jobs: | |
git config user.email "[email protected]" | ||
- name: Install Helm | ||
uses: azure/setup-helm@v1 | ||
uses: azure/setup-helm@v3 | ||
with: | ||
version: v3.8.1 | ||
version: v3.12.0 | ||
|
||
- name: Add dependency repos | ||
run: | | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
- name: Run chart-releaser | ||
uses: helm/chart-releaser-action@v1.4.0 | ||
uses: helm/chart-releaser-action@v1 | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
charts_dir: savepointsam | ||
|
||
- name: Merge main -> gh-pages | ||
uses: devmasx/merge-branch@master | ||
with: | ||
type: now | ||
from_branch: main | ||
target_branch: gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
apiVersion: v2 | ||
name: pihole | ||
version: 0.1.0 | ||
version: 0.2.0 | ||
description: A Helm chart to deploy pi-hole on Kubernetes | ||
type: application | ||
keywords: | ||
|
@@ -23,4 +23,4 @@ maintainers: | |
email: [email protected] | ||
url: https://github.com/SavePointSam | ||
icon: https://upload.wikimedia.org/wikipedia/commons/0/00/Pi-hole_Logo.png | ||
appVersion: "2022.05" | ||
appVersion: "2023.05.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Pi-hole | ||
|
||
[Pi-hole®](https://pi-hole.net/) is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software. | ||
[Pi-hole®](https://pi-hole.net/) is a DNS sinkhole that protects your devices | ||
from unwanted content without installing any client-side software. | ||
|
||
## TL;DR | ||
|
||
|
@@ -101,6 +102,8 @@ deletes the release. | |
| Name | Description | Value | | ||
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | | ||
| `pihole.advanced.webPort` | This will break the 'webpage blocked' functionality of Pi-hole however it may help advanced setups. This guide explains how to restore webpage blocked functionality using a linux router DNAT rule: https://discourse.pi-hole.net/t/alternative-synology-installation-method/5454?u=diginc | `""` | | ||
|
||
| `pihole.advanced.webBindAddress` | Lighttpd's bind address. If left unset lighttpd will bind to every interface, except when running in host networking mode where it will use `FTLCONF_LOCAL_IPV4` instead. | `""` | | ||
| `pihole.advanced.skipGravityOnBoot` | Use this option to skip updating the Gravity Database when booting up the container | `false` | | ||
| `pihole.advanced.corsHosts` | List of domains/subdomains on which CORS is allowed. Wildcards are not supported | `[]` | | ||
| `pihole.advanced.customCacheSize` | Set the cache size for dnsmasq. When pihole.dnssec.enabled is "true", then this setting is ignored | `10000` | | ||
|
@@ -254,13 +257,13 @@ Specify each parameter using the `--set key=value[,key=value]` argument to | |
|
||
```console | ||
helm install my-release \ | ||
--set port=5335 \ | ||
--set numThreads=2 \ | ||
--set pihole.webui.admin.email="[email protected]" \ | ||
--set pihole.dnssec.enabled=true \ | ||
savepointsam/pihole | ||
``` | ||
|
||
The above command sets the unbound port to `5335` and the number of threads | ||
unbound uses to `2`. | ||
The above command sets the Pi-hole web UI admin email as `[email protected]` | ||
and enables DNSSEC. | ||
|
||
Alternatively, a YAML file that specifies the values for the above parameters | ||
can be provided while installing the chart. For example, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters