questions.yaml 8.7 KB

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