questions.yaml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. groups:
  2. - name: Vaultwarden Configuration
  3. description: Configure Vaultwarden
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Vaultwarden
  6. - name: Network Configuration
  7. description: Configure Network for Vaultwarden
  8. - name: Storage Configuration
  9. description: Configure Storage for Vaultwarden
  10. - name: Resources Configuration
  11. description: Configure Resources for Vaultwarden
  12. portals:
  13. web_portal:
  14. protocols:
  15. - "$kubernetes-resource_configmap_portal_protocol"
  16. host:
  17. - "$kubernetes-resource_configmap_portal_host"
  18. ports:
  19. - "$kubernetes-resource_configmap_portal_port"
  20. path: "$kubernetes-resource_configmap_portal_path"
  21. admin_portal:
  22. protocols:
  23. - "$kubernetes-resource_configmap_portal_protocol"
  24. host:
  25. - "$kubernetes-resource_configmap_portal_host"
  26. ports:
  27. - "$kubernetes-resource_configmap_portal_port"
  28. path: "$kubernetes-resource_configmap_portal_admin_path"
  29. questions:
  30. - variable: vaultwardenConfig
  31. label: ""
  32. group: Vaultwarden Configuration
  33. schema:
  34. type: dict
  35. attrs:
  36. - variable: adminToken
  37. label: Admin Token
  38. description: Setting this, will enable the admin portal
  39. schema:
  40. type: string
  41. private: true
  42. default: ""
  43. - variable: additionalEnvs
  44. label: Additional Environment Variables
  45. description: Configure additional environment variables for Vaultwarden.
  46. schema:
  47. type: list
  48. default: []
  49. items:
  50. - variable: env
  51. label: Environment Variable
  52. schema:
  53. type: dict
  54. attrs:
  55. - variable: name
  56. label: Name
  57. schema:
  58. type: string
  59. required: true
  60. - variable: value
  61. label: Value
  62. schema:
  63. type: string
  64. required: true
  65. - variable: vaultwardenRunAs
  66. label: ""
  67. group: User and Group Configuration
  68. schema:
  69. type: dict
  70. attrs:
  71. - variable: user
  72. label: User ID
  73. description: The user id that Vaultwarden will run as.
  74. schema:
  75. type: int
  76. min: 568
  77. default: 568
  78. required: true
  79. - variable: group
  80. label: Group ID
  81. description: The group id that Vaultwarden will run as.
  82. schema:
  83. type: int
  84. min: 568
  85. default: 568
  86. required: true
  87. - variable: vaultwardenNetwork
  88. label: ""
  89. group: Network Configuration
  90. schema:
  91. type: dict
  92. attrs:
  93. - variable: webPort
  94. label: Web Port
  95. description: The port for the Vaultwarden Web UI.
  96. schema:
  97. type: int
  98. default: 30000
  99. min: 9000
  100. max: 65535
  101. required: true
  102. - variable: wsEnabled
  103. label: Enable Websocket
  104. schema:
  105. type: boolean
  106. default: true
  107. - variable: wsPort
  108. label: Websocket Port
  109. description: The port for the Vaultwarden Websocket.
  110. schema:
  111. type: int
  112. show_if: [["wsEnabled", "=", true]]
  113. default: 30001
  114. min: 9000
  115. max: 65535
  116. required: true
  117. - variable: hostNetwork
  118. label: Host Network
  119. description: |
  120. Bind to the host network. It's recommended to keep this disabled.</br>
  121. schema:
  122. type: boolean
  123. default: false
  124. - variable: domain
  125. label: Domain
  126. description: |
  127. The domain to use for Vaultwarden </br>
  128. Format is: https://sub.domain.tld:port
  129. schema:
  130. type: string
  131. default: ""
  132. - variable: certificateID
  133. label: Certificate
  134. description: |
  135. The certificate to use for Vaultwarden </br>
  136. Using the Rocket method for TLS setup is NOT recommended </br>
  137. Prefer a reverse proxy with a valid certificate </br>
  138. schema:
  139. type: int
  140. "null": true
  141. $ref:
  142. - "definitions/certificate"
  143. - variable: vaultwardenStorage
  144. label: ""
  145. group: Storage Configuration
  146. schema:
  147. type: dict
  148. attrs:
  149. - variable: data
  150. label: Vaultwarden Data Storage
  151. description: The path to store Vaultwarden attachments, icons, etc.
  152. schema:
  153. type: dict
  154. attrs:
  155. - variable: type
  156. label: Type
  157. description: |
  158. ixVolume: Is dataset created automatically by the system.</br>
  159. Host Path: Is a path that already exists on the system.
  160. schema:
  161. type: string
  162. required: true
  163. default: ixVolume
  164. enum:
  165. - value: hostPath
  166. description: Host Path (Path that already exists on the system)
  167. - value: ixVolume
  168. description: ixVolume (Dataset created automatically by the system)
  169. - variable: datasetName
  170. label: Dataset Name
  171. schema:
  172. type: string
  173. show_if: [["type", "=", "ixVolume"]]
  174. required: true
  175. hidden: true
  176. immutable: true
  177. default: data
  178. $ref:
  179. - "normalize/ixVolume"
  180. - variable: hostPath
  181. label: Host Path
  182. schema:
  183. type: hostpath
  184. show_if: [["type", "=", "hostPath"]]
  185. immutable: true
  186. required: true
  187. - variable: pgData
  188. label: Vaultwarden Postgres Data Storage
  189. description: The path to store Vaultwarden Postgres Data.
  190. schema:
  191. type: dict
  192. attrs:
  193. - variable: type
  194. label: Type
  195. description: |
  196. ixVolume: Is dataset created automatically by the system.</br>
  197. Host Path: Is a path that already exists on the system.
  198. schema:
  199. type: string
  200. required: true
  201. default: ixVolume
  202. enum:
  203. - value: hostPath
  204. description: Host Path (Path that already exists on the system)
  205. - value: ixVolume
  206. description: ixVolume (Dataset created automatically by the system)
  207. - variable: datasetName
  208. label: Dataset Name
  209. schema:
  210. type: string
  211. show_if: [["type", "=", "ixVolume"]]
  212. required: true
  213. hidden: true
  214. immutable: true
  215. default: pgData
  216. $ref:
  217. - "normalize/ixVolume"
  218. - variable: hostPath
  219. label: Host Path
  220. schema:
  221. type: hostpath
  222. show_if: [["type", "=", "hostPath"]]
  223. immutable: true
  224. required: true
  225. - variable: pgBackup
  226. label: Vaultwarden Postgres Backup Storage
  227. description: The path to store Vaultwarden Postgres Backup.
  228. schema:
  229. type: dict
  230. attrs:
  231. - variable: type
  232. label: Type
  233. description: |
  234. ixVolume: Is dataset created automatically by the system.</br>
  235. Host Path: Is a path that already exists on the system.
  236. schema:
  237. type: string
  238. required: true
  239. default: ixVolume
  240. enum:
  241. - value: hostPath
  242. description: Host Path (Path that already exists on the system)
  243. - value: ixVolume
  244. description: ixVolume (Dataset created automatically by the system)
  245. - variable: datasetName
  246. label: Dataset Name
  247. schema:
  248. type: string
  249. show_if: [["type", "=", "ixVolume"]]
  250. required: true
  251. hidden: true
  252. immutable: true
  253. default: pgBackup
  254. $ref:
  255. - "normalize/ixVolume"
  256. - variable: hostPath
  257. label: Host Path
  258. schema:
  259. type: hostpath
  260. show_if: [["type", "=", "hostPath"]]
  261. immutable: true
  262. required: true
  263. - variable: resources
  264. label: ""
  265. group: Resources Configuration
  266. schema:
  267. type: dict
  268. attrs:
  269. - variable: limits
  270. label: Limits
  271. schema:
  272. type: dict
  273. attrs:
  274. - variable: cpu
  275. label: CPU
  276. description: CPU limit for Vaultwarden.
  277. schema:
  278. type: string
  279. default: 4000m
  280. required: true
  281. - variable: memory
  282. label: Memory
  283. description: Memory limit for Vaultwarden.
  284. schema:
  285. type: string
  286. default: 8Gi
  287. required: true