File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,14 @@ The `faas-cli` `publish` and `up` commands can use the `--remote-builder` flag t
6262
6363First, port-forward the builder, and obtain the payload secret:
6464
65- ```
65+ ``` bash
6666kubectl port-forward -n openfaas \
67- deploy/pro-builder 8081:8080
67+ deploy/pro-builder 8081:8080 &
68+ ```
69+
70+ Then:
71+
72+ ``` bash
6873export PAYLOAD=$( kubectl get secret -n openfaas payload-secret -o jsonpath=' {.data.payload-secret}' | base64 --decode)
6974echo $PAYLOAD > $HOME /.openfaas/payload.txt
7075```
@@ -169,7 +174,7 @@ Now port-forward the service and invoke it:
169174
170175``` bash
171176kubectl port-forward -n openfaas \
172- deploy/pro-builder 8081:8080
177+ deploy/pro-builder 8081:8080 &
173178```
174179
175180Generate a SHA256 HMAC signature and invoke the function passing in the ` X-Build-Signature ` header.
You can’t perform that action at this time.
0 commit comments