Skip to content

Commit

Permalink
Update pihole and make use of appVersion (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelgaspar authored Nov 18, 2021
1 parent eb623cb commit 4948313
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion charts/pihole/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ apiVersion: v1
description: Installs pihole in kubernetes
home: https://github.com/MoJo2600/pihole-kubernetes/tree/master/charts/pihole
name: pihole
version: 2.5.2
appVersion: 2021.10.1
version: 2.5.3
sources:
- https://github.com/MoJo2600/pihole-kubernetes/tree/master/charts/pihole
- https://pi-hole.net/
Expand Down
2 changes: 1 addition & 1 deletion charts/pihole/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ The following table lists the configurable parameters of the pihole chart and th
| hostname | string | `""` | hostname of pod |
| image.pullPolicy | string | `"IfNotPresent"` | the pull policy |
| image.repository | string | `"pihole/pihole"` | the repostory to pull the image from |
| image.tag | string | `"2021.10"` | the docker tag |
| image.tag | string | `""` | the docker tag, if left empty it will get it from the chart's appVersion |
| ingress | object | `{"annotations":{},"enabled":false,"hosts":["chart-example.local"],"path":"/","tls":[]}` | Configuration for the Ingress |
| ingress.annotations | object | `{}` | Annotations for the ingress |
| ingress.enabled | bool | `false` | Generate a Ingress resource |
Expand Down
2 changes: 1 addition & 1 deletion charts/pihole/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ spec:
value: {{ if .Values.DNS2 }}{{ ( printf "%v;%v" .Values.DNS1 .Values.DNS2 ) | squote }}{{ else }}{{ .Values.DNS1 | squote }}{{ end }}
{{- end }}
{{- end }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
privileged: {{ .Values.privileged }}
Expand Down
4 changes: 2 additions & 2 deletions charts/pihole/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ maxUnavailable: 1
image:
# -- the repostory to pull the image from
repository: "pihole/pihole"
# -- the docker tag
tag: "2021.10"
# -- the docker tag, if left empty it will get it from the chart's appVersion
tag: ""
# -- the pull policy
pullPolicy: IfNotPresent

Expand Down

0 comments on commit 4948313

Please sign in to comment.