charts: headscale use public domain
diff --git a/charts/headscale/templates/config.yaml b/charts/headscale/templates/config.yaml
index ac0a08c..31582e3 100644
--- a/charts/headscale/templates/config.yaml
+++ b/charts/headscale/templates/config.yaml
@@ -259,7 +259,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: {{ .Values.internalBaseDomain }}
+ base_domain: {{ .Values.publicBaseDomain }}
# Unix socket used for the CLI to connect without authentication
# Note: for production you will want to set this to something like:
@@ -280,7 +280,7 @@
extra_params:
domain_hint: {{ .Values.domain }}
allowed_domains:
- - {{ .Values.domain }}
+ - {{ .Values.publicBaseDomain }}
# allowed_groups:
# - /headscale
# allowed_users:
diff --git a/charts/headscale/values.yaml b/charts/headscale/values.yaml
index 32c89bd..78f40b6 100644
--- a/charts/headscale/values.yaml
+++ b/charts/headscale/values.yaml
@@ -7,7 +7,7 @@
ingressClassName: pcloud-ingress-public
certificateIssuer: lekva-public
domain: headscale.example.com
-internalBaseDomain: p.example.com
+publicBaseDomain: example.com
oauth2:
hydraAdmin: http://hydra-admin
hydraPublic: https://hydra.example.com