Skip to content

Commit

Permalink
Merge pull request #1251 from porter-dev/stefanmcshane-patch-1
Browse files Browse the repository at this point in the history
Allow extra tailscale variables
  • Loading branch information
stefanmcshane authored Apr 10, 2024
2 parents c4e795d + aee6c6b commit 4b12be5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions addons/tailscale-relay/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 2 additions & 1 deletion addons/tailscale-relay/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4b12be5

Please sign in to comment.