Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for 1.24+ #6967

Merged
merged 1 commit into from
May 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aio/develop/npm-command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ else
echo "1. Run terminal for dashboard container."
echo " docker exec -it k8s-dashboard-dev gosu user bash"
echo "2. Run following to get token for logging into dashboard."
echo " kubectl -n kubernetes-dashboard get secrets \$(kubectl -n kubernetes-dashboard get sa kubernetes-dashboard -ojsonpath=\"{.secrets[0].name}\") -ojsonpath=\"{.data.token}\" | echo \"\$(base64 -d)\""
echo " kubectl -n kubernetes-dashboard create token kubernetes-dashboard"
fi
# Start dashboard.
echo "Start dashboard in production mode"
Expand Down
2 changes: 1 addition & 1 deletion docs/user/access-control/creating-sample-user.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ subjects:
Now we need to find the token we can use to log in. Execute the following command:

```shell
kubectl -n kubernetes-dashboard get secret $(kubectl -n kubernetes-dashboard get sa/admin-user -o jsonpath="{.secrets[0].name}") -o go-template="{{.data.token | base64decode}}"
kubectl -n kubernetes-dashboard create token admin-user
```

It should print something like:
Expand Down