Installer: assign pihole public domain to private VPN IP with letsencrypt verifiable certificate
diff --git a/charts/pihole/templates/oauth2-client.yaml b/charts/pihole/templates/oauth2-client.yaml
index da80ddf..3ad56b2 100644
--- a/charts/pihole/templates/oauth2-client.yaml
+++ b/charts/pihole/templates/oauth2-client.yaml
@@ -11,7 +11,7 @@
   scope: "openid email profile"
   secretName: {{ .Values.oauth2.secretName }}
   redirectUris:
-  - https://pihole.{{ .Values.domain }}/oauth2/callback
+  - https://pihole.p.{{ .Values.domain }}/oauth2/callback
   hydraAdmin:
     url: {{ .Values.oauth2.hydraAdmin }}
     port: 80
diff --git a/charts/pihole/templates/oauth2-proxy-config.yaml b/charts/pihole/templates/oauth2-proxy-config.yaml
index 1365162..1ce0ffa 100644
--- a/charts/pihole/templates/oauth2-proxy-config.yaml
+++ b/charts/pihole/templates/oauth2-proxy-config.yaml
@@ -50,7 +50,7 @@
 
     cookie_name = "_oauth2_proxy_pihole"
     cookie_secret = "123456789012345678901234567890--"
-    cookie_domains = "pihole.{{ .Values.domain }}"
+    cookie_domains = "pihole.p.{{ .Values.domain }}"
     cookie_expire = "168h"
     cookie_refresh = "100h"
     cookie_secure = true
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: /