questions.yaml 14 KB

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