Skip to content

Commit

Permalink
docs/k8s: Use TS_AUTHKEY instead of TS_AUTH_KEY (tailscale#7092)
Browse files Browse the repository at this point in the history
Updates tailscale/tailscale-www#2199.

Signed-off-by: Walter Poupore <walterp@tailscale.com>
  • Loading branch information
WalterHub authored Jan 27, 2023
1 parent 50da265 commit 11f7f7d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ There are quite a few ways of running Tailscale inside a Kubernetes Cluster, som
metadata:
name: tailscale-auth
stringData:
TS_AUTH_KEY: tskey-...
TS_AUTHKEY: tskey-...
```
1. Tailscale (v1.16+) supports storing state inside a Kubernetes Secret.
Expand Down
4 changes: 2 additions & 2 deletions docs/k8s/proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ spec:
value: "{{TS_KUBE_SECRET}}"
- name: TS_USERSPACE
value: "false"
- name: TS_AUTH_KEY
- name: TS_AUTHKEY
valueFrom:
secretKeyRef:
name: tailscale-auth
key: TS_AUTH_KEY
key: TS_AUTHKEY
optional: true
- name: TS_DEST_IP
value: "{{TS_DEST_IP}}"
Expand Down
4 changes: 2 additions & 2 deletions docs/k8s/sidecar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ spec:
value: "{{TS_KUBE_SECRET}}"
- name: TS_USERSPACE
value: "false"
- name: TS_AUTH_KEY
- name: TS_AUTHKEY
valueFrom:
secretKeyRef:
name: tailscale-auth
key: TS_AUTH_KEY
key: TS_AUTHKEY
optional: true
securityContext:
capabilities:
Expand Down
4 changes: 2 additions & 2 deletions docs/k8s/subnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ spec:
value: "{{TS_KUBE_SECRET}}"
- name: TS_USERSPACE
value: "true"
- name: TS_AUTH_KEY
- name: TS_AUTHKEY
valueFrom:
secretKeyRef:
name: tailscale-auth
key: TS_AUTH_KEY
key: TS_AUTHKEY
optional: true
- name: TS_ROUTES
value: "{{TS_ROUTES}}"
Expand Down
4 changes: 2 additions & 2 deletions docs/k8s/userspace-sidecar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ spec:
value: "{{TS_KUBE_SECRET}}"
- name: TS_USERSPACE
value: "true"
- name: TS_AUTH_KEY
- name: TS_AUTHKEY
valueFrom:
secretKeyRef:
name: tailscale-auth
key: TS_AUTH_KEY
key: TS_AUTHKEY
optional: true

0 comments on commit 11f7f7d

Please sign in to comment.