questions.yaml 73 KB

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