Installer: assign pihole public domain to private VPN IP with letsencrypt verifiable certificate
diff --git a/charts/pihole/templates/oauth2-proxy.yaml b/charts/pihole/templates/oauth2-proxy.yaml
index 8f4541b..b78490d 100644
--- a/charts/pihole/templates/oauth2-proxy.yaml
+++ b/charts/pihole/templates/oauth2-proxy.yaml
@@ -19,17 +19,17 @@
metadata:
name: ingress
namespace: {{ .Release.Namespace }}
- annotations:
- cert-manager.io/cluster-issuer: "{{ .Values.certificateIssuer }}"
- acme.cert-manager.io/http01-edit-in-place: "true"
+ # annotations:
+ # cert-manager.io/cluster-issuer: "{{ .Values.certificateIssuer }}"
+ # acme.cert-manager.io/http01-edit-in-place: "true"
spec:
ingressClassName: {{ .Values.ingressClassName }}
tls:
- hosts:
- - pihole.{{ .Values.domain }}
- secretName: cert-pihole.{{ .Values.domain }}
+ - pihole.p.{{ .Values.domain }}
+ # secretName: cert-pihole.{{ .Values.domain }}
rules:
- - host: pihole.{{ .Values.domain }}
+ - host: pihole.p.{{ .Values.domain }}
http:
paths:
- path: /