mirror of
https://github.com/coder/coder.git
synced 2026-09-21 20:51:01 +08:00
fix: adjust the kubectl exec example (#19148)
Current example fails since kubectl version 1.31: ```sh $ kubectl exec -it deployment/coder /bin/bash -n coder error: exec [POD] [COMMAND] is not supported anymore. Use exec [POD] -- [COMMAND] instead ``` The legacy syntax was removed in: https://github.com/kubernetes/kubernetes/pull/125437
This commit is contained in:
@@ -173,7 +173,7 @@ coder reset-password <username>
|
||||
### Resetting a password on Kubernetes
|
||||
|
||||
```shell
|
||||
kubectl exec -it deployment/coder /bin/bash -n coder
|
||||
kubectl exec -it deployment/coder -n coder -- /bin/bash
|
||||
|
||||
coder reset-password <username>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user