questions.yaml 19 KB

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