diff --git a/doc/dev/general.md b/doc/dev/general.md index 2f4136c236..e8d974c67c 100644 --- a/doc/dev/general.md +++ b/doc/dev/general.md @@ -123,7 +123,7 @@ admin_pass=$(kubectl get secret \ | base64 --decode) # Use the password from the previous step when requested. -cf auth -u admin -p "${admin_pass}" +cf auth admin "${admin_pass}" ``` ### Advanced Topics diff --git a/doc/dev/minikube.md b/doc/dev/minikube.md index e4df9e6615..680c8641e8 100644 --- a/doc/dev/minikube.md +++ b/doc/dev/minikube.md @@ -98,12 +98,12 @@ cf api --skip-ssl-validation "https://api.$(minikube ip).xip.io" # Copy the admin cluster password. acp=$(kubectl get secret \ - --namespace kubecf kubecf.var-cf-admin-password \ - -o jsonpath='{.data.password}' \ - | base64 --decode) + --namespace kubecf kubecf.var-cf-admin-password \ + -o jsonpath='{.data.password}' \ + | base64 --decode) # Use the password from the previous step when requested. -cf auth -u admin -p "${acp}" +cf auth admin "${acp}" ``` ### Advanced Topics