Skip to content

Commit

Permalink
fix: invalid web service manifest generation
Browse files Browse the repository at this point in the history
The pihole-web service is now valid when both serviceWeb.http and serviceWeb.https are disabled.

Signed-off-by: JP Flouret <[email protected]>
  • Loading branch information
jpflouret committed Mar 3, 2024
1 parent b519821 commit 1bf737c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/pihole/templates/service-web.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if or .Values.serviceWeb.http.enabled .Values.serviceWeb.https.enabled -}}
apiVersion: v1
kind: Service
metadata:
Expand Down Expand Up @@ -103,3 +104,4 @@ spec:
app: {{ template "pihole.name" . }}
release: {{ .Release.Name }}
{{- end }}
{{- end }}

0 comments on commit 1bf737c

Please sign in to comment.