questions.yaml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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: 568
  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: 568
  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. description: |
  159. ixVolume: Is dataset created automatically by the system.</br>
  160. Host Path: Is a path that already exists on the system.
  161. schema:
  162. type: string
  163. required: true
  164. default: ixVolume
  165. enum:
  166. - value: hostPath
  167. description: Host Path (Path that already exists on the system)
  168. - value: ixVolume
  169. description: ixVolume (Dataset created automatically by the system)
  170. - variable: datasetName
  171. label: Dataset Name
  172. schema:
  173. type: string
  174. show_if: [["type", "=", "ixVolume"]]
  175. required: true
  176. hidden: true
  177. immutable: true
  178. default: data
  179. $ref:
  180. - "normalize/ixVolume"
  181. - variable: hostPath
  182. label: Host Path
  183. schema:
  184. type: hostpath
  185. show_if: [["type", "=", "hostPath"]]
  186. immutable: true
  187. required: true
  188. - variable: pgData
  189. label: Vaultwarden Postgres Data Storage
  190. description: The path to store Vaultwarden Postgres Data.
  191. schema:
  192. type: dict
  193. attrs:
  194. - variable: type
  195. label: Type
  196. description: |
  197. ixVolume: Is dataset created automatically by the system.</br>
  198. Host Path: Is a path that already exists on the system.
  199. schema:
  200. type: string
  201. required: true
  202. default: ixVolume
  203. enum:
  204. - value: hostPath
  205. description: Host Path (Path that already exists on the system)
  206. - value: ixVolume
  207. description: ixVolume (Dataset created automatically by the system)
  208. - variable: datasetName
  209. label: Dataset Name
  210. schema:
  211. type: string
  212. show_if: [["type", "=", "ixVolume"]]
  213. required: true
  214. hidden: true
  215. immutable: true
  216. default: pgData
  217. $ref:
  218. - "normalize/ixVolume"
  219. - variable: hostPath
  220. label: Host Path
  221. schema:
  222. type: hostpath
  223. show_if: [["type", "=", "hostPath"]]
  224. immutable: true
  225. required: true
  226. - variable: pgBackup
  227. label: Vaultwarden Postgres Backup Storage
  228. description: The path to store Vaultwarden Postgres Backup.
  229. schema:
  230. type: dict
  231. attrs:
  232. - variable: type
  233. label: Type
  234. description: |
  235. ixVolume: Is dataset created automatically by the system.</br>
  236. Host Path: Is a path that already exists on the system.
  237. schema:
  238. type: string
  239. required: true
  240. default: ixVolume
  241. enum:
  242. - value: hostPath
  243. description: Host Path (Path that already exists on the system)
  244. - value: ixVolume
  245. description: ixVolume (Dataset created automatically by the system)
  246. - variable: datasetName
  247. label: Dataset Name
  248. schema:
  249. type: string
  250. show_if: [["type", "=", "ixVolume"]]
  251. required: true
  252. hidden: true
  253. immutable: true
  254. default: pgBackup
  255. $ref:
  256. - "normalize/ixVolume"
  257. - variable: hostPath
  258. label: Host Path
  259. schema:
  260. type: hostpath
  261. show_if: [["type", "=", "hostPath"]]
  262. immutable: true
  263. required: true
  264. - variable: resources
  265. label: ""
  266. group: Resources Configuration
  267. schema:
  268. type: dict
  269. attrs:
  270. - variable: limits
  271. label: Limits
  272. schema:
  273. type: dict
  274. attrs:
  275. - variable: cpu
  276. label: CPU
  277. description: CPU limit for Vaultwarden.
  278. schema:
  279. type: string
  280. default: 4000m
  281. required: true
  282. - variable: memory
  283. label: Memory
  284. description: Memory limit for Vaultwarden.
  285. schema:
  286. type: string
  287. default: 8Gi
  288. required: true