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

Updating Authorization documentation #972

Merged
merged 4 commits into from
Feb 7, 2024
Merged
Changes from 2 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
5 changes: 5 additions & 0 deletions content/docs/authorization/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ Usually, you will want to pipe the output to kubectl to apply the secret
```bash
karavictl generate token --tenant Alice --admin-token admintoken.yaml --addr csm-authorization.host.com | kubectl apply -f -
```
If new token that gets generated does not work, restart the driver deployment as well as the deamonset and try again. The token is read once when the driver pods are started and is not dynamically updated. If you are applying a new token in an existing driver installation, restart the driver pods for the new token to take effect.
atye marked this conversation as resolved.
Show resolved Hide resolved
```bash
kubectl -n <driver-namespace> rollout restart deploy/<driver>-controller
kubectl -n <driver-namespace> rollout restart ds/<driver>-node
```
PeresKereotubo marked this conversation as resolved.
Show resolved Hide resolved

### karavictl role

Expand Down
Loading