-
-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathconfig.yaml
52 lines (47 loc) · 866 Bytes
/
config.yaml
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
---
tls:
enabled: false
crt: server.crt
key: server.key
basicAuth:
enabled: false
username: admin
password: admin
bearerAuth:
enabled: false
signingKey: my_secret_key
discovery:
# host: localhost
# port: 1231
# scheme: https
# path: /prefix-path
scripts:
- name: ping
command: ./examples/ping.sh
allowEnvOverwrite: true
env:
target_ips: "127.0.0.1"
cacheDuration: 1m
- name: helloworld
command: ./examples/helloworld.sh
args:
- test
- name: showtimeout
command: ./examples/showtimeout.sh
timeout:
max_timeout: 60
- name: sleep
command: sleep
args:
- "120"
timeout:
enforced: true
- name: docker
command: ./examples/docker.sh
- name: args
command: ./examples/args.sh
args:
- test1
- test2
scripts_configs:
- ./examples/scripts_*.yaml