|
18 | 18 | "properties": { |
19 | 19 | "version": { |
20 | 20 | "type": "string", |
21 | | - "comment": "Bitcoin Core version with an available Warnet tank image on Dockerhub. May also be a GitHub repository with format user/repository:branch to build from source code"}, |
| 21 | + "comment": "Bitcoin Core version with an available Warnet tank image on Dockerhub. May also be a GitHub repository with format user/repository:branch to build from source code" |
| 22 | + }, |
22 | 23 | "image": { |
23 | 24 | "type": "string", |
24 | | - "comment": "Bitcoin Core Warnet tank image on Dockerhub with the format repository/image:tag"}, |
| 25 | + "comment": "Bitcoin Core Warnet tank image on Dockerhub with the format repository/image:tag" |
| 26 | + }, |
25 | 27 | "bitcoin_config": { |
26 | 28 | "type": "string", |
27 | 29 | "default": "", |
28 | | - "comment": "A string of Bitcoin Core options in command-line format, e.g. '-debug=net -blocksonly'"}, |
| 30 | + "comment": "A string of Bitcoin Core options in command-line format, e.g. '-debug=net -blocksonly'" |
| 31 | + }, |
29 | 32 | "tc_netem": { |
30 | 33 | "type": "string", |
31 | | - "comment": "A tc-netem command as a string beginning with 'tc qdisc add dev eth0 root netem'"}, |
| 34 | + "comment": "A tc-netem command as a string beginning with 'tc qdisc add dev eth0 root netem'" |
| 35 | + }, |
32 | 36 | "exporter": { |
33 | 37 | "type": "boolean", |
34 | 38 | "default": false, |
35 | | - "comment": "Whether to attach a Prometheus data exporter to the tank"}, |
| 39 | + "comment": "Whether to attach a Prometheus data exporter to the tank" |
| 40 | + }, |
36 | 41 | "metrics": { |
37 | 42 | "type": "string", |
38 | | - "comment": "A space-separated string of RPC queries to scrape by Prometheus"}, |
| 43 | + "comment": "A space-separated string of RPC queries to scrape by Prometheus" |
| 44 | + }, |
39 | 45 | "collect_logs": { |
40 | 46 | "type": "boolean", |
41 | | - "default": false, |
42 | | - "comment": "Whether to collect Bitcoin Core debug logs with Promtail"}, |
| 47 | + "default": true, |
| 48 | + "comment": "Whether to collect Bitcoin Core debug logs with Promtail" |
| 49 | + }, |
43 | 50 | "build_args": { |
44 | 51 | "type": "string", |
45 | 52 | "default": "", |
46 | | - "comment": "A string of configure options used when building Bitcoin Core from source code, e.g. '--without-gui --disable-tests'"}, |
| 53 | + "comment": "A string of configure options used when building Bitcoin Core from source code, e.g. '--without-gui --disable-tests'" |
| 54 | + }, |
47 | 55 | "ln": { |
48 | 56 | "type": "string", |
49 | | - "comment": "Attach a lightning network node of this implementation (currently only supports 'lnd' or 'cln')"}, |
| 57 | + "comment": "Attach a lightning network node of this implementation (currently only supports 'lnd' or 'cln')" |
| 58 | + }, |
50 | 59 | "ln_image": { |
51 | 60 | "type": "string", |
52 | | - "comment": "Specify a lightning network node image from Dockerhub with the format repository/image:tag"}, |
| 61 | + "comment": "Specify a lightning network node image from Dockerhub with the format repository/image:tag" |
| 62 | + }, |
53 | 63 | "ln_cb_image": { |
54 | 64 | "type": "string", |
55 | | - "comment": "Specify a lnd Circuit Breaker image from Dockerhub with the format repository/image:tag"}, |
| 65 | + "comment": "Specify a lnd Circuit Breaker image from Dockerhub with the format repository/image:tag" |
| 66 | + }, |
56 | 67 | "ln_config": { |
57 | 68 | "type": "string", |
58 | | - "comment": "A string of arguments for the lightning network node in command-line format, e.g. '--protocol.wumbo-channels --bitcoin.timelockdelta=80'"} |
| 69 | + "comment": "A string of arguments for the lightning network node in command-line format, e.g. '--protocol.wumbo-channels --bitcoin.timelockdelta=80'" |
| 70 | + }, |
| 71 | + "resources": { |
| 72 | + "type": "string", |
| 73 | + "comment": "Kubernetes resource requests and limits for the node", |
| 74 | + "default": "{'requests':{'cpu':'500m', 'memory':'500Mi'}, 'limits':{'cpu':'1000m', 'memory':'1500Mi'}}" |
| 75 | + } |
59 | 76 | }, |
60 | | - "additionalProperties": false, |
61 | 77 | "oneOf": [ |
62 | 78 | {"required": ["version"]}, |
63 | 79 | {"required": ["image"]} |
64 | 80 | ], |
| 81 | + "additionalProperties": false, |
65 | 82 | "required": [] |
66 | 83 | }, |
67 | 84 | "edge": { |
68 | 85 | "type": "object", |
69 | 86 | "properties": { |
70 | 87 | "channel_open": { |
71 | 88 | "type": "string", |
72 | | - "comment": "Indicate that this edge is a lightning channel with these arguments passed to lnd openchannel"}, |
| 89 | + "comment": "Indicate that this edge is a lightning channel with these arguments passed to lnd openchannel" |
| 90 | + }, |
73 | 91 | "source_policy": { |
74 | 92 | "type": "string", |
75 | | - "comment": "Update the channel originator policy by passing these arguments passed to lnd updatechanpolicy"}, |
| 93 | + "comment": "Update the channel originator policy by passing these arguments passed to lnd updatechanpolicy" |
| 94 | + }, |
76 | 95 | "target_policy": { |
77 | 96 | "type": "string", |
78 | | - "comment": "Update the channel partner policy by passing these arguments passed to lnd updatechanpolicy"} |
| 97 | + "comment": "Update the channel partner policy by passing these arguments passed to lnd updatechanpolicy" |
| 98 | + } |
79 | 99 | }, |
80 | 100 | "additionalProperties": false, |
81 | 101 | "required": [] |
|
0 commit comments