questions.yaml 72 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748
  1. groups:
  2. - name: "Networking"
  3. description: "Configure Networking for Machinaris"
  4. - name: "Machinaris Configuration"
  5. description: "Machinaris configuration"
  6. - name: "Storage"
  7. description: "Configure Storage for Machinaris"
  8. - name: "Machinaris Environment Variables"
  9. description: "Set the environment that will be visible to the container"
  10. - name: "Resource Limits"
  11. description: "Set CPU/memory limits for Kubernetes Pod"
  12. - name: "Configure Coins"
  13. description: "Configure different coins"
  14. portals:
  15. web_portal:
  16. protocols:
  17. - "http"
  18. host:
  19. - "$node_ip"
  20. ports:
  21. - "$variable-machinaris_ui_port"
  22. questions:
  23. - variable: timezone
  24. label: "Configure timezone"
  25. group: "Machinaris Configuration"
  26. description: "Configure timezone for machinaris"
  27. schema:
  28. type: string
  29. $ref:
  30. - "definitions/timezone"
  31. - variable: nodeIP
  32. description: "LAN IP address of your TrueNAS server"
  33. group: "Machinaris Configuration"
  34. label: "Worker Address"
  35. schema:
  36. type: string
  37. $ref:
  38. - "definitions/nodeIP"
  39. - variable: machinaris_ui_port
  40. label: "Machinaris Web UI"
  41. group: "Networking"
  42. description: "Web UI Port for Machinaris"
  43. schema:
  44. type: int
  45. min: 9000
  46. max: 65535
  47. default: 9003
  48. - variable: machinarisApiPort
  49. label: "Machinaris API port"
  50. group: "Networking"
  51. description: "API port for Machinaris"
  52. schema:
  53. editable: false
  54. hidden: true
  55. type: int
  56. default: 8927
  57. - variable: appVolumeMounts
  58. label: "Machinaris Storage"
  59. group: "Storage"
  60. schema:
  61. type: dict
  62. attrs:
  63. - variable: config
  64. label: "Configuration Volume"
  65. schema:
  66. type: dict
  67. attrs:
  68. - variable: datasetName
  69. label: "Configuration Volume Dataset Name"
  70. schema:
  71. type: string
  72. hidden: true
  73. $ref:
  74. - "normalize/ixVolume"
  75. show_if: [["hostPathEnabled", "=", false]]
  76. default: "config"
  77. editable: false
  78. - variable: mountPath
  79. label: "Configuration Mount Path"
  80. description: "Path where the volume will be mounted inside the pod"
  81. schema:
  82. type: path
  83. hidden: true
  84. editable: true
  85. default: "/root/.chia"
  86. - variable: hostPathEnabled
  87. label: "Enable Custom Host Path for Machinaris Configuration Volume"
  88. schema:
  89. type: boolean
  90. default: false
  91. show_subquestions_if: true
  92. subquestions:
  93. - variable: hostPath
  94. label: "Host Path for Machinaris Configuration Volume"
  95. schema:
  96. type: hostpath
  97. required: true
  98. - variable: plots
  99. label: "Plot Volume"
  100. schema:
  101. type: dict
  102. attrs:
  103. - variable: datasetName
  104. label: "Plots Volume Name"
  105. schema:
  106. type: string
  107. hidden: true
  108. $ref:
  109. - "normalize/ixVolume"
  110. show_if: [["hostPathEnabled", "=", false]]
  111. default: "plots"
  112. editable: false
  113. - variable: mountPath
  114. label: "Plots Mount Path"
  115. description: "Path where the volume will be mounted inside the pod"
  116. schema:
  117. type: path
  118. hidden: true
  119. editable: false
  120. default: "/plots"
  121. - variable: hostPathEnabled
  122. label: "Enable Custom Host Path for Machinaris Plots Volume"
  123. schema:
  124. type: boolean
  125. default: false
  126. show_subquestions_if: true
  127. subquestions:
  128. - variable: hostPath
  129. label: "Host Path for Machinaris Plots Volume"
  130. schema:
  131. type: hostpath
  132. required: true
  133. - variable: plotting
  134. label: "Plotting Temp Volume"
  135. schema:
  136. type: dict
  137. attrs:
  138. - variable: datasetName
  139. label: "Plotting Volume Name"
  140. schema:
  141. type: string
  142. hidden: true
  143. $ref:
  144. - "normalize/ixVolume"
  145. show_if: [["hostPathEnabled", "=", false]]
  146. default: "plotting"
  147. editable: false
  148. - variable: mountPath
  149. label: "Plotting Mount Path"
  150. description: "Path where the volume will be mounted inside the pod"
  151. schema:
  152. type: path
  153. hidden: true
  154. editable: false
  155. default: "/plotting"
  156. - variable: hostPathEnabled
  157. label: "Enable Custom Host Path for Machinaris Plotting Temp Volume"
  158. schema:
  159. type: boolean
  160. default: false
  161. show_subquestions_if: true
  162. subquestions:
  163. - variable: hostPath
  164. label: "Host Path for Machinaris Plotting Volume"
  165. schema:
  166. type: hostpath
  167. required: true
  168. - variable: extraAppVolumeMounts
  169. label: "Machinaris Extra Host Path Volumes"
  170. group: "Storage"
  171. schema:
  172. type: list
  173. items:
  174. - variable: extraAppVolume
  175. label: "Machinaris Host Path Volume"
  176. description: "Add an extra host path volume for machinaris application"
  177. schema:
  178. type: dict
  179. attrs:
  180. - variable: mountPath
  181. label: "Mount Path in Pod"
  182. description: "Path where the volume will be mounted inside the pod"
  183. schema:
  184. type: path
  185. required: true
  186. - variable: hostPath
  187. label: "Host Path"
  188. description: "Host path"
  189. schema:
  190. type: hostpath
  191. required: true
  192. - variable: environmentVariables
  193. label: "Environment Variables for Machinaris"
  194. group: "Machinaris Environment Variables"
  195. schema:
  196. type: list
  197. default: []
  198. items:
  199. - variable: environmentVariable
  200. label: "Environment Variable"
  201. schema:
  202. type: dict
  203. attrs:
  204. - variable: name
  205. label: "Name"
  206. schema:
  207. type: string
  208. - variable: value
  209. label: "Value"
  210. schema:
  211. type: string
  212. - variable: enableResourceLimits
  213. label: "Enable Pod resource limits"
  214. group: "Resource Limits"
  215. schema:
  216. type: boolean
  217. - variable: cpuLimit
  218. label: "CPU limit"
  219. group: "Resource Limits"
  220. schema:
  221. type: string
  222. show_if: [["enableResourceLimits", "=", true]]
  223. valid_chars: "^\\d+(?:\\.\\d+(?!.*m$)|m?$)"
  224. - variable: memLimit
  225. label: "Memory limit"
  226. group: "Resource Limits"
  227. schema:
  228. type: string
  229. show_if: [["enableResourceLimits", "=", true]]
  230. valid_chars: "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$"
  231. # Cactus Configurations
  232. - variable: cactusEnabled
  233. label: "Enable Cactus"
  234. group: "Configure Coins"
  235. schema:
  236. type: boolean
  237. default: false
  238. show_subquestions_if: true
  239. subquestions:
  240. - variable: cactus
  241. label: "Configure Cactus"
  242. schema:
  243. type: dict
  244. additional_attrs: true
  245. attrs:
  246. - variable: volumeMounts
  247. label: "Storage Configurations"
  248. schema:
  249. type: dict
  250. attrs:
  251. - variable: config
  252. label: "Configuration Volume"
  253. schema:
  254. type: dict
  255. attrs:
  256. - variable: datasetName
  257. label: "Configuration Volume Dataset Name"
  258. schema:
  259. type: string
  260. hidden: true
  261. $ref:
  262. - "normalize/ixVolume"
  263. show_if: [["hostPathEnabled", "=", false]]
  264. default: "cactus-config"
  265. editable: false
  266. - variable: mountPath
  267. label: "Configuration Mount Path"
  268. description: "Path where the volume will be mounted inside the pod"
  269. schema:
  270. type: path
  271. hidden: true
  272. editable: false
  273. default: "/root/.chia"
  274. - variable: hostPathEnabled
  275. label: "Enable Custom Host Path for Configuration Volume"
  276. schema:
  277. type: boolean
  278. default: false
  279. show_subquestions_if: true
  280. subquestions:
  281. - variable: hostPath
  282. label: "Host Path for Configuration Volume"
  283. schema:
  284. type: hostpath
  285. required: true
  286. - variable: mnemonic
  287. label: "Mnemonic Volume"
  288. schema:
  289. type: dict
  290. attrs:
  291. - variable: datasetName
  292. label: "Mnemonic Volume Dataset Name"
  293. schema:
  294. type: string
  295. hidden: true
  296. $ref:
  297. - "normalize/ixVolume"
  298. show_if: [["hostPathEnabled", "=", false]]
  299. default: "config"
  300. editable: false
  301. - variable: mountPath
  302. label: "Mnemonic Mount Path"
  303. description: "Path where the volume will be mounted inside the pod"
  304. schema:
  305. type: path
  306. hidden: true
  307. editable: false
  308. default: "/root/.chia/mnemonic.txt"
  309. - variable: subPath
  310. label: "Subpath in the Dataset"
  311. schema:
  312. type: string
  313. hidden: true
  314. show_if: [["hostPathEnabled", "=", false]]
  315. default: "mnemonic.txt"
  316. editable: false
  317. - variable: readOnly
  318. label: "Mode"
  319. description: "Mnemonic file mode"
  320. schema:
  321. type: boolean
  322. hidden: true
  323. editable: false
  324. default: true
  325. - variable: hostPathEnabled
  326. label: "Enable Custom Host Path for Mnemonic Volume"
  327. schema:
  328. type: boolean
  329. default: false
  330. show_subquestions_if: true
  331. subquestions:
  332. - variable: hostPath
  333. label: "Host Path for Mnemonic Volume"
  334. schema:
  335. type: hostpath
  336. required: true
  337. - variable: environmentVariables
  338. label: "Environment Variables"
  339. schema:
  340. type: list
  341. default: []
  342. items:
  343. - variable: environmentVariable
  344. label: "Environment Variable"
  345. schema:
  346. type: dict
  347. attrs:
  348. - variable: name
  349. label: "Name"
  350. schema:
  351. type: string
  352. - variable: value
  353. label: "Value"
  354. schema:
  355. type: string
  356. # Chives Configurations
  357. - variable: chivesEnabled
  358. label: "Enable Chives"
  359. group: "Configure Coins"
  360. schema:
  361. type: boolean
  362. default: false
  363. show_subquestions_if: true
  364. subquestions:
  365. - variable: chives
  366. label: "Configure Chives"
  367. schema:
  368. type: dict
  369. additional_attrs: true
  370. attrs:
  371. - variable: volumeMounts
  372. label: "Storage Configurations"
  373. schema:
  374. type: dict
  375. attrs:
  376. - variable: config
  377. label: "Configuration Volume"
  378. schema:
  379. type: dict
  380. attrs:
  381. - variable: datasetName
  382. label: "Configuration Volume Dataset Name"
  383. schema:
  384. type: string
  385. hidden: true
  386. $ref:
  387. - "normalize/ixVolume"
  388. show_if: [["hostPathEnabled", "=", false]]
  389. default: "chives-config"
  390. editable: false
  391. - variable: mountPath
  392. label: "Configuration Mount Path"
  393. description: "Path where the volume will be mounted inside the pod"
  394. schema:
  395. type: path
  396. hidden: true
  397. editable: false
  398. default: "/root/.chia"
  399. - variable: hostPathEnabled
  400. label: "Enable Custom Host Path for Configuration Volume"
  401. schema:
  402. type: boolean
  403. default: false
  404. show_subquestions_if: true
  405. subquestions:
  406. - variable: hostPath
  407. label: "Host Path for Configuration Volume"
  408. schema:
  409. type: hostpath
  410. required: true
  411. - variable: mnemonic
  412. label: "Mnemonic Volume"
  413. schema:
  414. type: dict
  415. attrs:
  416. - variable: datasetName
  417. label: "Mnemonic Volume Dataset Name"
  418. schema:
  419. type: string
  420. hidden: true
  421. $ref:
  422. - "normalize/ixVolume"
  423. show_if: [["hostPathEnabled", "=", false]]
  424. default: "config"
  425. editable: false
  426. - variable: mountPath
  427. label: "Mnemonic Mount Path"
  428. description: "Path where the volume will be mounted inside the pod"
  429. schema:
  430. type: path
  431. hidden: true
  432. editable: false
  433. default: "/root/.chia/mnemonic.txt"
  434. - variable: subPath
  435. label: "Subpath in the Dataset"
  436. schema:
  437. type: string
  438. hidden: true
  439. show_if: [["hostPathEnabled", "=", false]]
  440. default: "mnemonic.txt"
  441. editable: false
  442. - variable: readOnly
  443. label: "Mode"
  444. description: "Mnemonic file mode"
  445. schema:
  446. type: boolean
  447. hidden: true
  448. editable: false
  449. default: true
  450. - variable: hostPathEnabled
  451. label: "Enable Custom Host Path for Mnemonic Volume"
  452. schema:
  453. type: boolean
  454. default: false
  455. show_subquestions_if: true
  456. subquestions:
  457. - variable: hostPath
  458. label: "Host Path for Mnemonic Volume"
  459. schema:
  460. type: hostpath
  461. required: true
  462. - variable: environmentVariables
  463. label: "Environment Variables"
  464. schema:
  465. type: list
  466. default: []
  467. items:
  468. - variable: environmentVariable
  469. label: "Environment Variable"
  470. schema:
  471. type: dict
  472. attrs:
  473. - variable: name
  474. label: "Name"
  475. schema:
  476. type: string
  477. - variable: value
  478. label: "Value"
  479. schema:
  480. type: string
  481. # Cryptodoge Configurations
  482. - variable: cryptodogeEnabled
  483. label: "Enable Cryptodoge"
  484. group: "Configure Coins"
  485. schema:
  486. type: boolean
  487. default: false
  488. show_subquestions_if: true
  489. subquestions:
  490. - variable: cryptodoge
  491. label: "Configure Cryptodoge"
  492. schema:
  493. type: dict
  494. additional_attrs: true
  495. attrs:
  496. - variable: volumeMounts
  497. label: "Storage Configurations"
  498. schema:
  499. type: dict
  500. attrs:
  501. - variable: config
  502. label: "Configuration Volume"
  503. schema:
  504. type: dict
  505. attrs:
  506. - variable: datasetName
  507. label: "Configuration Volume Dataset Name"
  508. schema:
  509. type: string
  510. hidden: true
  511. $ref:
  512. - "normalize/ixVolume"
  513. show_if: [["hostPathEnabled", "=", false]]
  514. default: "cryptodoge-config"
  515. editable: false
  516. - variable: mountPath
  517. label: "Configuration Mount Path"
  518. description: "Path where the volume will be mounted inside the pod"
  519. schema:
  520. type: path
  521. hidden: true
  522. editable: false
  523. default: "/root/.chia"
  524. - variable: hostPathEnabled
  525. label: "Enable Custom Host Path for Configuration Volume"
  526. schema:
  527. type: boolean
  528. default: false
  529. show_subquestions_if: true
  530. subquestions:
  531. - variable: hostPath
  532. label: "Host Path for Configuration Volume"
  533. schema:
  534. type: hostpath
  535. required: true
  536. - variable: mnemonic
  537. label: "Mnemonic Volume"
  538. schema:
  539. type: dict
  540. attrs:
  541. - variable: datasetName
  542. label: "Mnemonic Volume Dataset Name"
  543. schema:
  544. type: string
  545. hidden: true
  546. $ref:
  547. - "normalize/ixVolume"
  548. show_if: [["hostPathEnabled", "=", false]]
  549. default: "config"
  550. editable: false
  551. - variable: mountPath
  552. label: "Mnemonic Mount Path"
  553. description: "Path where the volume will be mounted inside the pod"
  554. schema:
  555. type: path
  556. hidden: true
  557. editable: false
  558. default: "/root/.chia/mnemonic.txt"
  559. - variable: subPath
  560. label: "Subpath in the Dataset"
  561. schema:
  562. type: string
  563. hidden: true
  564. show_if: [["hostPathEnabled", "=", false]]
  565. default: "mnemonic.txt"
  566. editable: false
  567. - variable: readOnly
  568. label: "Mode"
  569. description: "Mnemonic file mode"
  570. schema:
  571. type: boolean
  572. hidden: true
  573. editable: false
  574. default: true
  575. - variable: hostPathEnabled
  576. label: "Enable Custom Host Path for Mnemonic Volume"
  577. schema:
  578. type: boolean
  579. default: false
  580. show_subquestions_if: true
  581. subquestions:
  582. - variable: hostPath
  583. label: "Host Path for Mnemonic Volume"
  584. schema:
  585. type: hostpath
  586. required: true
  587. - variable: environmentVariables
  588. label: "Environment Variables"
  589. schema:
  590. type: list
  591. default: []
  592. items:
  593. - variable: environmentVariable
  594. label: "Environment Variable"
  595. schema:
  596. type: dict
  597. attrs:
  598. - variable: name
  599. label: "Name"
  600. schema:
  601. type: string
  602. - variable: value
  603. label: "Value"
  604. schema:
  605. type: string
  606. # Flax Configurations
  607. - variable: flaxEnabled
  608. label: "Enable Flax"
  609. group: "Configure Coins"
  610. schema:
  611. type: boolean
  612. default: false
  613. show_subquestions_if: true
  614. subquestions:
  615. - variable: flax
  616. label: "Configure Flax"
  617. schema:
  618. type: dict
  619. additional_attrs: true
  620. attrs:
  621. - variable: volumeMounts
  622. label: "Storage Configurations"
  623. schema:
  624. type: dict
  625. attrs:
  626. - variable: config
  627. label: "Configuration Volume"
  628. schema:
  629. type: dict
  630. attrs:
  631. - variable: datasetName
  632. label: "Configuration Volume Dataset Name"
  633. schema:
  634. type: string
  635. hidden: true
  636. $ref:
  637. - "normalize/ixVolume"
  638. show_if: [["hostPathEnabled", "=", false]]
  639. default: "flax-config"
  640. editable: false
  641. - variable: mountPath
  642. label: "Configuration Mount Path"
  643. description: "Path where the volume will be mounted inside the pod"
  644. schema:
  645. type: path
  646. hidden: true
  647. editable: false
  648. default: "/root/.chia"
  649. - variable: hostPathEnabled
  650. label: "Enable Custom Host Path for Configuration Volume"
  651. schema:
  652. type: boolean
  653. default: false
  654. show_subquestions_if: true
  655. subquestions:
  656. - variable: hostPath
  657. label: "Host Path for Configuration Volume"
  658. schema:
  659. type: hostpath
  660. required: true
  661. - variable: mnemonic
  662. label: "Mnemonic Volume"
  663. schema:
  664. type: dict
  665. attrs:
  666. - variable: datasetName
  667. label: "Mnemonic Volume Dataset Name"
  668. schema:
  669. type: string
  670. hidden: true
  671. $ref:
  672. - "normalize/ixVolume"
  673. show_if: [["hostPathEnabled", "=", false]]
  674. default: "config"
  675. editable: false
  676. - variable: mountPath
  677. label: "Mnemonic Mount Path"
  678. description: "Path where the volume will be mounted inside the pod"
  679. schema:
  680. type: path
  681. hidden: true
  682. editable: false
  683. default: "/root/.chia/mnemonic.txt"
  684. - variable: subPath
  685. label: "Subpath in the Dataset"
  686. schema:
  687. type: string
  688. hidden: true
  689. show_if: [["hostPathEnabled", "=", false]]
  690. default: "mnemonic.txt"
  691. editable: false
  692. - variable: readOnly
  693. label: "Mode"
  694. description: "Mnemonic file mode"
  695. schema:
  696. type: boolean
  697. hidden: true
  698. editable: false
  699. default: true
  700. - variable: hostPathEnabled
  701. label: "Enable Custom Host Path for Mnemonic Volume"
  702. schema:
  703. type: boolean
  704. default: false
  705. show_subquestions_if: true
  706. subquestions:
  707. - variable: hostPath
  708. label: "Host Path for Mnemonic Volume"
  709. schema:
  710. type: hostpath
  711. required: true
  712. - variable: environmentVariables
  713. label: "Environment Variables"
  714. schema:
  715. type: list
  716. default: []
  717. items:
  718. - variable: environmentVariable
  719. label: "Environment Variable"
  720. schema:
  721. type: dict
  722. attrs:
  723. - variable: name
  724. label: "Name"
  725. schema:
  726. type: string
  727. - variable: value
  728. label: "Value"
  729. schema:
  730. type: string
  731. # Flora Configurations
  732. - variable: floraEnabled
  733. label: "Enable Flora"
  734. group: "Configure Coins"
  735. schema:
  736. type: boolean
  737. default: false
  738. show_subquestions_if: true
  739. subquestions:
  740. - variable: flora
  741. label: "Configure Flora"
  742. schema:
  743. type: dict
  744. additional_attrs: true
  745. attrs:
  746. - variable: volumeMounts
  747. label: "Storage Configurations"
  748. schema:
  749. type: dict
  750. attrs:
  751. - variable: config
  752. label: "Configuration Volume"
  753. schema:
  754. type: dict
  755. attrs:
  756. - variable: datasetName
  757. label: "Configuration Volume Dataset Name"
  758. schema:
  759. type: string
  760. hidden: true
  761. $ref:
  762. - "normalize/ixVolume"
  763. show_if: [["hostPathEnabled", "=", false]]
  764. default: "flora-config"
  765. editable: false
  766. - variable: mountPath
  767. label: "Configuration Mount Path"
  768. description: "Path where the volume will be mounted inside the pod"
  769. schema:
  770. type: path
  771. hidden: true
  772. editable: false
  773. default: "/root/.chia"
  774. - variable: hostPathEnabled
  775. label: "Enable Custom Host Path for Configuration Volume"
  776. schema:
  777. type: boolean
  778. default: false
  779. show_subquestions_if: true
  780. subquestions:
  781. - variable: hostPath
  782. label: "Host Path for Configuration Volume"
  783. schema:
  784. type: hostpath
  785. required: true
  786. - variable: mnemonic
  787. label: "Mnemonic Volume"
  788. schema:
  789. type: dict
  790. attrs:
  791. - variable: datasetName
  792. label: "Mnemonic Volume Dataset Name"
  793. schema:
  794. type: string
  795. hidden: true
  796. $ref:
  797. - "normalize/ixVolume"
  798. show_if: [["hostPathEnabled", "=", false]]
  799. default: "config"
  800. editable: false
  801. - variable: mountPath
  802. label: "Mnemonic Mount Path"
  803. description: "Path where the volume will be mounted inside the pod"
  804. schema:
  805. type: path
  806. hidden: true
  807. editable: false
  808. default: "/root/.chia/mnemonic.txt"
  809. - variable: subPath
  810. label: "Subpath in the Dataset"
  811. schema:
  812. type: string
  813. hidden: true
  814. show_if: [["hostPathEnabled", "=", false]]
  815. default: "mnemonic.txt"
  816. editable: false
  817. - variable: readOnly
  818. label: "Mode"
  819. description: "Mnemonic file mode"
  820. schema:
  821. type: boolean
  822. hidden: true
  823. editable: false
  824. default: true
  825. - variable: hostPathEnabled
  826. label: "Enable Custom Host Path for Mnemonic Volume"
  827. schema:
  828. type: boolean
  829. default: false
  830. show_subquestions_if: true
  831. subquestions:
  832. - variable: hostPath
  833. label: "Host Path for Mnemonic Volume"
  834. schema:
  835. type: hostpath
  836. required: true
  837. - variable: environmentVariables
  838. label: "Environment Variables"
  839. schema:
  840. type: list
  841. default: []
  842. items:
  843. - variable: environmentVariable
  844. label: "Environment Variable"
  845. schema:
  846. type: dict
  847. attrs:
  848. - variable: name
  849. label: "Name"
  850. schema:
  851. type: string
  852. - variable: value
  853. label: "Value"
  854. schema:
  855. type: string
  856. # HDDCoin Configurations
  857. - variable: hddcoinEnabled
  858. label: "Enable HDDCoin"
  859. group: "Configure Coins"
  860. schema:
  861. type: boolean
  862. default: false
  863. show_subquestions_if: true
  864. subquestions:
  865. - variable: hddcoin
  866. label: "Configure HDDCoin"
  867. schema:
  868. type: dict
  869. additional_attrs: true
  870. attrs:
  871. - variable: volumeMounts
  872. label: "Storage Configurations"
  873. schema:
  874. type: dict
  875. attrs:
  876. - variable: config
  877. label: "Configuration Volume"
  878. schema:
  879. type: dict
  880. attrs:
  881. - variable: datasetName
  882. label: "Configuration Volume Dataset Name"
  883. schema:
  884. type: string
  885. hidden: true
  886. $ref:
  887. - "normalize/ixVolume"
  888. show_if: [["hostPathEnabled", "=", false]]
  889. default: "hddcoin-config"
  890. editable: false
  891. - variable: mountPath
  892. label: "Configuration Mount Path"
  893. description: "Path where the volume will be mounted inside the pod"
  894. schema:
  895. type: path
  896. hidden: true
  897. editable: false
  898. default: "/root/.chia"
  899. - variable: hostPathEnabled
  900. label: "Enable Custom Host Path for Configuration Volume"
  901. schema:
  902. type: boolean
  903. default: false
  904. show_subquestions_if: true
  905. subquestions:
  906. - variable: hostPath
  907. label: "Host Path for Configuration Volume"
  908. schema:
  909. type: hostpath
  910. required: true
  911. - variable: mnemonic
  912. label: "Mnemonic Volume"
  913. schema:
  914. type: dict
  915. attrs:
  916. - variable: datasetName
  917. label: "Mnemonic Volume Dataset Name"
  918. schema:
  919. type: string
  920. hidden: true
  921. $ref:
  922. - "normalize/ixVolume"
  923. show_if: [["hostPathEnabled", "=", false]]
  924. default: "config"
  925. editable: false
  926. - variable: mountPath
  927. label: "Mnemonic Mount Path"
  928. description: "Path where the volume will be mounted inside the pod"
  929. schema:
  930. type: path
  931. hidden: true
  932. editable: false
  933. default: "/root/.chia/mnemonic.txt"
  934. - variable: subPath
  935. label: "Subpath in the Dataset"
  936. schema:
  937. type: string
  938. hidden: true
  939. show_if: [["hostPathEnabled", "=", false]]
  940. default: "mnemonic.txt"
  941. editable: false
  942. - variable: readOnly
  943. label: "Mode"
  944. description: "Mnemonic file mode"
  945. schema:
  946. type: boolean
  947. hidden: true
  948. editable: false
  949. default: true
  950. - variable: hostPathEnabled
  951. label: "Enable Custom Host Path for Mnemonic Volume"
  952. schema:
  953. type: boolean
  954. default: false
  955. show_subquestions_if: true
  956. subquestions:
  957. - variable: hostPath
  958. label: "Host Path for Mnemonic Volume"
  959. schema:
  960. type: hostpath
  961. required: true
  962. - variable: environmentVariables
  963. label: "Environment Variables"
  964. schema:
  965. type: list
  966. default: []
  967. items:
  968. - variable: environmentVariable
  969. label: "Environment Variable"
  970. schema:
  971. type: dict
  972. attrs:
  973. - variable: name
  974. label: "Name"
  975. schema:
  976. type: string
  977. - variable: value
  978. label: "Value"
  979. schema:
  980. type: string
  981. # Maize Configurations
  982. - variable: maizeEnabled
  983. label: "Enable Maize"
  984. group: "Configure Coins"
  985. schema:
  986. type: boolean
  987. default: false
  988. show_subquestions_if: true
  989. subquestions:
  990. - variable: maize
  991. label: "Configure Maize"
  992. schema:
  993. type: dict
  994. additional_attrs: true
  995. attrs:
  996. - variable: volumeMounts
  997. label: "Storage Configurations"
  998. schema:
  999. type: dict
  1000. attrs:
  1001. - variable: config
  1002. label: "Configuration Volume"
  1003. schema:
  1004. type: dict
  1005. attrs:
  1006. - variable: datasetName
  1007. label: "Configuration Volume Dataset Name"
  1008. schema:
  1009. type: string
  1010. hidden: true
  1011. $ref:
  1012. - "normalize/ixVolume"
  1013. show_if: [["hostPathEnabled", "=", false]]
  1014. default: "maize-config"
  1015. editable: false
  1016. - variable: mountPath
  1017. label: "Configuration Mount Path"
  1018. description: "Path where the volume will be mounted inside the pod"
  1019. schema:
  1020. type: path
  1021. hidden: true
  1022. editable: false
  1023. default: "/root/.chia"
  1024. - variable: hostPathEnabled
  1025. label: "Enable Custom Host Path for Configuration Volume"
  1026. schema:
  1027. type: boolean
  1028. default: false
  1029. show_subquestions_if: true
  1030. subquestions:
  1031. - variable: hostPath
  1032. label: "Host Path for Configuration Volume"
  1033. schema:
  1034. type: hostpath
  1035. required: true
  1036. - variable: mnemonic
  1037. label: "Mnemonic Volume"
  1038. schema:
  1039. type: dict
  1040. attrs:
  1041. - variable: datasetName
  1042. label: "Mnemonic Volume Dataset Name"
  1043. schema:
  1044. type: string
  1045. hidden: true
  1046. $ref:
  1047. - "normalize/ixVolume"
  1048. show_if: [["hostPathEnabled", "=", false]]
  1049. default: "config"
  1050. editable: false
  1051. - variable: mountPath
  1052. label: "Mnemonic Mount Path"
  1053. description: "Path where the volume will be mounted inside the pod"
  1054. schema:
  1055. type: path
  1056. hidden: true
  1057. editable: false
  1058. default: "/root/.chia/mnemonic.txt"
  1059. - variable: subPath
  1060. label: "Subpath in the Dataset"
  1061. schema:
  1062. type: string
  1063. hidden: true
  1064. show_if: [["hostPathEnabled", "=", false]]
  1065. default: "mnemonic.txt"
  1066. editable: false
  1067. - variable: readOnly
  1068. label: "Mode"
  1069. description: "Mnemonic file mode"
  1070. schema:
  1071. type: boolean
  1072. hidden: true
  1073. editable: false
  1074. default: true
  1075. - variable: hostPathEnabled
  1076. label: "Enable Custom Host Path for Mnemonic Volume"
  1077. schema:
  1078. type: boolean
  1079. default: false
  1080. show_subquestions_if: true
  1081. subquestions:
  1082. - variable: hostPath
  1083. label: "Host Path for Mnemonic Volume"
  1084. schema:
  1085. type: hostpath
  1086. required: true
  1087. - variable: environmentVariables
  1088. label: "Environment Variables"
  1089. schema:
  1090. type: list
  1091. default: []
  1092. items:
  1093. - variable: environmentVariable
  1094. label: "Environment Variable"
  1095. schema:
  1096. type: dict
  1097. attrs:
  1098. - variable: name
  1099. label: "Name"
  1100. schema:
  1101. type: string
  1102. - variable: value
  1103. label: "Value"
  1104. schema:
  1105. type: string
  1106. # N-Chain Configurations
  1107. - variable: nchainEnabled
  1108. label: "Enable N-Chain"
  1109. group: "Configure Coins"
  1110. schema:
  1111. type: boolean
  1112. default: false
  1113. show_subquestions_if: true
  1114. subquestions:
  1115. - variable: nchain
  1116. label: "Configure N-Chain"
  1117. schema:
  1118. type: dict
  1119. additional_attrs: true
  1120. attrs:
  1121. - variable: volumeMounts
  1122. label: "Storage Configurations"
  1123. schema:
  1124. type: dict
  1125. attrs:
  1126. - variable: config
  1127. label: "Configuration Volume"
  1128. schema:
  1129. type: dict
  1130. attrs:
  1131. - variable: datasetName
  1132. label: "Configuration Volume Dataset Name"
  1133. schema:
  1134. type: string
  1135. hidden: true
  1136. $ref:
  1137. - "normalize/ixVolume"
  1138. show_if: [["hostPathEnabled", "=", false]]
  1139. default: "nchain-config"
  1140. editable: false
  1141. - variable: mountPath
  1142. label: "Configuration Mount Path"
  1143. description: "Path where the volume will be mounted inside the pod"
  1144. schema:
  1145. type: path
  1146. hidden: true
  1147. editable: false
  1148. default: "/root/.chia"
  1149. - variable: hostPathEnabled
  1150. label: "Enable Custom Host Path for Configuration Volume"
  1151. schema:
  1152. type: boolean
  1153. default: false
  1154. show_subquestions_if: true
  1155. subquestions:
  1156. - variable: hostPath
  1157. label: "Host Path for Configuration Volume"
  1158. schema:
  1159. type: hostpath
  1160. required: true
  1161. - variable: mnemonic
  1162. label: "Mnemonic Volume"
  1163. schema:
  1164. type: dict
  1165. attrs:
  1166. - variable: datasetName
  1167. label: "Mnemonic Volume Dataset Name"
  1168. schema:
  1169. type: string
  1170. hidden: true
  1171. $ref:
  1172. - "normalize/ixVolume"
  1173. show_if: [["hostPathEnabled", "=", false]]
  1174. default: "config"
  1175. editable: false
  1176. - variable: mountPath
  1177. label: "Mnemonic Mount Path"
  1178. description: "Path where the volume will be mounted inside the pod"
  1179. schema:
  1180. type: path
  1181. hidden: true
  1182. editable: false
  1183. default: "/root/.chia/mnemonic.txt"
  1184. - variable: subPath
  1185. label: "Subpath in the Dataset"
  1186. schema:
  1187. type: string
  1188. hidden: true
  1189. show_if: [["hostPathEnabled", "=", false]]
  1190. default: "mnemonic.txt"
  1191. editable: false
  1192. - variable: readOnly
  1193. label: "Mode"
  1194. description: "Mnemonic file mode"
  1195. schema:
  1196. type: boolean
  1197. hidden: true
  1198. editable: false
  1199. default: true
  1200. - variable: hostPathEnabled
  1201. label: "Enable Custom Host Path for Mnemonic Volume"
  1202. schema:
  1203. type: boolean
  1204. default: false
  1205. show_subquestions_if: true
  1206. subquestions:
  1207. - variable: hostPath
  1208. label: "Host Path for Mnemonic Volume"
  1209. schema:
  1210. type: hostpath
  1211. required: true
  1212. - variable: environmentVariables
  1213. label: "Environment Variables"
  1214. schema:
  1215. type: list
  1216. default: []
  1217. items:
  1218. - variable: environmentVariable
  1219. label: "Environment Variable"
  1220. schema:
  1221. type: dict
  1222. attrs:
  1223. - variable: name
  1224. label: "Name"
  1225. schema:
  1226. type: string
  1227. - variable: value
  1228. label: "Value"
  1229. schema:
  1230. type: string
  1231. # Staicoin Configurations
  1232. - variable: staicoinEnabled
  1233. label: "Enable Staicoin"
  1234. group: "Configure Coins"
  1235. schema:
  1236. type: boolean
  1237. default: false
  1238. show_subquestions_if: true
  1239. subquestions:
  1240. - variable: staicoin
  1241. label: "Configure Staicoin"
  1242. schema:
  1243. type: dict
  1244. additional_attrs: true
  1245. attrs:
  1246. - variable: volumeMounts
  1247. label: "Storage Configurations"
  1248. schema:
  1249. type: dict
  1250. attrs:
  1251. - variable: config
  1252. label: "Configuration Volume"
  1253. schema:
  1254. type: dict
  1255. attrs:
  1256. - variable: datasetName
  1257. label: "Configuration Volume Dataset Name"
  1258. schema:
  1259. type: string
  1260. hidden: true
  1261. $ref:
  1262. - "normalize/ixVolume"
  1263. show_if: [["hostPathEnabled", "=", false]]
  1264. default: "staicoin-config"
  1265. editable: false
  1266. - variable: mountPath
  1267. label: "Configuration Mount Path"
  1268. description: "Path where the volume will be mounted inside the pod"
  1269. schema:
  1270. type: path
  1271. hidden: true
  1272. editable: false
  1273. default: "/root/.chia"
  1274. - variable: hostPathEnabled
  1275. label: "Enable Custom Host Path for Configuration Volume"
  1276. schema:
  1277. type: boolean
  1278. default: false
  1279. show_subquestions_if: true
  1280. subquestions:
  1281. - variable: hostPath
  1282. label: "Host Path for Configuration Volume"
  1283. schema:
  1284. type: hostpath
  1285. required: true
  1286. - variable: mnemonic
  1287. label: "Mnemonic Volume"
  1288. schema:
  1289. type: dict
  1290. attrs:
  1291. - variable: datasetName
  1292. label: "Mnemonic Volume Dataset Name"
  1293. schema:
  1294. type: string
  1295. hidden: true
  1296. $ref:
  1297. - "normalize/ixVolume"
  1298. show_if: [["hostPathEnabled", "=", false]]
  1299. default: "config"
  1300. editable: false
  1301. - variable: mountPath
  1302. label: "Mnemonic Mount Path"
  1303. description: "Path where the volume will be mounted inside the pod"
  1304. schema:
  1305. type: path
  1306. hidden: true
  1307. editable: false
  1308. default: "/root/.chia/mnemonic.txt"
  1309. - variable: subPath
  1310. label: "Subpath in the Dataset"
  1311. schema:
  1312. type: string
  1313. hidden: true
  1314. show_if: [["hostPathEnabled", "=", false]]
  1315. default: "mnemonic.txt"
  1316. editable: false
  1317. - variable: readOnly
  1318. label: "Mode"
  1319. description: "Mnemonic file mode"
  1320. schema:
  1321. type: boolean
  1322. hidden: true
  1323. editable: false
  1324. default: true
  1325. - variable: hostPathEnabled
  1326. label: "Enable Custom Host Path for Mnemonic Volume"
  1327. schema:
  1328. type: boolean
  1329. default: false
  1330. show_subquestions_if: true
  1331. subquestions:
  1332. - variable: hostPath
  1333. label: "Host Path for Mnemonic Volume"
  1334. schema:
  1335. type: hostpath
  1336. required: true
  1337. - variable: environmentVariables
  1338. label: "Environment Variables"
  1339. schema:
  1340. type: list
  1341. default: []
  1342. items:
  1343. - variable: environmentVariable
  1344. label: "Environment Variable"
  1345. schema:
  1346. type: dict
  1347. attrs:
  1348. - variable: name
  1349. label: "Name"
  1350. schema:
  1351. type: string
  1352. - variable: value
  1353. label: "Value"
  1354. schema:
  1355. type: string
  1356. # Stor Configurations
  1357. - variable: storEnabled
  1358. label: "Enable Stor"
  1359. group: "Configure Coins"
  1360. schema:
  1361. type: boolean
  1362. default: false
  1363. show_subquestions_if: true
  1364. subquestions:
  1365. - variable: stor
  1366. label: "Configure Stor"
  1367. schema:
  1368. type: dict
  1369. additional_attrs: true
  1370. attrs:
  1371. - variable: volumeMounts
  1372. label: "Storage Configurations"
  1373. schema:
  1374. type: dict
  1375. attrs:
  1376. - variable: config
  1377. label: "Configuration Volume"
  1378. schema:
  1379. type: dict
  1380. attrs:
  1381. - variable: datasetName
  1382. label: "Configuration Volume Dataset Name"
  1383. schema:
  1384. type: string
  1385. hidden: true
  1386. $ref:
  1387. - "normalize/ixVolume"
  1388. show_if: [["hostPathEnabled", "=", false]]
  1389. default: "stor-config"
  1390. editable: false
  1391. - variable: mountPath
  1392. label: "Configuration Mount Path"
  1393. description: "Path where the volume will be mounted inside the pod"
  1394. schema:
  1395. type: path
  1396. hidden: true
  1397. editable: false
  1398. default: "/root/.chia"
  1399. - variable: hostPathEnabled
  1400. label: "Enable Custom Host Path for Configuration Volume"
  1401. schema:
  1402. type: boolean
  1403. default: false
  1404. show_subquestions_if: true
  1405. subquestions:
  1406. - variable: hostPath
  1407. label: "Host Path for Configuration Volume"
  1408. schema:
  1409. type: hostpath
  1410. required: true
  1411. - variable: mnemonic
  1412. label: "Mnemonic Volume"
  1413. schema:
  1414. type: dict
  1415. attrs:
  1416. - variable: datasetName
  1417. label: "Mnemonic Volume Dataset Name"
  1418. schema:
  1419. type: string
  1420. hidden: true
  1421. $ref:
  1422. - "normalize/ixVolume"
  1423. show_if: [["hostPathEnabled", "=", false]]
  1424. default: "config"
  1425. editable: false
  1426. - variable: mountPath
  1427. label: "Mnemonic Mount Path"
  1428. description: "Path where the volume will be mounted inside the pod"
  1429. schema:
  1430. type: path
  1431. hidden: true
  1432. editable: false
  1433. default: "/root/.chia/mnemonic.txt"
  1434. - variable: subPath
  1435. label: "Subpath in the Dataset"
  1436. schema:
  1437. type: string
  1438. hidden: true
  1439. show_if: [["hostPathEnabled", "=", false]]
  1440. default: "mnemonic.txt"
  1441. editable: false
  1442. - variable: readOnly
  1443. label: "Mode"
  1444. description: "Mnemonic file mode"
  1445. schema:
  1446. type: boolean
  1447. hidden: true
  1448. editable: false
  1449. default: true
  1450. - variable: hostPathEnabled
  1451. label: "Enable Custom Host Path for Mnemonic Volume"
  1452. schema:
  1453. type: boolean
  1454. default: false
  1455. show_subquestions_if: true
  1456. subquestions:
  1457. - variable: hostPath
  1458. label: "Host Path for Mnemonic Volume"
  1459. schema:
  1460. type: hostpath
  1461. required: true
  1462. - variable: environmentVariables
  1463. label: "Environment Variables"
  1464. schema:
  1465. type: list
  1466. default: []
  1467. items:
  1468. - variable: environmentVariable
  1469. label: "Environment Variable"
  1470. schema:
  1471. type: dict
  1472. attrs:
  1473. - variable: name
  1474. label: "Name"
  1475. schema:
  1476. type: string
  1477. - variable: value
  1478. label: "Value"
  1479. schema:
  1480. type: string
  1481. # BTCGreen Configurations
  1482. - variable: btcgreenEnabled
  1483. label: "Enable BTCGreen"
  1484. group: "Configure Coins"
  1485. schema:
  1486. type: boolean
  1487. default: false
  1488. show_subquestions_if: true
  1489. subquestions:
  1490. - variable: btcgreen
  1491. label: "Configure BTCGreen"
  1492. schema:
  1493. type: dict
  1494. additional_attrs: true
  1495. attrs:
  1496. - variable: volumeMounts
  1497. label: "Storage Configurations"
  1498. schema:
  1499. type: dict
  1500. attrs:
  1501. - variable: config
  1502. label: "Configuration Volume"
  1503. schema:
  1504. type: dict
  1505. attrs:
  1506. - variable: datasetName
  1507. label: "Configuration Volume Dataset Name"
  1508. schema:
  1509. type: string
  1510. hidden: true
  1511. $ref:
  1512. - "normalize/ixVolume"
  1513. show_if: [["hostPathEnabled", "=", false]]
  1514. default: "btcgreen-config"
  1515. editable: false
  1516. - variable: mountPath
  1517. label: "Configuration Mount Path"
  1518. description: "Path where the volume will be mounted inside the pod"
  1519. schema:
  1520. type: path
  1521. hidden: true
  1522. editable: false
  1523. default: "/root/.chia"
  1524. - variable: hostPathEnabled
  1525. label: "Enable Custom Host Path for Configuration Volume"
  1526. schema:
  1527. type: boolean
  1528. default: false
  1529. show_subquestions_if: true
  1530. subquestions:
  1531. - variable: hostPath
  1532. label: "Host Path for Configuration Volume"
  1533. schema:
  1534. type: hostpath
  1535. required: true
  1536. - variable: mnemonic
  1537. label: "Mnemonic Volume"
  1538. schema:
  1539. type: dict
  1540. attrs:
  1541. - variable: datasetName
  1542. label: "Mnemonic Volume Dataset Name"
  1543. schema:
  1544. type: string
  1545. hidden: true
  1546. $ref:
  1547. - "normalize/ixVolume"
  1548. show_if: [["hostPathEnabled", "=", false]]
  1549. default: "config"
  1550. editable: false
  1551. - variable: mountPath
  1552. label: "Mnemonic Mount Path"
  1553. description: "Path where the volume will be mounted inside the pod"
  1554. schema:
  1555. type: path
  1556. hidden: true
  1557. editable: false
  1558. default: "/root/.chia/mnemonic.txt"
  1559. - variable: subPath
  1560. label: "Subpath in the Dataset"
  1561. schema:
  1562. type: string
  1563. hidden: true
  1564. show_if: [["hostPathEnabled", "=", false]]
  1565. default: "mnemonic.txt"
  1566. editable: false
  1567. - variable: readOnly
  1568. label: "Mode"
  1569. description: "Mnemonic file mode"
  1570. schema:
  1571. type: boolean
  1572. hidden: true
  1573. editable: false
  1574. default: true
  1575. - variable: hostPathEnabled
  1576. label: "Enable Custom Host Path for Mnemonic Volume"
  1577. schema:
  1578. type: boolean
  1579. default: false
  1580. show_subquestions_if: true
  1581. subquestions:
  1582. - variable: hostPath
  1583. label: "Host Path for Mnemonic Volume"
  1584. schema:
  1585. type: hostpath
  1586. required: true
  1587. - variable: environmentVariables
  1588. label: "Environment Variables"
  1589. schema:
  1590. type: list
  1591. default: []
  1592. items:
  1593. - variable: environmentVariable
  1594. label: "Environment Variable"
  1595. schema:
  1596. type: dict
  1597. attrs:
  1598. - variable: name
  1599. label: "Name"
  1600. schema:
  1601. type: string
  1602. - variable: value
  1603. label: "Value"
  1604. schema:
  1605. type: string
  1606. # Shibgreen Configurations
  1607. - variable: shibgreenEnabled
  1608. label: "Enable Shibgreen"
  1609. group: "Configure Coins"
  1610. schema:
  1611. type: boolean
  1612. default: false
  1613. show_subquestions_if: true
  1614. subquestions:
  1615. - variable: shibgreen
  1616. label: "Configure Shibgreen"
  1617. schema:
  1618. type: dict
  1619. additional_attrs: true
  1620. attrs:
  1621. - variable: volumeMounts
  1622. label: "Storage Configurations"
  1623. schema:
  1624. type: dict
  1625. attrs:
  1626. - variable: config
  1627. label: "Configuration Volume"
  1628. schema:
  1629. type: dict
  1630. attrs:
  1631. - variable: datasetName
  1632. label: "Configuration Volume Dataset Name"
  1633. schema:
  1634. type: string
  1635. hidden: true
  1636. $ref:
  1637. - "normalize/ixVolume"
  1638. show_if: [["hostPathEnabled", "=", false]]
  1639. default: "shibgreen-config"
  1640. editable: false
  1641. - variable: mountPath
  1642. label: "Configuration Mount Path"
  1643. description: "Path where the volume will be mounted inside the pod"
  1644. schema:
  1645. type: path
  1646. hidden: true
  1647. editable: false
  1648. default: "/root/.chia"
  1649. - variable: hostPathEnabled
  1650. label: "Enable Custom Host Path for Configuration Volume"
  1651. schema:
  1652. type: boolean
  1653. default: false
  1654. show_subquestions_if: true
  1655. subquestions:
  1656. - variable: hostPath
  1657. label: "Host Path for Configuration Volume"
  1658. schema:
  1659. type: hostpath
  1660. required: true
  1661. - variable: mnemonic
  1662. label: "Mnemonic Volume"
  1663. schema:
  1664. type: dict
  1665. attrs:
  1666. - variable: datasetName
  1667. label: "Mnemonic Volume Dataset Name"
  1668. schema:
  1669. type: string
  1670. hidden: true
  1671. $ref:
  1672. - "normalize/ixVolume"
  1673. show_if: [["hostPathEnabled", "=", false]]
  1674. default: "config"
  1675. editable: false
  1676. - variable: mountPath
  1677. label: "Mnemonic Mount Path"
  1678. description: "Path where the volume will be mounted inside the pod"
  1679. schema:
  1680. type: path
  1681. hidden: true
  1682. editable: false
  1683. default: "/root/.chia/mnemonic.txt"
  1684. - variable: subPath
  1685. label: "Subpath in the Dataset"
  1686. schema:
  1687. type: string
  1688. hidden: true
  1689. show_if: [["hostPathEnabled", "=", false]]
  1690. default: "mnemonic.txt"
  1691. editable: false
  1692. - variable: readOnly
  1693. label: "Mode"
  1694. description: "Mnemonic file mode"
  1695. schema:
  1696. type: boolean
  1697. hidden: true
  1698. editable: false
  1699. default: true
  1700. - variable: hostPathEnabled
  1701. label: "Enable Custom Host Path for Mnemonic Volume"
  1702. schema:
  1703. type: boolean
  1704. default: false
  1705. show_subquestions_if: true
  1706. subquestions:
  1707. - variable: hostPath
  1708. label: "Host Path for Mnemonic Volume"
  1709. schema:
  1710. type: hostpath
  1711. required: true
  1712. - variable: environmentVariables
  1713. label: "Environment Variables"
  1714. schema:
  1715. type: list
  1716. default: []
  1717. items:
  1718. - variable: environmentVariable
  1719. label: "Environment Variable"
  1720. schema:
  1721. type: dict
  1722. attrs:
  1723. - variable: name
  1724. label: "Name"
  1725. schema:
  1726. type: string
  1727. - variable: value
  1728. label: "Value"
  1729. schema:
  1730. type: string