|
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 | 47 | "default": false, |
42 | | - "comment": "Whether to collect Bitcoin Core debug logs with Promtail"}, |
| 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 | + "oneOf": [ |
| 73 | + { |
| 74 | + "type": "object", |
| 75 | + "properties": { |
| 76 | + "requests": { |
| 77 | + "type": "object", |
| 78 | + "properties": { |
| 79 | + "cpu": {"type": "string", "default": "500m"}, |
| 80 | + "memory": {"type": "string", "default": "500Mi"} |
| 81 | + } |
| 82 | + }, |
| 83 | + "limits": { |
| 84 | + "type": "object", |
| 85 | + "properties": { |
| 86 | + "cpu": {"type": "string", "default":"1000m"}, |
| 87 | + "memory": {"type": "string", "default":"1500Mi"} |
| 88 | + } |
| 89 | + } |
| 90 | + } |
| 91 | + }, |
| 92 | + { |
| 93 | + "type": "string" |
| 94 | + } |
| 95 | + ], |
| 96 | + "comment": "Kubernetes resource requests and limits for the node" |
| 97 | + } |
59 | 98 | }, |
60 | 99 | "additionalProperties": false, |
61 | 100 | "oneOf": [ |
|
69 | 108 | "properties": { |
70 | 109 | "channel_open": { |
71 | 110 | "type": "string", |
72 | | - "comment": "Indicate that this edge is a lightning channel with these arguments passed to lnd openchannel"}, |
| 111 | + "comment": "Indicate that this edge is a lightning channel with these arguments passed to lnd openchannel" |
| 112 | + }, |
73 | 113 | "source_policy": { |
74 | 114 | "type": "string", |
75 | | - "comment": "Update the channel originator policy by passing these arguments passed to lnd updatechanpolicy"}, |
| 115 | + "comment": "Update the channel originator policy by passing these arguments passed to lnd updatechanpolicy" |
| 116 | + }, |
76 | 117 | "target_policy": { |
77 | 118 | "type": "string", |
78 | | - "comment": "Update the channel partner policy by passing these arguments passed to lnd updatechanpolicy"} |
| 119 | + "comment": "Update the channel partner policy by passing these arguments passed to lnd updatechanpolicy" |
| 120 | + } |
79 | 121 | }, |
80 | 122 | "additionalProperties": false, |
81 | 123 | "required": [] |
|
0 commit comments