upgrade pihole helm chart v0.26 -> v0.27
This commit is contained in:
parent
98dd2bd16f
commit
5e7668b59f
@ -1,5 +1,14 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [2.27.0](https://github.com/MoJo2600/pihole-kubernetes/compare/pihole-2.26.2...pihole-2.27.0) (2024-11-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add command option to set up readiness probe. ([#323](https://github.com/MoJo2600/pihole-kubernetes/issues/323)) ([f5c6ad3](https://github.com/MoJo2600/pihole-kubernetes/commit/f5c6ad3661a2a87e5014aff6c617ea0367177b24))
|
||||||
|
* add the label app.kubernetes.io/name to deployment and services ([#321](https://github.com/MoJo2600/pihole-kubernetes/issues/321)) ([61ab00d](https://github.com/MoJo2600/pihole-kubernetes/commit/61ab00d1f7fe0cfabfc426bf484cec46fff6ed11))
|
||||||
|
* configurable pathType for the ingress resource ([#317](https://github.com/MoJo2600/pihole-kubernetes/issues/317)) ([d3c09bc](https://github.com/MoJo2600/pihole-kubernetes/commit/d3c09bc0a6addc487ceda44b516e0714c06c1875))
|
||||||
|
|
||||||
## [2.26.2](https://github.com/MoJo2600/pihole-kubernetes/compare/pihole-2.26.1...pihole-2.26.2) (2024-10-27)
|
## [2.26.2](https://github.com/MoJo2600/pihole-kubernetes/compare/pihole-2.26.1...pihole-2.26.2) (2024-10-27)
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,4 +12,4 @@ sources:
|
|||||||
- https://pi-hole.net/
|
- https://pi-hole.net/
|
||||||
- https://github.com/pi-hole
|
- https://github.com/pi-hole
|
||||||
- https://github.com/pi-hole/docker-pi-hole
|
- https://github.com/pi-hole/docker-pi-hole
|
||||||
version: 2.26.2
|
version: 2.27.0
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Installs pihole in kubernetes
|
Installs pihole in kubernetes
|
||||||
|
|
||||||
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->[](#contributors-)<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->[](#contributors-)<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
||||||
|
|
||||||
## Source Code
|
## Source Code
|
||||||
|
|
||||||
@ -215,7 +215,7 @@ The following table lists the configurable parameters of the pihole chart and th
|
|||||||
| image.pullPolicy | string | `"IfNotPresent"` | the pull policy |
|
| image.pullPolicy | string | `"IfNotPresent"` | the pull policy |
|
||||||
| image.repository | string | `"pihole/pihole"` | the repostory to pull the image from |
|
| image.repository | string | `"pihole/pihole"` | the repostory to pull the image from |
|
||||||
| image.tag | string | `""` | the docker tag, if left empty it will get it from the chart's appVersion |
|
| 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 | object | `{"annotations":{},"enabled":false,"hosts":["chart-example.local"],"path":"/","pathType":"ImplementationSpecific","tls":[]}` | Configuration for the Ingress |
|
||||||
| ingress.annotations | object | `{}` | Annotations for the ingress |
|
| ingress.annotations | object | `{}` | Annotations for the ingress |
|
||||||
| ingress.enabled | bool | `false` | Generate a Ingress resource |
|
| ingress.enabled | bool | `false` | Generate a Ingress resource |
|
||||||
| maxSurge | int | `1` | The maximum number of Pods that can be created over the desired number of `ReplicaSet` during updating. |
|
| maxSurge | int | `1` | The maximum number of Pods that can be created over the desired number of `ReplicaSet` during updating. |
|
||||||
@ -239,16 +239,15 @@ The following table lists the configurable parameters of the pihole chart and th
|
|||||||
| podDnsConfig.nameservers[1] | string | `"8.8.8.8"` | |
|
| podDnsConfig.nameservers[1] | string | `"8.8.8.8"` | |
|
||||||
| podDnsConfig.policy | string | `"None"` | |
|
| podDnsConfig.policy | string | `"None"` | |
|
||||||
| privileged | string | `"false"` | should container run in privileged mode |
|
| privileged | string | `"false"` | should container run in privileged mode |
|
||||||
| probes | object | `{"liveness":{"enabled":true,"failureThreshold":10,"initialDelaySeconds":60,"port":"http","scheme":"HTTP","timeoutSeconds":5,"type":"httpGet"},"readiness":{"enabled":true,"failureThreshold":3,"initialDelaySeconds":60,"port":"http","scheme":"HTTP","timeoutSeconds":5}}` | Probes configuration |
|
| probes | object | `{"liveness":{"enabled":true,"failureThreshold":10,"initialDelaySeconds":60,"port":"http","scheme":"HTTP","timeoutSeconds":5,"type":"httpGet"},"readiness":{"enabled":true,"failureThreshold":10,"initialDelaySeconds":60,"port":"http","scheme":"HTTP","timeoutSeconds":5,"type":"httpGet"}}` | Probes configuration |
|
||||||
| probes.liveness.failureThreshold | int | `10` | threshold until the probe is considered failing |
|
| probes.liveness.failureThreshold | int | `10` | threshold until the probe is considered failing |
|
||||||
| probes.liveness.initialDelaySeconds | int | `60` | wait time before trying the liveness probe |
|
| probes.liveness.initialDelaySeconds | int | `60` | wait time before trying the liveness probe |
|
||||||
| probes.liveness.timeoutSeconds | int | `5` | timeout in seconds |
|
| probes.liveness.timeoutSeconds | int | `5` | timeout in seconds |
|
||||||
| probes.liveness.type | string | `"httpGet"` | Generate a liveness probe 'type' defaults to httpGet, can be set to 'command' to use a command type liveness probe. |
|
| probes.liveness.type | string | `"httpGet"` | Generate a liveness probe 'type' defaults to httpGet, can be set to 'command' to use a command type liveness probe. |
|
||||||
| probes.readiness.enabled | bool | `true` | Generate a readiness probe |
|
| probes.readiness.failureThreshold | int | `10` | threshold until the probe is considered failing |
|
||||||
| probes.readiness.failureThreshold | int | `3` | The failure threshold |
|
| probes.readiness.initialDelaySeconds | int | `60` | wait time before trying the readiness probe |
|
||||||
| probes.readiness.initialDelaySeconds | int | `60` | Initial delay to wait for readiness check |
|
| probes.readiness.timeoutSeconds | int | `5` | timeout in seconds |
|
||||||
| probes.readiness.port | string | `"http"` | The port |
|
| probes.readiness.type | string | `"httpGet"` | Generate a readiness probe 'type' defaults to httpGet, can be set to 'command' to use a command type readiness probe. |
|
||||||
| probes.readiness.timeoutSeconds | int | `5` | The timeout in seconds |
|
|
||||||
| regex | object | `{}` | list of blacklisted regex expressions to import during initial start of the container |
|
| regex | object | `{}` | list of blacklisted regex expressions to import during initial start of the container |
|
||||||
| replicaCount | int | `1` | The number of replicas |
|
| replicaCount | int | `1` | The number of replicas |
|
||||||
| resources | object | `{}` | lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
|
| resources | object | `{}` | lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
|
||||||
|
@ -4,6 +4,7 @@ metadata:
|
|||||||
name: {{ template "pihole.fullname" . }}
|
name: {{ template "pihole.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
chart: {{ template "pihole.chart" . }}
|
chart: {{ template "pihole.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
@ -34,6 +35,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Values.antiaff.enabled }}
|
{{- if .Values.antiaff.enabled }}
|
||||||
@ -224,10 +226,15 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.probes.readiness.enabled }}
|
{{- if .Values.probes.readiness.enabled }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
{{- if eq .Values.probes.readiness.type "command" }}
|
||||||
|
exec:
|
||||||
|
command: {{ .Values.probes.readiness.command | required "An array of command(s) is required if 'type' is set to 'command'." | toYaml | nindent 16 }}
|
||||||
|
{{- else }}
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /admin/index.php
|
path: /admin/index.php
|
||||||
port: {{ .Values.probes.readiness.port }}
|
port: {{ .Values.probes.readiness.port }}
|
||||||
scheme: {{ .Values.probes.readiness.scheme }}
|
scheme: {{ .Values.probes.readiness.scheme }}
|
||||||
|
{{- end }}
|
||||||
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
|
||||||
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
|
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
|
||||||
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
{{- if .Values.ingress.enabled -}}
|
||||||
{{- $serviceName := printf "%s-%s" (include "pihole.fullname" .) "web" -}}
|
{{- $serviceName := printf "%s-%s" (include "pihole.fullname" .) "web" -}}
|
||||||
{{- $ingressPath := .Values.ingress.path -}}
|
{{- $ingressPath := .Values.ingress.path -}}
|
||||||
|
{{- $pathType := .Values.ingress.pathType -}}
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
@ -28,7 +29,7 @@ spec:
|
|||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: {{ $ingressPath }}
|
- path: {{ $ingressPath }}
|
||||||
pathType: ImplementationSpecific
|
pathType: {{ $pathType }}
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: {{ $serviceName }}
|
name: {{ $serviceName }}
|
||||||
|
@ -5,6 +5,7 @@ metadata:
|
|||||||
name: {{ template "pihole.fullname" . }}-dhcp
|
name: {{ template "pihole.fullname" . }}-dhcp
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
chart: {{ template "pihole.chart" . }}
|
chart: {{ template "pihole.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
@ -48,6 +49,7 @@ metadata:
|
|||||||
name: {{ template "pihole.fullname" . }}-dhcp-ivp6
|
name: {{ template "pihole.fullname" . }}-dhcp-ivp6
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
chart: {{ template "pihole.chart" . }}
|
chart: {{ template "pihole.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
|
@ -5,6 +5,7 @@ metadata:
|
|||||||
name: {{ template "pihole.fullname" . }}-dns-tcp
|
name: {{ template "pihole.fullname" . }}-dns-tcp
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
chart: {{ template "pihole.chart" . }}
|
chart: {{ template "pihole.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
@ -54,6 +55,7 @@ metadata:
|
|||||||
name: {{ template "pihole.fullname" . }}-dns-tcp-ipv6
|
name: {{ template "pihole.fullname" . }}-dns-tcp-ipv6
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
chart: {{ template "pihole.chart" . }}
|
chart: {{ template "pihole.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
|
@ -5,6 +5,7 @@ metadata:
|
|||||||
name: {{ template "pihole.fullname" . }}-dns-udp
|
name: {{ template "pihole.fullname" . }}-dns-udp
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
chart: {{ template "pihole.chart" . }}
|
chart: {{ template "pihole.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
@ -48,6 +49,7 @@ metadata:
|
|||||||
name: {{ template "pihole.fullname" . }}-dns-udp-ipv6
|
name: {{ template "pihole.fullname" . }}-dns-udp-ipv6
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
chart: {{ template "pihole.chart" . }}
|
chart: {{ template "pihole.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
|
@ -5,6 +5,7 @@ metadata:
|
|||||||
name: {{ template "pihole.fullname" . }}-dns
|
name: {{ template "pihole.fullname" . }}-dns
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
chart: {{ template "pihole.chart" . }}
|
chart: {{ template "pihole.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
@ -55,6 +56,7 @@ metadata:
|
|||||||
name: {{ template "pihole.fullname" . }}-dns-ipv6
|
name: {{ template "pihole.fullname" . }}-dns-ipv6
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
chart: {{ template "pihole.chart" . }}
|
chart: {{ template "pihole.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
|
@ -5,6 +5,7 @@ metadata:
|
|||||||
name: {{ template "pihole.fullname" . }}-web
|
name: {{ template "pihole.fullname" . }}-web
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
chart: {{ template "pihole.chart" . }}
|
chart: {{ template "pihole.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
@ -64,6 +65,7 @@ metadata:
|
|||||||
name: {{ template "pihole.fullname" . }}-web-ipv6
|
name: {{ template "pihole.fullname" . }}-web-ipv6
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "pihole.name" . }}
|
app: {{ template "pihole.name" . }}
|
||||||
|
app.kubernetes.io/name: {{ template "pihole.name" . }}
|
||||||
chart: {{ template "pihole.chart" . }}
|
chart: {{ template "pihole.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
|
@ -255,6 +255,7 @@ topologySpreadConstraints: []
|
|||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
# -- Administrator password when not using an existing secret (see below)
|
# -- Administrator password when not using an existing secret (see below)
|
||||||
|
# -- Change the admin password prior to installing
|
||||||
adminPassword: "admin"
|
adminPassword: "admin"
|
||||||
|
|
||||||
# -- Use an existing secret for the admin password.
|
# -- Use an existing secret for the admin password.
|
||||||
@ -264,7 +265,7 @@ admin:
|
|||||||
# -- Specify an existing secret to use as admin password
|
# -- Specify an existing secret to use as admin password
|
||||||
existingSecret: ""
|
existingSecret: ""
|
||||||
# -- Specify the key inside the secret to use
|
# -- Specify the key inside the secret to use
|
||||||
passwordKey: "password"
|
passwordKey: ""
|
||||||
# -- Specify [annotations](docs/Values.md#admin.annotations) to be added to the secret
|
# -- Specify [annotations](docs/Values.md#admin.annotations) to be added to the secret
|
||||||
annotations:
|
annotations:
|
||||||
# reflector.v1.k8s.emberstack.com/reflection-allowed: "true"
|
# reflector.v1.k8s.emberstack.com/reflection-allowed: "true"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user