Installer: introduce namespacePrefix, fix certificates, split matrix installation using pre-install hook
diff --git a/charts/pihole/templates/oauth2-proxy.yaml b/charts/pihole/templates/oauth2-proxy.yaml
index b78490d..ddf0e2f 100644
--- a/charts/pihole/templates/oauth2-proxy.yaml
+++ b/charts/pihole/templates/oauth2-proxy.yaml
@@ -19,17 +19,13 @@
metadata:
name: ingress
namespace: {{ .Release.Namespace }}
- # annotations:
- # cert-manager.io/cluster-issuer: "{{ .Values.certificateIssuer }}"
- # acme.cert-manager.io/http01-edit-in-place: "true"
spec:
ingressClassName: {{ .Values.ingressClassName }}
tls:
- hosts:
- - pihole.p.{{ .Values.domain }}
- # secretName: cert-pihole.{{ .Values.domain }}
+ - {{ .Values.domain }}
rules:
- - host: pihole.p.{{ .Values.domain }}
+ - host: {{ .Values.domain }}
http:
paths:
- path: /