questions.yaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585
  1. groups:
  2. - name: Diskover Data Configuration
  3. description: Configure Diskover Data
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Diskover Data
  6. - name: Advanced Pod Configuration
  7. description: Configure Advanced Pod Options for Diskover Data
  8. - name: Network Configuration
  9. description: Configure Network for Diskover Data
  10. - name: Storage Configuration
  11. description: Configure Storage for Diskover Data
  12. - name: Resources Configuration
  13. description: Configure Resources for Diskover Data
  14. portals:
  15. web_portal:
  16. protocols:
  17. - "$kubernetes-resource_configmap_portal_protocol"
  18. host:
  19. - "$kubernetes-resource_configmap_portal_host"
  20. ports:
  21. - "$kubernetes-resource_configmap_portal_port"
  22. path: "$kubernetes-resource_configmap_portal_path"
  23. questions:
  24. - variable: TZ
  25. group: Diskover Data Configuration
  26. label: Timezone
  27. schema:
  28. type: string
  29. default: Etc/UTC
  30. required: true
  31. $ref:
  32. - definitions/timezone
  33. - variable: discoverConfig
  34. label: ""
  35. group: Diskover Data Configuration
  36. schema:
  37. type: dict
  38. attrs:
  39. - variable: cronSchedule
  40. label: Cron Schedule
  41. description: The cron schedule for Diskover Data.
  42. schema:
  43. type: string
  44. default: "0 3 * * *"
  45. - variable: username
  46. label: Username
  47. description: The username for Diskover Data.
  48. schema:
  49. type: string
  50. default: ""
  51. required: true
  52. - variable: password
  53. label: Password
  54. description: The password for Diskover Data.
  55. schema:
  56. type: string
  57. default: ""
  58. required: true
  59. private: true
  60. - variable: additionalEnvs
  61. label: Additional Environment Variables
  62. description: Additional environment variables for Diskover Data.
  63. schema:
  64. type: list
  65. items:
  66. - variable: env
  67. label: Environment Variable
  68. schema:
  69. type: dict
  70. attrs:
  71. - variable: name
  72. label: Name
  73. schema:
  74. type: string
  75. required: true
  76. - variable: value
  77. label: Value
  78. schema:
  79. type: string
  80. required: true
  81. - variable: podOptions
  82. label: ""
  83. group: Advanced Pod Configuration
  84. schema:
  85. type: dict
  86. attrs:
  87. - variable: dnsConfig
  88. label: Advanced DNS Configuration
  89. schema:
  90. type: dict
  91. attrs:
  92. - variable: options
  93. label: DNS Options
  94. schema:
  95. type: list
  96. items:
  97. - variable: optionsEntry
  98. label: DNS Option Entry
  99. schema:
  100. type: dict
  101. attrs:
  102. - variable: name
  103. label: Option Name
  104. schema:
  105. type: string
  106. required: true
  107. - variable: value
  108. label: Option Value
  109. schema:
  110. type: string
  111. required: true
  112. - variable: diskoverID
  113. label: ""
  114. group: User and Group Configuration
  115. schema:
  116. type: dict
  117. attrs:
  118. - variable: user
  119. label: User ID
  120. description: The user id that Diskover Data files will be owned by.
  121. schema:
  122. type: int
  123. min: 568
  124. default: 568
  125. required: true
  126. - variable: group
  127. label: Group ID
  128. description: The group id that Diskover Data files will be owned by.
  129. schema:
  130. type: int
  131. min: 568
  132. default: 568
  133. required: true
  134. - variable: discoverNetwork
  135. label: ""
  136. group: Network Configuration
  137. schema:
  138. type: dict
  139. attrs:
  140. - variable: webPort
  141. label: Web Port
  142. description: The port for the Diskover Data Web UI.
  143. schema:
  144. type: int
  145. default: 22510
  146. min: 9000
  147. max: 65535
  148. required: true
  149. - variable: discoverStorage
  150. label: ""
  151. group: Storage Configuration
  152. schema:
  153. type: dict
  154. attrs:
  155. - variable: config
  156. label: Diskover Data Config Storage
  157. description: The path to store Diskover Data Configuration.
  158. schema:
  159. type: dict
  160. attrs:
  161. - variable: type
  162. label: Type
  163. description: |
  164. ixVolume: Is dataset created automatically by the system.</br>
  165. Host Path: Is a path that already exists on the system.
  166. schema:
  167. type: string
  168. required: true
  169. immutable: true
  170. default: "ixVolume"
  171. enum:
  172. - value: "hostPath"
  173. description: Host Path (Path that already exists on the system)
  174. - value: "ixVolume"
  175. description: ixVolume (Dataset created automatically by the system)
  176. - variable: ixVolumeConfig
  177. label: ixVolume Configuration
  178. description: The configuration for the ixVolume dataset.
  179. schema:
  180. type: dict
  181. show_if: [["type", "=", "ixVolume"]]
  182. $ref:
  183. - "normalize/ixVolume"
  184. attrs:
  185. - variable: aclEnable
  186. label: Enable ACL
  187. description: Enable ACL for the dataset.
  188. schema:
  189. type: boolean
  190. default: false
  191. - variable: datasetName
  192. label: Dataset Name
  193. description: The name of the dataset to use for storage.
  194. schema:
  195. type: string
  196. required: true
  197. immutable: true
  198. hidden: true
  199. default: "config"
  200. - variable: aclEntries
  201. label: ACL Configuration
  202. schema:
  203. type: dict
  204. show_if: [["aclEnable", "=", true]]
  205. attrs: []
  206. - variable: hostPathConfig
  207. label: Host Path Configuration
  208. schema:
  209. type: dict
  210. show_if: [["type", "=", "hostPath"]]
  211. attrs:
  212. - variable: aclEnable
  213. label: Enable ACL
  214. description: Enable ACL for the dataset.
  215. schema:
  216. type: boolean
  217. default: false
  218. - variable: acl
  219. label: ACL Configuration
  220. schema:
  221. type: dict
  222. show_if: [["aclEnable", "=", true]]
  223. attrs: []
  224. $ref:
  225. - "normalize/acl"
  226. - variable: hostPath
  227. label: Host Path
  228. description: The host path to use for storage.
  229. schema:
  230. type: hostpath
  231. show_if: [["aclEnable", "=", false]]
  232. required: true
  233. - variable: data
  234. label: Diskover Data Data Storage
  235. description: The path to store Diskover Data Data.
  236. schema:
  237. type: dict
  238. attrs:
  239. - variable: type
  240. label: Type
  241. description: |
  242. ixVolume: Is dataset created automatically by the system.</br>
  243. Host Path: Is a path that already exists on the system.
  244. schema:
  245. type: string
  246. required: true
  247. immutable: true
  248. default: "ixVolume"
  249. enum:
  250. - value: "hostPath"
  251. description: Host Path (Path that already exists on the system)
  252. - value: "ixVolume"
  253. description: ixVolume (Dataset created automatically by the system)
  254. - variable: ixVolumeConfig
  255. label: ixVolume Configuration
  256. description: The configuration for the ixVolume dataset.
  257. schema:
  258. type: dict
  259. show_if: [["type", "=", "ixVolume"]]
  260. $ref:
  261. - "normalize/ixVolume"
  262. attrs:
  263. - variable: aclEnable
  264. label: Enable ACL
  265. description: Enable ACL for the dataset.
  266. schema:
  267. type: boolean
  268. default: false
  269. - variable: datasetName
  270. label: Dataset Name
  271. description: The name of the dataset to use for storage.
  272. schema:
  273. type: string
  274. required: true
  275. immutable: true
  276. hidden: true
  277. default: "data"
  278. - variable: aclEntries
  279. label: ACL Configuration
  280. schema:
  281. type: dict
  282. show_if: [["aclEnable", "=", true]]
  283. attrs: []
  284. - variable: hostPathConfig
  285. label: Host Path Configuration
  286. schema:
  287. type: dict
  288. show_if: [["type", "=", "hostPath"]]
  289. attrs:
  290. - variable: aclEnable
  291. label: Enable ACL
  292. description: Enable ACL for the dataset.
  293. schema:
  294. type: boolean
  295. default: false
  296. - variable: acl
  297. label: ACL Configuration
  298. schema:
  299. type: dict
  300. show_if: [["aclEnable", "=", true]]
  301. attrs: []
  302. $ref:
  303. - "normalize/acl"
  304. - variable: hostPath
  305. label: Host Path
  306. description: The host path to use for storage.
  307. schema:
  308. type: hostpath
  309. show_if: [["aclEnable", "=", false]]
  310. required: true
  311. - variable: esdata
  312. label: Elastic Search Data Storage
  313. description: The path to store Elastic Search Data.
  314. schema:
  315. type: dict
  316. attrs:
  317. - variable: type
  318. label: Type
  319. description: |
  320. ixVolume: Is dataset created automatically by the system.</br>
  321. Host Path: Is a path that already exists on the system.
  322. schema:
  323. type: string
  324. required: true
  325. immutable: true
  326. default: "ixVolume"
  327. enum:
  328. - value: "hostPath"
  329. description: Host Path (Path that already exists on the system)
  330. - value: "ixVolume"
  331. description: ixVolume (Dataset created automatically by the system)
  332. - variable: ixVolumeConfig
  333. label: ixVolume Configuration
  334. description: The configuration for the ixVolume dataset.
  335. schema:
  336. type: dict
  337. show_if: [["type", "=", "ixVolume"]]
  338. $ref:
  339. - "normalize/ixVolume"
  340. attrs:
  341. - variable: aclEnable
  342. label: Enable ACL
  343. description: Enable ACL for the dataset.
  344. schema:
  345. type: boolean
  346. default: false
  347. - variable: datasetName
  348. label: Dataset Name
  349. description: The name of the dataset to use for storage.
  350. schema:
  351. type: string
  352. required: true
  353. immutable: true
  354. hidden: true
  355. default: "esdata"
  356. - variable: aclEntries
  357. label: ACL Configuration
  358. schema:
  359. type: dict
  360. show_if: [["aclEnable", "=", true]]
  361. attrs: []
  362. - variable: hostPathConfig
  363. label: Host Path Configuration
  364. schema:
  365. type: dict
  366. show_if: [["type", "=", "hostPath"]]
  367. attrs:
  368. - variable: aclEnable
  369. label: Enable ACL
  370. description: Enable ACL for the dataset.
  371. schema:
  372. type: boolean
  373. default: false
  374. - variable: acl
  375. label: ACL Configuration
  376. schema:
  377. type: dict
  378. show_if: [["aclEnable", "=", true]]
  379. attrs: []
  380. $ref:
  381. - "normalize/acl"
  382. - variable: hostPath
  383. label: Host Path
  384. description: The host path to use for storage.
  385. schema:
  386. type: hostpath
  387. show_if: [["aclEnable", "=", false]]
  388. required: true
  389. - variable: additionalStorages
  390. label: Additional Storage
  391. description: Additional storage for Diskover Data.
  392. schema:
  393. type: list
  394. default: []
  395. items:
  396. - variable: storageEntry
  397. label: Storage Entry
  398. schema:
  399. type: dict
  400. attrs:
  401. - variable: type
  402. label: Type
  403. description: |
  404. ixVolume: Is dataset created automatically by the system.</br>
  405. Host Path: Is a path that already exists on the system.</br>
  406. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  407. schema:
  408. type: string
  409. required: true
  410. default: "ixVolume"
  411. immutable: true
  412. enum:
  413. - value: "hostPath"
  414. description: Host Path (Path that already exists on the system)
  415. - value: "ixVolume"
  416. description: ixVolume (Dataset created automatically by the system)
  417. - value: "smb-pv-pvc"
  418. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  419. - variable: diskoverDataIndex
  420. label: Enable Diskover Data Indexing
  421. description: Enable Diskover Data Indexing
  422. schema:
  423. type: boolean
  424. - variable: readOnly
  425. label: Read Only
  426. description: Mount the volume as read only.
  427. schema:
  428. type: boolean
  429. default: false
  430. - variable: mountPath
  431. label: Mount Path
  432. description: The path inside the container to mount the storage.
  433. schema:
  434. type: path
  435. required: true
  436. - variable: hostPathConfig
  437. label: Host Path Configuration
  438. schema:
  439. type: dict
  440. show_if: [["type", "=", "hostPath"]]
  441. attrs:
  442. - variable: aclEnable
  443. label: Enable ACL
  444. description: Enable ACL for the dataset.
  445. schema:
  446. type: boolean
  447. default: false
  448. - variable: acl
  449. label: ACL Configuration
  450. schema:
  451. type: dict
  452. show_if: [["aclEnable", "=", true]]
  453. attrs: []
  454. $ref:
  455. - "normalize/acl"
  456. - variable: hostPath
  457. label: Host Path
  458. description: The host path to use for storage.
  459. schema:
  460. type: hostpath
  461. show_if: [["aclEnable", "=", false]]
  462. required: true
  463. - variable: ixVolumeConfig
  464. label: ixVolume Configuration
  465. description: The configuration for the ixVolume dataset.
  466. schema:
  467. type: dict
  468. show_if: [["type", "=", "ixVolume"]]
  469. $ref:
  470. - "normalize/ixVolume"
  471. attrs:
  472. - variable: aclEnable
  473. label: Enable ACL
  474. description: Enable ACL for the dataset.
  475. schema:
  476. type: boolean
  477. default: false
  478. - variable: datasetName
  479. label: Dataset Name
  480. description: The name of the dataset to use for storage.
  481. schema:
  482. type: string
  483. required: true
  484. immutable: true
  485. default: "storage_entry"
  486. - variable: aclEntries
  487. label: ACL Configuration
  488. schema:
  489. type: dict
  490. show_if: [["aclEnable", "=", true]]
  491. attrs: []
  492. - variable: smbConfig
  493. label: SMB Share Configuration
  494. description: The configuration for the SMB Share.
  495. schema:
  496. type: dict
  497. show_if: [["type", "=", "smb-pv-pvc"]]
  498. attrs:
  499. - variable: server
  500. label: Server
  501. description: The server for the SMB share.
  502. schema:
  503. type: string
  504. required: true
  505. - variable: share
  506. label: Share
  507. description: The share name for the SMB share.
  508. schema:
  509. type: string
  510. required: true
  511. - variable: domain
  512. label: Domain (Optional)
  513. description: The domain for the SMB share.
  514. schema:
  515. type: string
  516. - variable: username
  517. label: Username
  518. description: The username for the SMB share.
  519. schema:
  520. type: string
  521. required: true
  522. - variable: password
  523. label: Password
  524. description: The password for the SMB share.
  525. schema:
  526. type: string
  527. required: true
  528. private: true
  529. - variable: size
  530. label: Size (in Gi)
  531. description: The size of the volume quota.
  532. schema:
  533. type: int
  534. required: true
  535. min: 1
  536. default: 1
  537. - variable: resources
  538. group: Resources Configuration
  539. label: ""
  540. schema:
  541. type: dict
  542. attrs:
  543. - variable: limits
  544. label: Limits
  545. schema:
  546. type: dict
  547. attrs:
  548. - variable: cpu
  549. label: CPU
  550. description: CPU limit for WG-Easy.
  551. schema:
  552. type: string
  553. max_length: 6
  554. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  555. valid_chars_error: |
  556. Valid CPU limit formats are</br>
  557. - Plain Integer - eg. 1</br>
  558. - Float - eg. 0.5</br>
  559. - Milicpu - eg. 500m
  560. default: "4000m"
  561. required: true
  562. - variable: memory
  563. label: Memory
  564. description: Memory limit for WG-Easy.
  565. schema:
  566. type: string
  567. max_length: 12
  568. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  569. valid_chars_error: |
  570. Valid Memory limit formats are</br>
  571. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  572. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  573. - Plain Integer in bytes - eg. 1024</br>
  574. - Exponent - eg. 134e6
  575. default: "8Gi"
  576. required: true