-
Notifications
You must be signed in to change notification settings - Fork 0
/
stack.yml
104 lines (104 loc) · 2.76 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
version: 1.0
provider:
name: openfaas
gateway: http://faasd-gateway:8080
functions:
gce-toggle:
lang: golang-middleware
handler: ./gce-toggle
image: efbar/gce-toggle:1.0.0
secrets:
- gce-sa-gcp # faas-cli secret create sa-gcp --from-file=/path/to/file/sa-key.json
build_args:
GO111MODULE: on
environment:
PROJECT_ID: "functest-307416"
REGION: "us-central1"
gce-list:
lang: golang-middleware
handler: ./gce-list
image: efbar/gce-list:1.0.0
secrets:
- gce-sa-gcp # faas-cli secret create sa-gcp --from-file=/path/to/file/sa-key.json
build_args:
GO111MODULE: on
environment:
PROJECT_ID: "functest-307416"
REGION: "us-central1"
gcs-make-bucket:
lang: golang-middleware
handler: ./gcs-make-bucket
image: efbar/gcs-make-bucket:1.0.0
environment:
PROJECT_ID: "functest-307416"
GOOGLE_APPLICATION_CREDENTIALS: /var/openfaas/secrets/gcs-sa
secrets:
- gcs-sa # faas-cli secret create gce-sa --from-file=/path/to/file/sa-key.json
build_args:
GO111MODULE: on
nomad-job-status:
lang: golang-middleware
handler: ./nomad-job-status
image: efbar/nomad-job-status:1.0.0
build_args:
GO111MODULE: on
nomad-node-status:
lang: golang-middleware
handler: ./nomad-node-status
image: efbar/nomad-node-status:1.0.0
build_args:
GO111MODULE: on
nomad-server-members:
lang: golang-middleware
handler: ./nomad-server-members
image: efbar/nomad-server-members:1.0.0
build_args:
GO111MODULE: on
consul-members:
lang: golang-middleware
handler: ./consul-members
image: efbar/consul-members:1.0.0
build_args:
GO111MODULE: on
consul-catalog-services:
lang: golang-middleware
handler: ./consul-catalog-services
image: efbar/consul-catalog-services:1.0.0
build_args:
GO111MODULE: on
consul-op-raft-list:
lang: golang-middleware
handler: ./consul-op-raft-list
image: efbar/consul-op-raft-list:1.0.0
build_args:
GO111MODULE: on
vault-status:
lang: golang-middleware
handler: ./vault-status
image: efbar/vault-status:1.0.0
build_args:
GO111MODULE: on
vault-kv-get:
lang: golang-middleware
handler: ./vault-kv-get
image: efbar/vault-kv-get:1.0.0
build_args:
GO111MODULE: on
vault-kv-put:
lang: golang-middleware
handler: ./vault-kv-put
image: efbar/vault-kv-put:1.0.0
build_args:
GO111MODULE: on
vault-transit:
lang: golang-middleware
handler: ./vault-transit
image: efbar/vault-transit:1.0.0
build_args:
GO111MODULE: on
slack-message:
lang: golang-middleware
handler: ./slack-message
image: efbar/slack-message-0.9.0
build_args:
GO111MODULE: on