mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Fix typo in service account documentation
Extra "c" in "serviceaccounts" made example not work when copy-pasting.
This commit is contained in:
parent
5bd82ffe6d
commit
8130a4c390
@ -82,13 +82,13 @@ metadata:
|
|||||||
name: build-robot
|
name: build-robot
|
||||||
EOF
|
EOF
|
||||||
$ kubectl create -f /tmp/serviceaccount.json
|
$ kubectl create -f /tmp/serviceaccount.json
|
||||||
serviceacccounts/build-robot
|
serviceaccounts/build-robot
|
||||||
```
|
```
|
||||||
|
|
||||||
If you get a complete dump of the service account object, like this:
|
If you get a complete dump of the service account object, like this:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ kubectl get serviceacccounts/build-robot -o yaml
|
$ kubectl get serviceaccounts/build-robot -o yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
|
Loading…
Reference in New Issue
Block a user