Skip to content

Commit a22ddef

Browse files
authored
Rename secret as per helm chart
1 parent ea565f0 commit a22ddef

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/deployment/troubleshooting.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,15 @@ $ kubectl logs -n openfaas deploy/gateway -c gateway
330330
Use the following to print the secret on the terminal:
331331

332332
```
333-
echo $(kubectl get secret -n openfaas gateway-basic-auth -o jsonpath="{.data.basic-auth-password}" | base64 --decode; echo)
333+
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
334342
```
335343

336344
If you installed OpenFaaS into a custom namespace then change the value `-n openfaas` to `-n custom-ns`.

0 commit comments

Comments
 (0)