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
62
62
63
63
First, port-forward the builder, and obtain the payload secret:
64
64
65
- ```
65
+ ``` bash
66
66
kubectl port-forward -n openfaas \
67
- deploy/pro-builder 8081:8080
67
+ deploy/pro-builder 8081:8080 &
68
+ ```
69
+
70
+ Then:
71
+
72
+ ``` bash
68
73
export PAYLOAD=$( kubectl get secret -n openfaas payload-secret -o jsonpath=' {.data.payload-secret}' | base64 --decode)
69
74
echo $PAYLOAD > $HOME /.openfaas/payload.txt
70
75
```
@@ -169,7 +174,7 @@ Now port-forward the service and invoke it:
169
174
170
175
``` bash
171
176
kubectl port-forward -n openfaas \
172
- deploy/pro-builder 8081:8080
177
+ deploy/pro-builder 8081:8080 &
173
178
```
174
179
175
180
Generate 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