Merge pull request #3489 from rancher/dnoland1-patch-3

Fix reset password command
This commit is contained in:
Billy Tat authored and GitHub committed 2021-09-07 13:55:11 -07:00
commit 37a1c1fa63
1 file changed
+1 -1
@@ -15,7 +15,7 @@ New password for default administrator (user-xxxxx):
Kubernetes install (Helm):
```
$ KUBECONFIG=./kube_config_rancher-cluster.yml
$ kubectl --kubeconfig $KUBECONFIG -n cattle-system exec $(kubectl --kubeconfig $KUBECONFIG -n cattle-system get pods -l app=rancher | grep '1/1' | head -1 | awk '{ print $1 }') -- reset-password
$ kubectl --kubeconfig $KUBECONFIG -n cattle-system exec $(kubectl --kubeconfig $KUBECONFIG -n cattle-system get pods -l app=rancher --no-headers | head -1 | awk '{ print $1 }') -c rancher -- reset-password
New password for default administrator (user-xxxxx):
<new_password>
```