-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstack.yml
31 lines (31 loc) · 881 Bytes
/
stack.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: 1.0
provider:
name: openfaas
gateway: http://localhost:8080
functions:
delete-pod-fn:
lang: golang-middleware
handler: ./delete-pod-fn
image: devopps/delete-pod-fn:latest
annotations:
com.openfaas.serviceaccount: delete-pod-fn
build_args:
GO111MODULE: on
notifier-fn:
lang: golang-middleware
handler: ./notifier-fn
image: devopps/notifier-fn:latest
environment:
SLACK_WEBHOOK_URL: https://hooks.slack.com/services/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
build_args:
GO111MODULE: on
dispatch-fn:
lang: golang-http
handler: ./dispatch-fn
image: devopps/dispatch-fn:latest
configuration:
templates:
- name: golang-http
source: https://github.com/openfaas/golang-http-template
- name: golang-middleware
source: https://github.com/openfaas/golang-http-template