From 6f259e72798c3d9d9838e95b84279c2ce72d895c Mon Sep 17 00:00:00 2001 From: Nic de Sousa <15162654+nicdesousa@users.noreply.github.com> Date: Thu, 13 Feb 2020 07:21:58 +0200 Subject: [PATCH] Kubectl apply Co-Authored-By: Erik Wilson --- content/k3s/latest/en/installation/kube-dashboard/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/k3s/latest/en/installation/kube-dashboard/_index.md b/content/k3s/latest/en/installation/kube-dashboard/_index.md index 9852520a6ff..127770e858c 100644 --- a/content/k3s/latest/en/installation/kube-dashboard/_index.md +++ b/content/k3s/latest/en/installation/kube-dashboard/_index.md @@ -79,7 +79,7 @@ Please see the Dashboard documentation: Using [Port Forwarding](https://kubernet sudo k3s kubectl delete ns kubernetes-dashboard GITHUB_URL=https://github.com/kubernetes/dashboard/releases VERSION_KUBE_DASHBOARD=$(curl -w '%{url_effective}' -I -L -s -S ${GITHUB_URL}/latest -o /dev/null | sed -e 's|.*/||') -sudo k3s kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/${VERSION_KUBE_DASHBOARD}/aio/deploy/recommended.yaml -f dashboard.admin-user.yml -f dashboard.admin-user-role.yml +sudo k3s kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/${VERSION_KUBE_DASHBOARD}/aio/deploy/recommended.yaml -f dashboard.admin-user.yml -f dashboard.admin-user-role.yml ``` ### Deleting the Dashboard and admin-user configuration