questions.yaml 14 KB

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