-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.hcl
56 lines (52 loc) · 921 Bytes
/
default.hcl
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
listen_port = 8081
log_level = "INFO"
health_enabled = true
auth {
enabled = false
credentials_dir = "./contrib/secrets"
}
// Required for function schdeuling
nomad {
driver = "docker"
address = "http://127.0.0.1:4646"
acl_token = ""
region = "global"
tls {
ca_file = ""
cert_file = ""
key_file = ""
insecure = false
}
}
// Required for faas-cli secret API
vault {
address = "127.0.0.1:8200"
app_role {
role_id = ""
secret_id = ""
}
secrets {
key_prefix = "kv/openfaas"
// change to 1 to use kv backend v1
kv_version = 2
policy = "openfaas"
}
tls {
ca_file = ""
cert_file = ""
key_file = ""
insecure = false
}
}
// Required for function service discovery
consul {
address = "127.0.0.1:8500"
acl_token = "placeholder"
dns_enabled = false
tls {
ca_file = ""
cert_file = ""
key_file = ""
insecure = false
}
}