Skip to content

Commit 4d0f102

Browse files
committed
Fix image and provider header for preloading
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent c9296de commit 4d0f102

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

docs/edge/preloading.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,12 @@ You can ship a single stack.yaml file with all your functions defined separately
3737
*stack.yaml*
3838

3939
```yaml
40+
provider:
41+
name: openfaas
42+
4043
functions:
4144
env:
42-
image: ghcr.io/openfaas/env:latest
45+
image: ghcr.io/openfaas/alpine:latest
4346
fprocess: env
4447
nodeinfo:
4548
image: ghcr.io/openfaas/nodeinfo:latest
@@ -61,15 +64,21 @@ You could also create multiple YAML files - one per function:
6164
*env.yaml*
6265

6366
```yaml
67+
provider:
68+
name: openfaas
69+
6470
functions:
6571
env:
66-
image: ghcr.io/openfaas/env:latest
72+
image: ghcr.io/openfaas/alpine:latest
6773
fprocess: env
6874
```
6975
7076
*nodeinfo.yaml*
7177
7278
```yaml
79+
provider:
80+
name: openfaas
81+
7382
functions:
7483
nodeinfo:
7584
image: ghcr.io/openfaas/nodeinfo:latest

0 commit comments

Comments
 (0)