questions.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  1. groups:
  2. - name: Heimdall Configuration
  3. description: Configure Heimdall
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Heimdall
  6. - name: Network Configuration
  7. description: Configure Network for Heimdall
  8. - name: Storage Configuration
  9. description: Configure Storage for Heimdall
  10. - name: Labels Configuration
  11. description: Configure Labels for Heimdall
  12. - name: Resources Configuration
  13. description: Configure Resources for Heimdall
  14. questions:
  15. - variable: TZ
  16. group: Heimdall Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: heimdall
  25. label: ""
  26. group: Heimdall Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: additional_envs
  31. label: Additional Environment Variables
  32. schema:
  33. type: list
  34. default: []
  35. items:
  36. - variable: env
  37. label: Environment Variable
  38. schema:
  39. type: dict
  40. attrs:
  41. - variable: name
  42. label: Name
  43. schema:
  44. type: string
  45. required: true
  46. - variable: value
  47. label: Value
  48. schema:
  49. type: string
  50. - variable: run_as
  51. label: ""
  52. group: User and Group Configuration
  53. schema:
  54. type: dict
  55. attrs:
  56. - variable: user
  57. label: User ID
  58. description: The user id that Heimdall files will be owned by.
  59. schema:
  60. type: int
  61. min: 568
  62. default: 568
  63. required: true
  64. - variable: group
  65. label: Group ID
  66. description: The group id that Heimdall files will be owned by.
  67. schema:
  68. type: int
  69. min: 568
  70. default: 568
  71. required: true
  72. - variable: network
  73. label: ""
  74. group: Network Configuration
  75. schema:
  76. type: dict
  77. attrs:
  78. - variable: http_port
  79. label: HTTP Port
  80. schema:
  81. type: dict
  82. attrs:
  83. - variable: bind_mode
  84. label: Port Bind Mode
  85. description: |
  86. The port bind mode.</br>
  87. - Publish: The port will be published on the host for external access.</br>
  88. - Expose: The port will be exposed for inter-container communication.</br>
  89. - None: The port will not be exposed or published.</br>
  90. Note: If the Dockerfile defines an EXPOSE directive,
  91. the port will still be exposed for inter-container communication regardless of this setting.
  92. schema:
  93. type: string
  94. default: "published"
  95. enum:
  96. - value: "published"
  97. description: Publish port on the host for external access
  98. - value: "exposed"
  99. description: Expose port for inter-container communication
  100. - value: ""
  101. description: None
  102. - variable: port_number
  103. label: Port Number
  104. schema:
  105. type: int
  106. show_if: [["bind_mode", "=", "published"]]
  107. default: 30119
  108. min: 1
  109. max: 65535
  110. required: true
  111. - variable: host_ips
  112. label: Host IPs
  113. description: IPs on the host to bind this port
  114. schema:
  115. type: list
  116. show_if: [["bind_mode", "=", "published"]]
  117. default: []
  118. items:
  119. - variable: host_ip
  120. label: Host IP
  121. schema:
  122. type: string
  123. required: true
  124. $ref:
  125. - definitions/node_bind_ip
  126. - variable: https_port
  127. label: HTTPS Port
  128. schema:
  129. type: dict
  130. attrs:
  131. - variable: bind_mode
  132. label: Port Bind Mode
  133. description: |
  134. The port bind mode.</br>
  135. - Publish: The port will be published on the host for external access.</br>
  136. - Expose: The port will be exposed for inter-container communication.</br>
  137. - None: The port will not be exposed or published.</br>
  138. Note: If the Dockerfile defines an EXPOSE directive,
  139. the port will still be exposed for inter-container communication regardless of this setting.
  140. schema:
  141. type: string
  142. default: "published"
  143. enum:
  144. - value: "published"
  145. description: Publish port on the host for external access
  146. - value: "exposed"
  147. description: Expose port for inter-container communication
  148. - value: ""
  149. description: None
  150. - variable: port_number
  151. label: Port Number
  152. schema:
  153. type: int
  154. show_if: [["bind_mode", "=", "published"]]
  155. default: 30120
  156. min: 1
  157. max: 65535
  158. required: true
  159. - variable: host_ips
  160. label: Host IPs
  161. description: IPs on the host to bind this port
  162. schema:
  163. type: list
  164. show_if: [["bind_mode", "=", "published"]]
  165. default: []
  166. items:
  167. - variable: host_ip
  168. label: Host IP
  169. schema:
  170. type: string
  171. required: true
  172. $ref:
  173. - definitions/node_bind_ip
  174. - variable: host_network
  175. label: Host Network
  176. description: |
  177. Bind to the host network. It's recommended to keep this disabled.
  178. schema:
  179. type: boolean
  180. default: false
  181. - variable: storage
  182. label: ""
  183. group: Storage Configuration
  184. schema:
  185. type: dict
  186. attrs:
  187. - variable: config
  188. label: Heimdall Config Storage
  189. description: The path to store Heimdall Config.
  190. schema:
  191. type: dict
  192. attrs:
  193. - variable: type
  194. label: Type
  195. description: |
  196. ixVolume: Is dataset created automatically by the system.</br>
  197. Host Path: Is a path that already exists on the system.
  198. schema:
  199. type: string
  200. required: true
  201. default: "ix_volume"
  202. enum:
  203. - value: "host_path"
  204. description: Host Path (Path that already exists on the system)
  205. - value: "ix_volume"
  206. description: ixVolume (Dataset created automatically by the system)
  207. - variable: ix_volume_config
  208. label: ixVolume Configuration
  209. description: The configuration for the ixVolume dataset.
  210. schema:
  211. type: dict
  212. show_if: [["type", "=", "ix_volume"]]
  213. $ref:
  214. - "normalize/ix_volume"
  215. attrs:
  216. - variable: acl_enable
  217. label: Enable ACL
  218. description: Enable ACL for the storage.
  219. schema:
  220. type: boolean
  221. default: false
  222. - variable: dataset_name
  223. label: Dataset Name
  224. description: The name of the dataset to use for storage.
  225. schema:
  226. type: string
  227. required: true
  228. hidden: true
  229. default: "config"
  230. - variable: acl_entries
  231. label: ACL Configuration
  232. schema:
  233. type: dict
  234. show_if: [["acl_enable", "=", true]]
  235. attrs: []
  236. - variable: host_path_config
  237. label: Host Path Configuration
  238. schema:
  239. type: dict
  240. show_if: [["type", "=", "host_path"]]
  241. attrs:
  242. - variable: acl_enable
  243. label: Enable ACL
  244. description: Enable ACL for the storage.
  245. schema:
  246. type: boolean
  247. default: false
  248. - variable: acl
  249. label: ACL Configuration
  250. schema:
  251. type: dict
  252. show_if: [["acl_enable", "=", true]]
  253. attrs: []
  254. $ref:
  255. - "normalize/acl"
  256. - variable: path
  257. label: Host Path
  258. description: The host path to use for storage.
  259. schema:
  260. type: hostpath
  261. show_if: [["acl_enable", "=", false]]
  262. required: true
  263. - variable: additional_storage
  264. label: Additional Storage
  265. schema:
  266. type: list
  267. default: []
  268. items:
  269. - variable: storageEntry
  270. label: Storage Entry
  271. schema:
  272. type: dict
  273. attrs:
  274. - variable: type
  275. label: Type
  276. description: |
  277. ixVolume: Is dataset created automatically by the system.</br>
  278. Host Path: Is a path that already exists on the system.</br>
  279. SMB Share: Is a SMB share that is mounted to as a volume.
  280. schema:
  281. type: string
  282. required: true
  283. default: "ix_volume"
  284. enum:
  285. - value: "host_path"
  286. description: Host Path (Path that already exists on the system)
  287. - value: "ix_volume"
  288. description: ixVolume (Dataset created automatically by the system)
  289. - value: "cifs"
  290. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  291. - variable: read_only
  292. label: Read Only
  293. description: Mount the volume as read only.
  294. schema:
  295. type: boolean
  296. default: false
  297. - variable: mount_path
  298. label: Mount Path
  299. description: The path inside the container to mount the storage.
  300. schema:
  301. type: path
  302. required: true
  303. - variable: host_path_config
  304. label: Host Path Configuration
  305. schema:
  306. type: dict
  307. show_if: [["type", "=", "host_path"]]
  308. attrs:
  309. - variable: acl_enable
  310. label: Enable ACL
  311. description: Enable ACL for the storage.
  312. schema:
  313. type: boolean
  314. default: false
  315. - variable: acl
  316. label: ACL Configuration
  317. schema:
  318. type: dict
  319. show_if: [["acl_enable", "=", true]]
  320. attrs: []
  321. $ref:
  322. - "normalize/acl"
  323. - variable: path
  324. label: Host Path
  325. description: The host path to use for storage.
  326. schema:
  327. type: hostpath
  328. show_if: [["acl_enable", "=", false]]
  329. required: true
  330. - variable: ix_volume_config
  331. label: ixVolume Configuration
  332. description: The configuration for the ixVolume dataset.
  333. schema:
  334. type: dict
  335. show_if: [["type", "=", "ix_volume"]]
  336. $ref:
  337. - "normalize/ix_volume"
  338. attrs:
  339. - variable: acl_enable
  340. label: Enable ACL
  341. description: Enable ACL for the storage.
  342. schema:
  343. type: boolean
  344. default: false
  345. - variable: dataset_name
  346. label: Dataset Name
  347. description: The name of the dataset to use for storage.
  348. schema:
  349. type: string
  350. required: true
  351. default: "storage_entry"
  352. - variable: acl_entries
  353. label: ACL Configuration
  354. schema:
  355. type: dict
  356. show_if: [["acl_enable", "=", true]]
  357. attrs: []
  358. - variable: cifs_config
  359. label: SMB Configuration
  360. description: The configuration for the SMB dataset.
  361. schema:
  362. type: dict
  363. show_if: [["type", "=", "cifs"]]
  364. attrs:
  365. - variable: server
  366. label: Server
  367. description: The server to mount the SMB share.
  368. schema:
  369. type: string
  370. required: true
  371. - variable: path
  372. label: Path
  373. description: The path to mount the SMB share.
  374. schema:
  375. type: string
  376. required: true
  377. - variable: username
  378. label: Username
  379. description: The username to use for the SMB share.
  380. schema:
  381. type: string
  382. required: true
  383. - variable: password
  384. label: Password
  385. description: The password to use for the SMB share.
  386. schema:
  387. type: string
  388. required: true
  389. private: true
  390. - variable: domain
  391. label: Domain
  392. description: The domain to use for the SMB share.
  393. schema:
  394. type: string
  395. - variable: labels
  396. label: ""
  397. group: Labels Configuration
  398. schema:
  399. type: list
  400. default: []
  401. items:
  402. - variable: label
  403. label: Label
  404. schema:
  405. type: dict
  406. attrs:
  407. - variable: key
  408. label: Key
  409. schema:
  410. type: string
  411. required: true
  412. - variable: value
  413. label: Value
  414. schema:
  415. type: string
  416. required: true
  417. - variable: containers
  418. label: Containers
  419. description: Containers where the label should be applied
  420. schema:
  421. type: list
  422. items:
  423. - variable: container
  424. label: Container
  425. schema:
  426. type: string
  427. required: true
  428. enum:
  429. - value: heimdall
  430. description: heimdall
  431. - variable: resources
  432. label: ""
  433. group: Resources Configuration
  434. schema:
  435. type: dict
  436. attrs:
  437. - variable: limits
  438. label: Limits
  439. schema:
  440. type: dict
  441. attrs:
  442. - variable: cpus
  443. label: CPUs
  444. description: CPUs limit for Heimdall.
  445. schema:
  446. type: int
  447. default: 2
  448. required: true
  449. - variable: memory
  450. label: Memory (in MB)
  451. description: Memory limit for Heimdall.
  452. schema:
  453. type: int
  454. default: 4096
  455. required: true