docs/k8s: Use TS_AUTHKEY instead of TS_AUTH_KEY (#7092)

Updates https://github.com/tailscale/tailscale-www/issues/2199.

Signed-off-by: Walter Poupore <walterp@tailscale.com>
pull/7094/head
Walter Poupore 2 years ago committed by GitHub
parent 50da265608
commit 11f7f7d4a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,7 +16,7 @@ There are quite a few ways of running Tailscale inside a Kubernetes Cluster, som
metadata: metadata:
name: tailscale-auth name: tailscale-auth
stringData: stringData:
TS_AUTH_KEY: tskey-... TS_AUTHKEY: tskey-...
``` ```
1. Tailscale (v1.16+) supports storing state inside a Kubernetes Secret. 1. Tailscale (v1.16+) supports storing state inside a Kubernetes Secret.

@ -33,11 +33,11 @@ spec:
value: "{{TS_KUBE_SECRET}}" value: "{{TS_KUBE_SECRET}}"
- name: TS_USERSPACE - name: TS_USERSPACE
value: "false" value: "false"
- name: TS_AUTH_KEY - name: TS_AUTHKEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: tailscale-auth name: tailscale-auth
key: TS_AUTH_KEY key: TS_AUTHKEY
optional: true optional: true
- name: TS_DEST_IP - name: TS_DEST_IP
value: "{{TS_DEST_IP}}" value: "{{TS_DEST_IP}}"

@ -19,11 +19,11 @@ spec:
value: "{{TS_KUBE_SECRET}}" value: "{{TS_KUBE_SECRET}}"
- name: TS_USERSPACE - name: TS_USERSPACE
value: "false" value: "false"
- name: TS_AUTH_KEY - name: TS_AUTHKEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: tailscale-auth name: tailscale-auth
key: TS_AUTH_KEY key: TS_AUTHKEY
optional: true optional: true
securityContext: securityContext:
capabilities: capabilities:

@ -19,11 +19,11 @@ spec:
value: "{{TS_KUBE_SECRET}}" value: "{{TS_KUBE_SECRET}}"
- name: TS_USERSPACE - name: TS_USERSPACE
value: "true" value: "true"
- name: TS_AUTH_KEY - name: TS_AUTHKEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: tailscale-auth name: tailscale-auth
key: TS_AUTH_KEY key: TS_AUTHKEY
optional: true optional: true
- name: TS_ROUTES - name: TS_ROUTES
value: "{{TS_ROUTES}}" value: "{{TS_ROUTES}}"

@ -22,9 +22,9 @@ spec:
value: "{{TS_KUBE_SECRET}}" value: "{{TS_KUBE_SECRET}}"
- name: TS_USERSPACE - name: TS_USERSPACE
value: "true" value: "true"
- name: TS_AUTH_KEY - name: TS_AUTHKEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: tailscale-auth name: tailscale-auth
key: TS_AUTH_KEY key: TS_AUTHKEY
optional: true optional: true

Loading…
Cancel
Save