questions.yaml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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. default: ixVolume
  109. enum:
  110. - value: hostPath
  111. description: Host Path (Path that already exists on the system)
  112. - value: ixVolume
  113. description: ixVolume (Dataset created automatically by the system)
  114. - variable: datasetName
  115. label: Dataset Name
  116. schema:
  117. type: string
  118. show_if: [["type", "=", "ixVolume"]]
  119. required: true
  120. hidden: true
  121. immutable: true
  122. default: gpg
  123. $ref:
  124. - "normalize/ixVolume"
  125. - variable: hostPath
  126. label: Host Path
  127. schema:
  128. type: hostpath
  129. show_if: [["type", "=", "hostPath"]]
  130. immutable: true
  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. default: ixVolume
  147. enum:
  148. - value: hostPath
  149. description: Host Path (Path that already exists on the system)
  150. - value: ixVolume
  151. description: ixVolume (Dataset created automatically by the system)
  152. - variable: datasetName
  153. label: Dataset Name
  154. schema:
  155. type: string
  156. show_if: [["type", "=", "ixVolume"]]
  157. required: true
  158. hidden: true
  159. immutable: true
  160. default: jwt
  161. $ref:
  162. - "normalize/ixVolume"
  163. - variable: hostPath
  164. label: Host Path
  165. schema:
  166. type: hostpath
  167. show_if: [["type", "=", "hostPath"]]
  168. immutable: true
  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. default: ixVolume
  185. enum:
  186. - value: hostPath
  187. description: Host Path (Path that already exists on the system)
  188. - value: ixVolume
  189. description: ixVolume (Dataset created automatically by the system)
  190. - variable: datasetName
  191. label: Dataset Name
  192. schema:
  193. type: string
  194. show_if: [["type", "=", "ixVolume"]]
  195. required: true
  196. hidden: true
  197. immutable: true
  198. default: mariadbData
  199. $ref:
  200. - "normalize/ixVolume"
  201. - variable: hostPath
  202. label: Host Path
  203. schema:
  204. type: hostpath
  205. show_if: [["type", "=", "hostPath"]]
  206. immutable: true
  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. default: ixVolume
  223. enum:
  224. - value: hostPath
  225. description: Host Path (Path that already exists on the system)
  226. - value: ixVolume
  227. description: ixVolume (Dataset created automatically by the system)
  228. - variable: datasetName
  229. label: Dataset Name
  230. schema:
  231. type: string
  232. show_if: [["type", "=", "ixVolume"]]
  233. required: true
  234. hidden: true
  235. immutable: true
  236. default: mariadbBackup
  237. $ref:
  238. - "normalize/ixVolume"
  239. - variable: hostPath
  240. label: Host Path
  241. schema:
  242. type: hostpath
  243. show_if: [["type", "=", "hostPath"]]
  244. immutable: true
  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.
  263. schema:
  264. type: string
  265. required: true
  266. default: "ixVolume"
  267. enum:
  268. - value: "hostPath"
  269. description: Host Path (Path that already exists on the system)
  270. - value: "ixVolume"
  271. description: ixVolume (Dataset created automatically by the system)
  272. - variable: mountPath
  273. label: Mount Path
  274. description: The path inside the container to mount the storage.
  275. schema:
  276. type: path
  277. required: true
  278. - variable: hostPath
  279. label: Host Path
  280. description: The host path to use for storage.
  281. schema:
  282. type: hostpath
  283. show_if: [["type", "=", "hostPath"]]
  284. required: true
  285. - variable: datasetName
  286. label: Dataset Name
  287. description: The name of the dataset to use for storage.
  288. schema:
  289. type: string
  290. show_if: [["type", "=", "ixVolume"]]
  291. required: true
  292. immutable: true
  293. default: "storage_entry"
  294. $ref:
  295. - "normalize/ixVolume"
  296. - variable: resources
  297. label: ""
  298. group: Resources Configuration
  299. schema:
  300. type: dict
  301. attrs:
  302. - variable: limits
  303. label: Limits
  304. schema:
  305. type: dict
  306. attrs:
  307. - variable: cpu
  308. label: CPU
  309. description: CPU limit for Passbolt.
  310. schema:
  311. type: string
  312. max_length: 6
  313. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  314. valid_chars_error: |
  315. Valid CPU limit formats are</br>
  316. - Plain Integer - eg. 1</br>
  317. - Float - eg. 0.5</br>
  318. - Milicpu - eg. 500m
  319. default: "4000m"
  320. required: true
  321. - variable: memory
  322. label: Memory
  323. description: Memory limit for Passbolt.
  324. schema:
  325. type: string
  326. max_length: 12
  327. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  328. valid_chars_error: |
  329. Valid Memory limit formats are</br>
  330. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  331. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  332. - Plain Integer in bytes - eg. 1024</br>
  333. - Exponent - eg. 134e6
  334. default: "8Gi"
  335. required: true