questions.yaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  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: datasetName
  116. label: Dataset Name
  117. schema:
  118. type: string
  119. show_if: [["type", "=", "ixVolume"]]
  120. required: true
  121. hidden: true
  122. immutable: true
  123. default: gpg
  124. $ref:
  125. - "normalize/ixVolume"
  126. - variable: hostPath
  127. label: Host Path
  128. schema:
  129. type: hostpath
  130. show_if: [["type", "=", "hostPath"]]
  131. immutable: true
  132. required: true
  133. - variable: jwt
  134. label: Passbolt JWT Storage
  135. description: The path to store Passbolt JWT.
  136. schema:
  137. type: dict
  138. attrs:
  139. - variable: type
  140. label: Type
  141. description: |
  142. ixVolume: Is dataset created automatically by the system.</br>
  143. Host Path: Is a path that already exists on the system.
  144. schema:
  145. type: string
  146. required: true
  147. immutable: true
  148. default: ixVolume
  149. enum:
  150. - value: hostPath
  151. description: Host Path (Path that already exists on the system)
  152. - value: ixVolume
  153. description: ixVolume (Dataset created automatically by the system)
  154. - variable: datasetName
  155. label: Dataset Name
  156. schema:
  157. type: string
  158. show_if: [["type", "=", "ixVolume"]]
  159. required: true
  160. hidden: true
  161. immutable: true
  162. default: jwt
  163. $ref:
  164. - "normalize/ixVolume"
  165. - variable: hostPath
  166. label: Host Path
  167. schema:
  168. type: hostpath
  169. show_if: [["type", "=", "hostPath"]]
  170. immutable: true
  171. required: true
  172. - variable: mariadbData
  173. label: Passbolt MariaDB Data Storage
  174. description: The path to store Passbolt MariaDB Data.
  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: datasetName
  194. label: Dataset Name
  195. schema:
  196. type: string
  197. show_if: [["type", "=", "ixVolume"]]
  198. required: true
  199. hidden: true
  200. immutable: true
  201. default: mariadbData
  202. $ref:
  203. - "normalize/ixVolume"
  204. - variable: hostPath
  205. label: Host Path
  206. schema:
  207. type: hostpath
  208. show_if: [["type", "=", "hostPath"]]
  209. immutable: true
  210. required: true
  211. - variable: mariadbBackup
  212. label: Passbolt MariaDB Backup Storage
  213. description: The path to store Passbolt MariaDB Backup.
  214. schema:
  215. type: dict
  216. attrs:
  217. - variable: type
  218. label: Type
  219. description: |
  220. ixVolume: Is dataset created automatically by the system.</br>
  221. Host Path: Is a path that already exists on the system.
  222. schema:
  223. type: string
  224. required: true
  225. immutable: true
  226. default: ixVolume
  227. enum:
  228. - value: hostPath
  229. description: Host Path (Path that already exists on the system)
  230. - value: ixVolume
  231. description: ixVolume (Dataset created automatically by the system)
  232. - variable: datasetName
  233. label: Dataset Name
  234. schema:
  235. type: string
  236. show_if: [["type", "=", "ixVolume"]]
  237. required: true
  238. hidden: true
  239. immutable: true
  240. default: mariadbBackup
  241. $ref:
  242. - "normalize/ixVolume"
  243. - variable: hostPath
  244. label: Host Path
  245. schema:
  246. type: hostpath
  247. show_if: [["type", "=", "hostPath"]]
  248. immutable: true
  249. required: true
  250. - variable: additionalStorages
  251. label: Additional Storage
  252. description: Additional storage for Passbolt.
  253. schema:
  254. type: list
  255. default: []
  256. items:
  257. - variable: storageEntry
  258. label: Storage Entry
  259. schema:
  260. type: dict
  261. attrs:
  262. - variable: type
  263. label: Type
  264. description: |
  265. ixVolume: Is dataset created automatically by the system.</br>
  266. Host Path: Is a path that already exists on the system.</br>
  267. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  268. schema:
  269. type: string
  270. required: true
  271. default: "ixVolume"
  272. immutable: true
  273. enum:
  274. - value: "hostPath"
  275. description: Host Path (Path that already exists on the system)
  276. - value: "ixVolume"
  277. description: ixVolume (Dataset created automatically by the system)
  278. - value: "smb-pv-pvc"
  279. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  280. - variable: mountPath
  281. label: Mount Path
  282. description: The path inside the container to mount the storage.
  283. schema:
  284. type: path
  285. required: true
  286. - variable: hostPath
  287. label: Host Path
  288. description: The host path to use for storage.
  289. schema:
  290. type: hostpath
  291. show_if: [["type", "=", "hostPath"]]
  292. required: true
  293. - variable: datasetName
  294. label: Dataset Name
  295. description: The name of the dataset to use for storage.
  296. schema:
  297. type: string
  298. show_if: [["type", "=", "ixVolume"]]
  299. required: true
  300. immutable: true
  301. default: "storage_entry"
  302. $ref:
  303. - "normalize/ixVolume"
  304. - variable: server
  305. label: Server
  306. description: The server for the SMB share.
  307. schema:
  308. type: string
  309. show_if: [["type", "=", "smb-pv-pvc"]]
  310. required: true
  311. - variable: share
  312. label: Share
  313. description: The share name for the SMB share.
  314. schema:
  315. type: string
  316. show_if: [["type", "=", "smb-pv-pvc"]]
  317. required: true
  318. - variable: domain
  319. label: Domain (Optional)
  320. description: The domain for the SMB share.
  321. schema:
  322. type: string
  323. show_if: [["type", "=", "smb-pv-pvc"]]
  324. - variable: username
  325. label: Username
  326. description: The username for the SMB share.
  327. schema:
  328. type: string
  329. show_if: [["type", "=", "smb-pv-pvc"]]
  330. required: true
  331. - variable: password
  332. label: Password
  333. description: The password for the SMB share.
  334. schema:
  335. type: string
  336. show_if: [["type", "=", "smb-pv-pvc"]]
  337. required: true
  338. private: true
  339. - variable: size
  340. label: Size (in Gi)
  341. description: The size of the volume quota.
  342. schema:
  343. type: int
  344. show_if: [["type", "=", "smb-pv-pvc"]]
  345. required: true
  346. min: 1
  347. default: 1
  348. - variable: resources
  349. label: ""
  350. group: Resources Configuration
  351. schema:
  352. type: dict
  353. attrs:
  354. - variable: limits
  355. label: Limits
  356. schema:
  357. type: dict
  358. attrs:
  359. - variable: cpu
  360. label: CPU
  361. description: CPU limit for Passbolt.
  362. schema:
  363. type: string
  364. max_length: 6
  365. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  366. valid_chars_error: |
  367. Valid CPU limit formats are</br>
  368. - Plain Integer - eg. 1</br>
  369. - Float - eg. 0.5</br>
  370. - Milicpu - eg. 500m
  371. default: "4000m"
  372. required: true
  373. - variable: memory
  374. label: Memory
  375. description: Memory limit for Passbolt.
  376. schema:
  377. type: string
  378. max_length: 12
  379. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  380. valid_chars_error: |
  381. Valid Memory limit formats are</br>
  382. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  383. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  384. - Plain Integer in bytes - eg. 1024</br>
  385. - Exponent - eg. 134e6
  386. default: "8Gi"
  387. required: true