headscale ingress-private
diff --git a/charts/headscale/templates/config.yaml b/charts/headscale/templates/config.yaml
index 79724fb..5abe533 100644
--- a/charts/headscale/templates/config.yaml
+++ b/charts/headscale/templates/config.yaml
@@ -17,7 +17,7 @@
#
# https://myheadscale.example.com:443
#
- server_url: https://headscale.{{ .Values.domain }}
+ server_url: https://{{ .Values.domain }}
# Address to listen to / bind to on the server
#
@@ -252,7 +252,7 @@
# `base_domain` must be a FQDNs, without the trailing dot.
# The FQDN of the hosts will be
# `hostname.namespace.base_domain` (e.g., _myhost.mynamespace.example.com_).
- base_domain: example.com
+ base_domain: {{ .Values.internalBaseDomain }}
# Unix socket used for the CLI to connect without authentication
# Note: for production you will want to set this to something like:
diff --git a/charts/headscale/values.yaml b/charts/headscale/values.yaml
index d0766a2..25709ed 100644
--- a/charts/headscale/values.yaml
+++ b/charts/headscale/values.yaml
@@ -7,6 +7,7 @@
ingressClassName: pcloud-ingress-public
certificateIssuer: lekva-public
domain: headscale.example.com
+internalBaseDomain: p.example.com
oauth2:
hydraAdmin: http://hydra-admin
hydraPublic: https://hydra.example.com