Update documentation for basic authentication setup
@@ -4,7 +4,7 @@ These instructions are for OpenFaaS when you don't want to use `helm`.
## 1.0 Enable basic auth on gateway
-To enable built-in basic auth: create secrets, configure the gateway and mount the secrets to the gateway.
+To enable built-in basic auth: create secrets, configure and mount the secrets to the gateway and queue worker.
### 1.1 Create secrets:
@@ -26,14 +26,14 @@ kubectl create secret generic basic-auth-password -n openfaas-fn \
Record the line from "Password: c66ec59d880e66fb02c043ef910eefba020f2a3a" for later use with `faas-cli login`
-### 1.2 Set env-vars on gateway
+### 1.2 Set env-vars on gateway and queue worker
```
- name: basic_auth
value: "true"
```
-### 1.3 Add volume mount to gateway
+### 1.3 Add volume mount to gateway and queue worker
```
volumeMounts:
@@ -42,7 +42,7 @@ Record the line from "Password: c66ec59d880e66fb02c043ef910eefba020f2a3a" for la
mountPath: "/etc/openfaas"
```
-### 1.4 Add secrets as volumes within gateway
+### 1.4 Add secrets as volumes within gateway and queue worker
```
volumes:
- name: gateway-basic-auth
@@ -50,10 +50,11 @@ Record the line from "Password: c66ec59d880e66fb02c043ef910eefba020f2a3a" for la
secretName: gateway-basic-auth
```
-Apply the changes to the gateway (deployment only):
+Apply the changes to the gateway and queue worker(deployment only):
```
$ kubectl apply -f ./yaml/gateway-dep.yml
+$ kubectl apply -f ./yaml/queueworker-dep.yml
```
### 1.5 Login in
