diff --git a/addons/tailscale-relay/templates/configmap.yaml b/addons/tailscale-relay/templates/configmap.yaml index db98fb89..2ef0282b 100644 --- a/addons/tailscale-relay/templates/configmap.yaml +++ b/addons/tailscale-relay/templates/configmap.yaml @@ -11,3 +11,6 @@ metadata: app.kubernetes.io/managed-by: {{ .Release.Service }} data: TAILSCALE_ADVERTISE_ROUTES: {{ .Values.config.ipRange }} +{{ if .Values.config.variables -}} +{{ toYaml .Values.config.variables | indent 2 }} +{{ end }} \ No newline at end of file diff --git a/addons/tailscale-relay/values.yaml b/addons/tailscale-relay/values.yaml index 43ba60e8..fa514f24 100644 --- a/addons/tailscale-relay/values.yaml +++ b/addons/tailscale-relay/values.yaml @@ -82,7 +82,8 @@ config: ipRange: "" # Other variables to use during the tailscale up command - variables: {} + variables: + TAILSCALE_ADVERTISE_EXIT_NODES: "false" # eg: # TAILSCALE_ACCEPT_DNS: "true" # TAILSCALE_ACCEPT_ROUTES: "false"