mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-12 16:13:23 +00:00
Apply suggestions from code review
Thanks for the review and corrections. Co-authored-by: Lucas Saintarbor <lucas.saintarbor@suse.com>
This commit is contained in:
committed by
Billy Tat
parent
960d68d7c9
commit
325cb0f4a3
@@ -76,7 +76,7 @@ token-6fzgj user-jtghh 90d 22s box
|
||||
token-8nbrm user-jtghh 90d 20s jinx
|
||||
```
|
||||
|
||||
#### Viewing a Token
|
||||
## Viewing a Token
|
||||
|
||||
Admins can get any Token, while regular users can only get their own.
|
||||
|
||||
@@ -94,7 +94,7 @@ NAME USER KIND TTL AGE DESCRIPTION
|
||||
token-chjc9 user-jtghh 90d 24s example
|
||||
```
|
||||
|
||||
#### Deleting a Token
|
||||
## Deleting a Token
|
||||
|
||||
Admins can delete any Token, while regular users can only delete their own.
|
||||
|
||||
@@ -103,8 +103,7 @@ kubectl delete tokens.ext.cattle.io token-chjc9
|
||||
token.ext.cattle.io "token-chjc9" deleted
|
||||
```
|
||||
|
||||
|
||||
#### Updating a Token
|
||||
## Updating a Token
|
||||
|
||||
Only the metadata fields `spec.description`, `spec.ttl`, and `spec.enabled` can be updated. All other `spec` fields are immutable. Admins are able to extend the `spec.ttl` field, while regular users can only reduce the value.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user