questions.yaml 24 KB

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