questions.yaml 20 KB

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