Skip to content

Commit d218e79

Browse files
martindekovalexellis
authored andcommitted
Add namespace override example
Adding namespace override to the examples when there is dev in the stack.yml and during deployment you override the namespace with the cli Signed-off-by: Martin Dekov <mvdekov@gmail.com>
1 parent fdb9979 commit d218e79

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/reference/namespaces.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,11 @@ faas-cli deploy
102102
103103
head -c 16 /dev/urandom | faas-cli invoke --namespace dev stronghash
104104
```
105+
106+
Override the namespace configured in the stack.yml when deploying the function and test:
107+
108+
```sh
109+
faas-cli deploy --namespace staging-fn
110+
111+
head -c 16 /dev/urandom | faas-cli invoke --namespace staging-fn stronghash
112+
```

0 commit comments

Comments
 (0)