From f8e3cd4058edcee44489fd3fdfb47bc9b678f109 Mon Sep 17 00:00:00 2001 From: wangjun Date: Sun, 31 Oct 2021 18:03:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E7=BD=AE=E8=AF=81?= =?UTF-8?q?=E4=B9=A6=E7=9A=84=E5=91=BD=E4=BB=A4=EF=BC=9A=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E7=9A=84docker-desktop=E7=9A=84users=20name=E4=B8=BAd?= =?UTF-8?q?ocker-desktop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- README_en.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8815a91..6759942 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kube ```shell TOKEN=$(kubectl -n kube-system describe secret default| awk '$1=="token:"{print $2}') -kubectl config set-credentials docker-for-desktop --token="${TOKEN}" +kubectl config set-credentials docker-desktop --token="${TOKEN}" echo $TOKEN ``` @@ -153,7 +153,7 @@ echo $TOKEN ```shell $TOKEN=((kubectl -n kube-system describe secret default | Select-String "token:") -split " +")[1] -kubectl config set-credentials docker-for-desktop --token="${TOKEN}" +kubectl config set-credentials docker-desktop --token="${TOKEN}" echo $TOKEN ``` diff --git a/README_en.md b/README_en.md index e59ef1f..5177433 100644 --- a/README_en.md +++ b/README_en.md @@ -140,7 +140,7 @@ For Mac ```bash TOKEN=$(kubectl -n kube-system describe secret default| awk '$1=="token:"{print $2}') -kubectl config set-credentials docker-for-desktop --token="${TOKEN}" +kubectl config set-credentials docker-desktop --token="${TOKEN}" echo $TOKEN ``` @@ -148,7 +148,7 @@ For Windows ```cmd $TOKEN=((kubectl -n kube-system describe secret default | Select-String "token:") -split " +")[1] -kubectl config set-credentials docker-for-desktop --token="${TOKEN}" +kubectl config set-credentials docker-desktop --token="${TOKEN}" echo $TOKEN ```