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