questions.yaml 18 KB

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