Просмотр исходного кода

Switched Secret snippet to match run.sh

Signed-off-by: Tyler Lee <[email protected]>
Tyler Lee 3 лет назад
Родитель
Сommit
486eecc063
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      docs/k8s/README.md
  2. 1 1
      docs/k8s/sidecar.yaml

+ 1 - 1
docs/k8s/README.md

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

+ 1 - 1
docs/k8s/sidecar.yaml

@@ -23,7 +23,7 @@ spec:
       valueFrom:
         secretKeyRef:
           name: tailscale-auth
-          key: AUTH_KEY
+          key: TS_AUTH_KEY
           optional: true
     securityContext:
       capabilities: