Skip to content

Commit

Permalink
Fix local chart testing instructions
Browse files Browse the repository at this point in the history
openfaas/openfaas changed to chart/openfaas after testing a
PR and finding that it didn't "work" as expected.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Jul 21, 2020
1 parent 50ebcb1 commit bda4084
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions chart/openfaas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ Alternatively, you can set `generateBasicAuth` to `false` and generate or supply

```sh
# generate a random password
PASSWORD=$(head -c 12 /dev/urandom | shasum| cut -d' ' -f1)
kubectl -n openfaas create secret generic basic-auth \
--from-literal=basic-auth-user=admin \
--from-literal=basic-auth-password="$PASSWORD"
PASSWORD=$(head -c 12 /dev/urandom | shasum| cut -d' ' -f1)
kubectl -n openfaas create secret generic basic-auth \
--from-literal=basic-auth-user=admin \
--from-literal=basic-auth-password="$PASSWORD"

echo "OpenFaaS admin password: $PASSWORD"
```

#### Tuning cold-start
Expand Down Expand Up @@ -221,7 +223,7 @@ Now [verify your installation](#verify-the-installation).
You can run the following command from within the `faas-netes/chart` folder in the `faas-netes` repo.

```sh
helm upgrade --install openfaas openfaas/openfaas \
helm upgrade openfaas --install chart/openfaas \
--namespace openfaas \
--set basic_auth=true \
--set functionNamespace=openfaas-fn
Expand Down

0 comments on commit bda4084

Please sign in to comment.