We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea565f0 commit a22ddefCopy full SHA for a22ddef
docs/deployment/troubleshooting.md
@@ -330,7 +330,15 @@ $ kubectl logs -n openfaas deploy/gateway -c gateway
330
Use the following to print the secret on the terminal:
331
332
```
333
-echo $(kubectl get secret -n openfaas gateway-basic-auth -o jsonpath="{.data.basic-auth-password}" | base64 --decode; echo)
+PASSWORD=$(kubectl get secret -n openfaas basic-auth -o jsonpath="{.data.basic-auth-password}" | base64 --decode; echo)
334
+
335
+echo $PASSWORD
336
+```
337
338
+Set `OPENFAAS_URL` then log into the gateway:
339
340
341
+echo -n $PASSWORD | faas-cli login --username admin --password-stdin
342
343
344
If you installed OpenFaaS into a custom namespace then change the value `-n openfaas` to `-n custom-ns`.
0 commit comments