Skip to content

Commit a47575f

Browse files
Update Github Actions (#218)
* added documentation generation Co-authored-by: Christian <christian.2.erhardt@vitesco.com> Co-authored-by: MoJo2600 <MoJo2600@users.noreply.github.com>
1 parent 235b852 commit a47575f

File tree

4 files changed

+34
-13
lines changed

4 files changed

+34
-13
lines changed

.github/workflows/lint-test.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ on:
55
paths:
66
- "charts/pihole/**"
77
- "!**/README.md"
8-
- "!**/README.md.gotmpl"
98

109
jobs:
10+
1111
lint-test:
1212
runs-on: ubuntu-20.04
1313
steps:
@@ -41,3 +41,21 @@ jobs:
4141

4242
- name: Run chart-testing (install)
4343
run: ct install
44+
45+
generate-documentation:
46+
runs-on: ubuntu-20.04
47+
needs: lint-test
48+
steps:
49+
- name: Checkout
50+
uses: actions/checkout@v2
51+
with:
52+
ref: ${{ github.head_ref }}
53+
54+
- name: Generate Documentation
55+
id: generate-documentation
56+
run: |
57+
docker run --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest
58+
59+
- uses: stefanzweifel/git-auto-commit-action@v4
60+
with:
61+
commit_message: "Bot: Update Documentation"

.github/workflows/release.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v1
17+
uses: actions/checkout@v2
18+
with:
19+
fetch-depth: 0
1820

1921
- name: Configure Git
2022
run: |
@@ -24,15 +26,15 @@ jobs:
2426
- name: Install Helm
2527
uses: azure/setup-helm@v1
2628
with:
27-
version: v3.4.0
29+
version: v3.7.1
2830

2931
- name: Add dependency chart repos
3032
run: |
3133
helm repo add stable https://charts.helm.sh/stable
3234
helm repo add incubator https://charts.helm.sh/incubator
3335
3436
- name: Run chart-releaser
35-
uses: helm/chart-releaser-action@v1.2.1
37+
uses: helm/chart-releaser-action@v1.3.0
3638
with:
3739
charts_repo_url: https://mojo2600.github.io/pihole-kubernetes/
3840
env:

charts/pihole/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Installs pihole in kubernetes
33
home: https://github.com/MoJo2600/pihole-kubernetes/tree/master/charts/pihole
44
name: pihole
55
appVersion: 2022.02.1
6-
version: 2.5.7
6+
version: 2.5.8
77
sources:
88
- https://github.com/MoJo2600/pihole-kubernetes/tree/master/charts/pihole
99
- https://pi-hole.net/

charts/pihole/README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Installs pihole in kubernetes
44

5-
![Version: 2.4.0](https://img.shields.io/badge/Version-2.4.0-informational?style=flat-square) <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
5+
![Version: 2.5.8](https://img.shields.io/badge/Version-2.5.8-informational?style=flat-square) ![AppVersion: 2022.02.1](https://img.shields.io/badge/AppVersion-2022.02.1-informational?style=flat-square) <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
66
[![All Contributors](https://img.shields.io/badge/all_contributors-27-blue.svg?style=flat-square)](#contributors-)
77
<!-- ALL-CONTRIBUTORS-BADGE:END -->
88

@@ -177,8 +177,6 @@ The following table lists the configurable parameters of the pihole chart and th
177177
| blacklist | object | `{}` | list of blacklisted domains to import during initial start of the container |
178178
| customVolumes.config | object | `{}` | any volume type can be used here |
179179
| customVolumes.enabled | bool | `false` | set this to true to enable custom volumes |
180-
| extrasVolumes | object | `{}` | any extra volumes you might want |
181-
| extraVolumeMounts | object | `{}` | any extra volume mounts you might want |
182180
| dnsHostPort.enabled | bool | `false` | set this to true to enable dnsHostPort |
183181
| dnsHostPort.port | int | `53` | default port for this pod |
184182
| dnsmasq.additionalHostsEntries | list | `[]` | Dnsmasq reads the /etc/hosts file to resolve ips. You can add additional entries if you like |
@@ -202,6 +200,8 @@ The following table lists the configurable parameters of the pihole chart and th
202200
| dualStack.enabled | bool | `false` | set this to true to enable creation of DualStack services or creation of separate IPv6 services if `serviceDns.type` is set to `"LoadBalancer"` |
203201
| extraEnvVars | object | `{}` | extraEnvironmentVars is a list of extra enviroment variables to set for pihole to use |
204202
| extraEnvVarsSecret | object | `{}` | extraEnvVarsSecret is a list of secrets to load in as environment variables. |
203+
| extraVolumeMounts | object | `{}` | any extra volume mounts you might want |
204+
| extraVolumes | object | `{}` | any extra volumes you might want |
205205
| ftl | object | `{}` | values that should be added to pihole-FTL.conf |
206206
| hostNetwork | string | `"false"` | should the container use host network |
207207
| hostname | string | `""` | hostname of pod |
@@ -219,7 +219,7 @@ The following table lists the configurable parameters of the pihole chart and th
219219
| monitoring.sidecar.enabled | bool | `false` | set this to true to enable podMonitor as sidecar |
220220
| nodeSelector | object | `{}` | |
221221
| persistentVolumeClaim | object | `{"accessModes":["ReadWriteOnce"],"annotations":{},"enabled":false,"size":"500Mi"}` | `spec.PersitentVolumeClaim` configuration |
222-
| persistentVolumeClaim.annotations | object | `{}` | specify an existing `PersistentVolumeClaim` to use existingClaim: "" -- Annotations for the `PersitentVolumeClaim` |
222+
| persistentVolumeClaim.annotations | object | `{}` | Annotations for the `PersitentVolumeClaim` |
223223
| persistentVolumeClaim.enabled | bool | `false` | set to true to use pvc |
224224
| podAnnotations | object | `{}` | Additional annotations for pods |
225225
| podDnsConfig.enabled | bool | `true` | |
@@ -232,20 +232,21 @@ The following table lists the configurable parameters of the pihole chart and th
232232
| probes.readiness.enabled | bool | `true` | Generate a readiness probe |
233233
| regex | object | `{}` | list of blacklisted regex expressions to import during initial start of the container |
234234
| replicaCount | int | `1` | The number of replicas |
235-
| resources | object | `{}` | We usually recommend not to specify default resources and to leave this as a conscious -- choice for the user. This also increases chances charts run on environments with little -- resources, such as Minikube. If you do want to specify resources, uncomment the following -- lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
235+
| resources | object | `{}` | lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
236236
| serviceDhcp | object | `{"annotations":{},"enabled":true,"externalTrafficPolicy":"Local","loadBalancerIP":"","loadBalancerIPv6":"","type":"NodePort"}` | Configuration for the DHCP service on port 67 |
237237
| serviceDhcp.annotations | object | `{}` | Annotations for the DHCP service |
238238
| serviceDhcp.enabled | bool | `true` | Generate a Service resource for DHCP traffic |
239239
| serviceDhcp.externalTrafficPolicy | string | `"Local"` | `spec.externalTrafficPolicy` for the DHCP Service |
240240
| serviceDhcp.loadBalancerIP | string | `""` | A fixed `spec.loadBalancerIP` for the DHCP Service |
241241
| serviceDhcp.loadBalancerIPv6 | string | `""` | A fixed `spec.loadBalancerIP` for the IPv6 DHCP Service |
242242
| serviceDhcp.type | string | `"NodePort"` | `spec.type` for the DHCP Service |
243-
| serviceDns | object | `{"annotations":{},"externalTrafficPolicy":"Local","loadBalancerIP":"","loadBalancerIPv6":"","mixedService":false,"port":53,"type":"NodePort"}` | Configuration for the DNS service on port 53 |
243+
| serviceDns | object | `{"annotations":{},"externalTrafficPolicy":"Local","loadBalancerIP":"","loadBalancerIPv6":"","mixedService":false,"nodePort":"","port":53,"type":"NodePort"}` | Configuration for the DNS service on port 53 |
244244
| serviceDns.annotations | object | `{}` | Annotations for the DNS service |
245245
| serviceDns.externalTrafficPolicy | string | `"Local"` | `spec.externalTrafficPolicy` for the DHCP Service |
246246
| serviceDns.loadBalancerIP | string | `""` | A fixed `spec.loadBalancerIP` for the DNS Service |
247247
| serviceDns.loadBalancerIPv6 | string | `""` | A fixed `spec.loadBalancerIP` for the IPv6 DNS Service |
248248
| serviceDns.mixedService | bool | `false` | deploys a mixed (TCP + UDP) Service instead of separate ones |
249+
| serviceDns.nodePort | string | `""` | Optional node port for the DNS service |
249250
| serviceDns.port | int | `53` | The port of the DNS service |
250251
| serviceDns.type | string | `"NodePort"` | `spec.type` for the DNS Service |
251252
| serviceWeb | object | `{"annotations":{},"externalTrafficPolicy":"Local","http":{"enabled":true,"port":80},"https":{"enabled":true,"port":443},"loadBalancerIP":"","loadBalancerIPv6":"","type":"ClusterIP"}` | Configuration for the web interface service |
@@ -262,7 +263,7 @@ The following table lists the configurable parameters of the pihole chart and th
262263
| serviceWeb.type | string | `"ClusterIP"` | `spec.type` for the web interface Service |
263264
| strategyType | string | `"RollingUpdate"` | The `spec.strategyTpye` for updates |
264265
| tolerations | list | `[]` | |
265-
| topologySpreadConstraints | list | `[]` | |
266+
| topologySpreadConstraints | list | `[]` | Specify a priorityClassName priorityClassName: "" Reference: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ |
266267
| virtualHost | string | `"pi.hole"` | |
267268
| webHttp | string | `"80"` | port the container should use to expose HTTP traffic |
268269
| webHttps | string | `"443"` | port the container should use to expose HTTPS traffic |
@@ -366,4 +367,4 @@ Thanks goes to these wonderful people:
366367
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
367368

368369
----------------------------------------------
369-
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
370+
Autogenerated from chart metadata using [helm-docs v1.6.0](https://github.com/norwoodj/helm-docs/releases/v1.6.0)

0 commit comments

Comments
 (0)