questions.yaml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625
  1. groups:
  2. - name: Asigra DS-System Configuration
  3. description: Configure Asigra DS-System
  4. - name: Network Configuration
  5. description: Configure Network for Asigra DS-System
  6. - name: Storage Configuration
  7. description: Configure Storage for Asigra DS-System
  8. - name: Resources Configuration
  9. description: Configure Resources for Asigra DS-System
  10. questions:
  11. - variable: TZ
  12. group: Asigra DS-System Configuration
  13. label: Timezone
  14. schema:
  15. type: string
  16. default: Etc/UTC
  17. required: true
  18. $ref:
  19. - definitions/timezone
  20. - variable: asigra
  21. label: ""
  22. group: Asigra DS-System Configuration
  23. schema:
  24. type: dict
  25. attrs:
  26. - variable: db_password
  27. label: Database Password
  28. description: The password for Asigra DS-System.
  29. schema:
  30. type: string
  31. default: ""
  32. required: true
  33. private: true
  34. - variable: admin_password
  35. label: Root Password
  36. description: The root password.
  37. schema:
  38. type: string
  39. default: ""
  40. required: true
  41. private: true
  42. - variable: operator_password
  43. label: Operator Password
  44. description: The password for the DS-Operator Interface.
  45. schema:
  46. type: string
  47. default: ""
  48. required: true
  49. private: true
  50. - variable: language
  51. label: Language
  52. description: The language for the DS-Operator.
  53. schema:
  54. type: string
  55. default: "en"
  56. required: true
  57. - variable: enable_cluster
  58. label: Enable Cluster
  59. description: Enable clustering for Asigra DS-System.
  60. schema:
  61. type: boolean
  62. default: true
  63. - variable: cluster_size
  64. label: Cluster Size
  65. description: The number of nodes in the cluster.
  66. schema:
  67. show_if: [["enable_cluster", "=", true]]
  68. type: int
  69. default: 5
  70. min: 3
  71. max: 16
  72. required: true
  73. - variable: additional_envs
  74. label: Additional Environment Variables
  75. schema:
  76. type: list
  77. default: []
  78. items:
  79. - variable: env
  80. label: Environment Variable
  81. schema:
  82. type: dict
  83. attrs:
  84. - variable: name
  85. label: Name
  86. schema:
  87. type: string
  88. required: true
  89. - variable: value
  90. label: Value
  91. schema:
  92. type: string
  93. - variable: network
  94. label: ""
  95. group: Network Configuration
  96. schema:
  97. type: dict
  98. attrs:
  99. - variable: client_port
  100. label: DS-Client Port
  101. description: The port on which the DS-Client is exposed.
  102. schema:
  103. type: dict
  104. attrs:
  105. - variable: bind_mode
  106. label: Port Bind Mode
  107. description: |
  108. The port bind mode.</br>
  109. - Publish: The port will be published on the host for external access.</br>
  110. - Expose: The port will be exposed for inter-container communication.</br>
  111. - None: The port will not be exposed or published.</br>
  112. Note: If the Dockerfile defines an EXPOSE directive,
  113. the port will still be exposed for inter-container communication regardless of this setting.
  114. schema:
  115. type: string
  116. default: "published"
  117. enum:
  118. - value: "published"
  119. description: Publish port on the host for external access
  120. - value: "exposed"
  121. description: Expose port for inter-container communication
  122. - value: ""
  123. description: None
  124. - variable: port_number
  125. label: Port Number
  126. schema:
  127. type: int
  128. show_if: [["bind_mode", "=", "published"]]
  129. default: 4401
  130. min: 1
  131. max: 65535
  132. required: true
  133. - variable: host_ips
  134. label: Host IPs
  135. description: IPs on the host to bind this port
  136. schema:
  137. type: list
  138. show_if: [["bind_mode", "=", "published"]]
  139. default: []
  140. items:
  141. - variable: host_ip
  142. label: Host IP
  143. schema:
  144. type: string
  145. required: true
  146. $ref:
  147. - definitions/node_bind_ip
  148. - variable: admin_port
  149. label: DS-Operator Admin Port
  150. description: The port on which the DS-Operator admin interface is exposed.
  151. schema:
  152. type: dict
  153. attrs:
  154. - variable: bind_mode
  155. label: Port Bind Mode
  156. description: |
  157. The port bind mode.</br>
  158. - Publish: The port will be published on the host for external access.</br>
  159. - Expose: The port will be exposed for inter-container communication.</br>
  160. - None: The port will not be exposed or published.</br>
  161. Note: If the Dockerfile defines an EXPOSE directive,
  162. the port will still be exposed for inter-container communication regardless of this setting.
  163. schema:
  164. type: string
  165. default: "published"
  166. enum:
  167. - value: "published"
  168. description: Publish port on the host for external access
  169. - value: "exposed"
  170. description: Expose port for inter-container communication
  171. - value: ""
  172. description: None
  173. - variable: port_number
  174. label: Port Number
  175. schema:
  176. type: int
  177. show_if: [["bind_mode", "=", "published"]]
  178. default: 4404
  179. min: 1
  180. max: 65535
  181. required: true
  182. - variable: host_ips
  183. label: Host IPs
  184. description: IPs on the host to bind this port
  185. schema:
  186. type: list
  187. show_if: [["bind_mode", "=", "published"]]
  188. default: []
  189. items:
  190. - variable: host_ip
  191. label: Host IP
  192. schema:
  193. type: string
  194. required: true
  195. $ref:
  196. - definitions/node_bind_ip
  197. - variable: replication_port
  198. label: DS-System Replication Port
  199. description: The port on which the DS-System replication interface is exposed.
  200. schema:
  201. type: dict
  202. attrs:
  203. - variable: bind_mode
  204. label: Port Bind Mode
  205. description: |
  206. The port bind mode.</br>
  207. - Publish: The port will be published on the host for external access.</br>
  208. - Expose: The port will be exposed for inter-container communication.</br>
  209. - None: The port will not be exposed or published.</br>
  210. Note: If the Dockerfile defines an EXPOSE directive,
  211. the port will still be exposed for inter-container communication regardless of this setting.
  212. schema:
  213. type: string
  214. default: "published"
  215. enum:
  216. - value: "published"
  217. description: Publish port on the host for external access
  218. - value: "exposed"
  219. description: Expose port for inter-container communication
  220. - value: ""
  221. description: None
  222. - variable: port_number
  223. label: Port Number
  224. schema:
  225. type: int
  226. show_if: [["bind_mode", "=", "published"]]
  227. default: 4409
  228. min: 1
  229. max: 65535
  230. required: true
  231. - variable: host_ips
  232. label: Host IPs
  233. description: IPs on the host to bind this port
  234. schema:
  235. type: list
  236. show_if: [["bind_mode", "=", "published"]]
  237. default: []
  238. items:
  239. - variable: host_ip
  240. label: Host IP
  241. schema:
  242. type: string
  243. required: true
  244. $ref:
  245. - definitions/node_bind_ip
  246. - variable: billing_port
  247. label: DS-System Billing Port
  248. description: The port on which the DS-System billing interface is exposed.
  249. schema:
  250. type: dict
  251. attrs:
  252. - variable: bind_mode
  253. label: Port Bind Mode
  254. description: |
  255. The port bind mode.</br>
  256. - Publish: The port will be published on the host for external access.</br>
  257. - Expose: The port will be exposed for inter-container communication.</br>
  258. - None: The port will not be exposed or published.</br>
  259. Note: If the Dockerfile defines an EXPOSE directive,
  260. the port will still be exposed for inter-container communication regardless of this setting.
  261. schema:
  262. type: string
  263. default: "published"
  264. enum:
  265. - value: "published"
  266. description: Publish port on the host for external access
  267. - value: "exposed"
  268. description: Expose port for inter-container communication
  269. - value: ""
  270. description: None
  271. - variable: port_number
  272. label: Port Number
  273. schema:
  274. type: int
  275. default: 4415
  276. show_if: [["bind_mode", "=", "published"]]
  277. min: 1
  278. max: 65535
  279. required: true
  280. - variable: host_ips
  281. label: Host IPs
  282. description: IPs on the host to bind this port
  283. schema:
  284. type: list
  285. show_if: [["bind_mode", "=", "published"]]
  286. default: []
  287. items:
  288. - variable: host_ip
  289. label: Host IP
  290. schema:
  291. type: string
  292. required: true
  293. $ref:
  294. - definitions/node_bind_ip
  295. - variable: storage
  296. label: ""
  297. group: Storage Configuration
  298. schema:
  299. type: dict
  300. attrs:
  301. - variable: data
  302. label: Asigra DS-System Data Storage
  303. description: The path to store Asigra DS-System Data.
  304. schema:
  305. type: dict
  306. attrs:
  307. - variable: type
  308. label: Type
  309. description: |
  310. ixVolume: Is dataset created automatically by the system.</br>
  311. Host Path: Is a path that already exists on the system.
  312. schema:
  313. type: string
  314. required: true
  315. default: "ix_volume"
  316. enum:
  317. - value: "host_path"
  318. description: Host Path (Path that already exists on the system)
  319. - value: "ix_volume"
  320. description: ixVolume (Dataset created automatically by the system)
  321. - variable: ix_volume_config
  322. label: ixVolume Configuration
  323. description: The configuration for the ixVolume dataset.
  324. schema:
  325. type: dict
  326. show_if: [["type", "=", "ix_volume"]]
  327. $ref:
  328. - "normalize/ix_volume"
  329. attrs:
  330. - variable: acl_enable
  331. label: Enable ACL
  332. description: Enable ACL for the storage.
  333. schema:
  334. type: boolean
  335. default: false
  336. - variable: dataset_name
  337. label: Dataset Name
  338. description: The name of the dataset to use for storage.
  339. schema:
  340. type: string
  341. required: true
  342. hidden: true
  343. default: "data"
  344. - variable: acl_entries
  345. label: ACL Configuration
  346. schema:
  347. type: dict
  348. show_if: [["acl_enable", "=", true]]
  349. attrs: []
  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: postgres_data
  378. label: Asigra DS-System Postgres Data Storage
  379. description: The path to store Asigra DS-System Postgres Data.
  380. schema:
  381. type: dict
  382. attrs:
  383. - variable: type
  384. label: Type
  385. description: |
  386. ixVolume: Is dataset created automatically by the system.</br>
  387. Host Path: Is a path that already exists on the system.
  388. schema:
  389. type: string
  390. required: true
  391. default: "ix_volume"
  392. enum:
  393. - value: "host_path"
  394. description: Host Path (Path that already exists on the system)
  395. - value: "ix_volume"
  396. description: ixVolume (Dataset created automatically by the system)
  397. - variable: ix_volume_config
  398. label: ixVolume Configuration
  399. description: The configuration for the ixVolume dataset.
  400. schema:
  401. type: dict
  402. show_if: [["type", "=", "ix_volume"]]
  403. $ref:
  404. - "normalize/ix_volume"
  405. attrs:
  406. - variable: acl_enable
  407. label: Enable ACL
  408. description: Enable ACL for the storage.
  409. schema:
  410. type: boolean
  411. default: false
  412. - variable: dataset_name
  413. label: Dataset Name
  414. description: The name of the dataset to use for storage.
  415. schema:
  416. type: string
  417. required: true
  418. hidden: true
  419. default: "postgres_data"
  420. - variable: acl_entries
  421. label: ACL Configuration
  422. schema:
  423. type: dict
  424. show_if: [["acl_enable", "=", true]]
  425. attrs: []
  426. - variable: host_path_config
  427. label: Host Path Configuration
  428. schema:
  429. type: dict
  430. show_if: [["type", "=", "host_path"]]
  431. attrs:
  432. - variable: acl_enable
  433. label: Enable ACL
  434. description: Enable ACL for the storage.
  435. schema:
  436. type: boolean
  437. default: false
  438. - variable: acl
  439. label: ACL Configuration
  440. schema:
  441. type: dict
  442. show_if: [["acl_enable", "=", true]]
  443. attrs: []
  444. $ref:
  445. - "normalize/acl"
  446. - variable: path
  447. label: Host Path
  448. description: The host path to use for storage.
  449. schema:
  450. type: hostpath
  451. show_if: [["acl_enable", "=", false]]
  452. required: true
  453. - variable: auto_permissions
  454. label: Automatic Permissions
  455. description: |
  456. Automatically set permissions for the host path.
  457. Enabling this, will check the top level directory,</br>
  458. If it finds incorrect permissions, it will `chown` the
  459. host path to the user and group required for the
  460. postgres container.
  461. schema:
  462. type: boolean
  463. default: false
  464. show_if: [["acl_enable", "=", false]]
  465. - variable: additional_storage
  466. label: Additional Storage
  467. schema:
  468. type: list
  469. default: []
  470. items:
  471. - variable: storageEntry
  472. label: Storage Entry
  473. schema:
  474. type: dict
  475. attrs:
  476. - variable: type
  477. label: Type
  478. description: |
  479. ixVolume: Is dataset created automatically by the system.</br>
  480. Host Path: Is a path that already exists on the system.</br>
  481. SMB Share: Is a SMB share that is mounted to as a volume.
  482. schema:
  483. type: string
  484. required: true
  485. default: "ix_volume"
  486. enum:
  487. - value: "host_path"
  488. description: Host Path (Path that already exists on the system)
  489. - value: "ix_volume"
  490. description: ixVolume (Dataset created automatically by the system)
  491. - value: "cifs"
  492. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  493. - variable: read_only
  494. label: Read Only
  495. description: Mount the volume as read only.
  496. schema:
  497. type: boolean
  498. default: false
  499. - variable: mount_path
  500. label: Mount Path
  501. description: The path inside the container to mount the storage.
  502. schema:
  503. type: path
  504. required: true
  505. - variable: host_path_config
  506. label: Host Path Configuration
  507. schema:
  508. type: dict
  509. show_if: [["type", "=", "host_path"]]
  510. attrs:
  511. - variable: acl_enable
  512. label: Enable ACL
  513. description: Enable ACL for the storage.
  514. schema:
  515. type: boolean
  516. default: false
  517. - variable: acl
  518. label: ACL Configuration
  519. schema:
  520. type: dict
  521. show_if: [["acl_enable", "=", true]]
  522. attrs: []
  523. $ref:
  524. - "normalize/acl"
  525. - variable: path
  526. label: Host Path
  527. description: The host path to use for storage.
  528. schema:
  529. type: hostpath
  530. show_if: [["acl_enable", "=", false]]
  531. required: true
  532. - variable: ix_volume_config
  533. label: ixVolume Configuration
  534. description: The configuration for the ixVolume dataset.
  535. schema:
  536. type: dict
  537. show_if: [["type", "=", "ix_volume"]]
  538. $ref:
  539. - "normalize/ix_volume"
  540. attrs:
  541. - variable: acl_enable
  542. label: Enable ACL
  543. description: Enable ACL for the storage.
  544. schema:
  545. type: boolean
  546. default: false
  547. - variable: dataset_name
  548. label: Dataset Name
  549. description: The name of the dataset to use for storage.
  550. schema:
  551. type: string
  552. required: true
  553. default: "storage_entry"
  554. - variable: acl_entries
  555. label: ACL Configuration
  556. schema:
  557. type: dict
  558. show_if: [["acl_enable", "=", true]]
  559. attrs: []
  560. $ref:
  561. - "normalize/acl"
  562. - variable: cifs_config
  563. label: SMB Configuration
  564. description: The configuration for the SMB dataset.
  565. schema:
  566. type: dict
  567. show_if: [["type", "=", "cifs"]]
  568. attrs:
  569. - variable: server
  570. label: Server
  571. description: The server to mount the SMB share.
  572. schema:
  573. type: string
  574. required: true
  575. - variable: path
  576. label: Path
  577. description: The path to mount the SMB share.
  578. schema:
  579. type: string
  580. required: true
  581. - variable: username
  582. label: Username
  583. description: The username to use for the SMB share.
  584. schema:
  585. type: string
  586. required: true
  587. - variable: password
  588. label: Password
  589. description: The password to use for the SMB share.
  590. schema:
  591. type: string
  592. required: true
  593. private: true
  594. - variable: domain
  595. label: Domain
  596. description: The domain to use for the SMB share.
  597. schema:
  598. type: string
  599. - variable: resources
  600. label: ""
  601. group: Resources Configuration
  602. schema:
  603. type: dict
  604. attrs:
  605. - variable: limits
  606. label: Limits
  607. schema:
  608. type: dict
  609. attrs:
  610. - variable: cpus
  611. label: CPUs
  612. description: CPUs limit for Asigra DS-System.
  613. schema:
  614. type: int
  615. default: 2
  616. required: true
  617. - variable: memory
  618. label: Memory (in MB)
  619. description: Memory limit for Asigra DS-System.
  620. schema:
  621. type: int
  622. default: 4096
  623. required: true