questions.yaml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  1. groups:
  2. - name: Vikunja Configuration
  3. description: Configure Vikunja
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Vikunja
  6. - name: Network Configuration
  7. description: Configure Network for Vikunja
  8. - name: Storage Configuration
  9. description: Configure Storage for Vikunja
  10. - name: Resources Configuration
  11. description: Configure Resources for Vikunja
  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. questions:
  22. - variable: TZ
  23. group: Vikunja Configuration
  24. label: Timezone
  25. schema:
  26. type: string
  27. default: Etc/UTC
  28. required: true
  29. $ref:
  30. - definitions/timezone
  31. - variable: vikunjaConfig
  32. label: ""
  33. group: Vikunja Configuration
  34. schema:
  35. type: dict
  36. attrs:
  37. - variable: url
  38. label: URL
  39. description: |
  40. The URL that Vikunja will be accessible from.</br>
  41. Example: </br>
  42. http://server.ip:30080</br>
  43. https://Vikunja.example.com
  44. schema:
  45. type: uri
  46. default: ""
  47. required: true
  48. - variable: maxFileSize
  49. label: Max File Size (in MB)
  50. description: The maximum file size for attachments in MB.
  51. schema:
  52. type: int
  53. default: 20
  54. required: true
  55. min: 1
  56. - variable: additionalEnvs
  57. label: Additional Environment Variables
  58. description: Configure additional environment variables for Vikunja.
  59. schema:
  60. type: list
  61. default: []
  62. items:
  63. - variable: env
  64. label: Environment Variable
  65. schema:
  66. type: dict
  67. attrs:
  68. - variable: name
  69. label: Name
  70. schema:
  71. type: string
  72. required: true
  73. - variable: value
  74. label: Value
  75. schema:
  76. type: string
  77. required: true
  78. - variable: vikunjaRunAs
  79. label: ""
  80. group: User and Group Configuration
  81. schema:
  82. type: dict
  83. attrs:
  84. - variable: user
  85. label: User ID
  86. description: The user id that Vikunja will run as.
  87. schema:
  88. type: int
  89. min: 2
  90. default: 568
  91. required: true
  92. - variable: group
  93. label: Group ID
  94. description: The group id that Vikunja will run as.
  95. schema:
  96. type: int
  97. min: 2
  98. default: 568
  99. required: true
  100. - variable: vikunjaNetwork
  101. label: ""
  102. group: Network Configuration
  103. schema:
  104. type: dict
  105. attrs:
  106. - variable: webPort
  107. label: Web Port
  108. description: The port for the Vikunja Web UI.
  109. schema:
  110. type: int
  111. default: 31002
  112. min: 9000
  113. max: 65535
  114. required: true
  115. - variable: hostNetwork
  116. label: Host Network
  117. description: |
  118. Bind to the host network. It's recommended to keep this disabled.</br>
  119. schema:
  120. type: boolean
  121. default: false
  122. - variable: vikunjaStorage
  123. label: ""
  124. group: Storage Configuration
  125. schema:
  126. type: dict
  127. attrs:
  128. - variable: data
  129. label: Vikunja Data Storage
  130. description: The path to store Vikunja Data.
  131. schema:
  132. type: dict
  133. attrs:
  134. - variable: type
  135. label: Type
  136. description: |
  137. ixVolume: Is dataset created automatically by the system.</br>
  138. Host Path: Is a path that already exists on the system.
  139. schema:
  140. type: string
  141. required: true
  142. immutable: true
  143. default: "ixVolume"
  144. enum:
  145. - value: "hostPath"
  146. description: Host Path (Path that already exists on the system)
  147. - value: "ixVolume"
  148. description: ixVolume (Dataset created automatically by the system)
  149. - variable: ixVolumeConfig
  150. label: ixVolume Configuration
  151. description: The configuration for the ixVolume dataset.
  152. schema:
  153. type: dict
  154. show_if: [["type", "=", "ixVolume"]]
  155. $ref:
  156. - "normalize/ixVolume"
  157. attrs:
  158. - variable: aclEnable
  159. label: Enable ACL
  160. description: Enable ACL for the dataset.
  161. schema:
  162. type: boolean
  163. default: false
  164. - variable: datasetName
  165. label: Dataset Name
  166. description: The name of the dataset to use for storage.
  167. schema:
  168. type: string
  169. required: true
  170. immutable: true
  171. hidden: true
  172. default: "config"
  173. - variable: aclEntries
  174. label: ACL Configuration
  175. schema:
  176. type: dict
  177. show_if: [["aclEnable", "=", true]]
  178. attrs: []
  179. - variable: hostPathConfig
  180. label: hostPathConfig
  181. schema:
  182. type: dict
  183. show_if: [["type", "=", "hostPath"]]
  184. attrs:
  185. - variable: aclEnable
  186. label: Enable ACL
  187. description: Enable ACL for the dataset.
  188. schema:
  189. type: boolean
  190. default: false
  191. - variable: acl
  192. label: ACL Configuration
  193. schema:
  194. type: dict
  195. show_if: [["aclEnable", "=", true]]
  196. attrs: []
  197. $ref:
  198. - "normalize/acl"
  199. - variable: hostPath
  200. label: Host Path
  201. description: The host path to use for storage.
  202. schema:
  203. type: hostpath
  204. show_if: [["aclEnable", "=", false]]
  205. required: true
  206. - variable: pgData
  207. label: Postgres Data Storage
  208. description: The path to store Postgres Data.
  209. schema:
  210. type: dict
  211. attrs:
  212. - variable: type
  213. label: Type
  214. description: |
  215. ixVolume: Is dataset created automatically by the system.</br>
  216. Host Path: Is a path that already exists on the system.
  217. schema:
  218. type: string
  219. required: true
  220. immutable: true
  221. default: "ixVolume"
  222. enum:
  223. - value: "hostPath"
  224. description: Host Path (Path that already exists on the system)
  225. - value: "ixVolume"
  226. description: ixVolume (Dataset created automatically by the system)
  227. - variable: ixVolumeConfig
  228. label: ixVolume Configuration
  229. description: The configuration for the ixVolume dataset.
  230. schema:
  231. type: dict
  232. show_if: [["type", "=", "ixVolume"]]
  233. $ref:
  234. - "normalize/ixVolume"
  235. attrs:
  236. - variable: aclEnable
  237. label: Enable ACL
  238. description: Enable ACL for the dataset.
  239. schema:
  240. type: boolean
  241. hidden: true
  242. default: false
  243. - variable: datasetName
  244. label: Dataset Name
  245. description: The name of the dataset to use for storage.
  246. schema:
  247. type: string
  248. required: true
  249. immutable: true
  250. hidden: true
  251. default: "pgData"
  252. - variable: aclEntries
  253. label: ACL Configuration
  254. schema:
  255. type: dict
  256. show_if: [["aclEnable", "=", true]]
  257. attrs: []
  258. - variable: hostPathConfig
  259. label: hostPathConfig
  260. schema:
  261. type: dict
  262. show_if: [["type", "=", "hostPath"]]
  263. attrs:
  264. - variable: aclEnable
  265. label: Enable ACL
  266. description: Enable ACL for the dataset.
  267. schema:
  268. type: boolean
  269. default: false
  270. - variable: acl
  271. label: ACL Configuration
  272. schema:
  273. type: dict
  274. hidden: true
  275. show_if: [["aclEnable", "=", true]]
  276. attrs: []
  277. $ref:
  278. - "normalize/acl"
  279. - variable: hostPath
  280. label: Host Path
  281. description: The host path to use for storage.
  282. schema:
  283. type: hostpath
  284. show_if: [["aclEnable", "=", false]]
  285. required: true
  286. - variable: pgBackup
  287. label: Postgres Backup Storage
  288. description: The path to store Postgres Backup.
  289. schema:
  290. type: dict
  291. attrs:
  292. - variable: type
  293. label: Type
  294. description: |
  295. ixVolume: Is dataset created automatically by the system.</br>
  296. Host Path: Is a path that already exists on the system.
  297. schema:
  298. type: string
  299. required: true
  300. immutable: true
  301. default: "ixVolume"
  302. enum:
  303. - value: "hostPath"
  304. description: Host Path (Path that already exists on the system)
  305. - value: "ixVolume"
  306. description: ixVolume (Dataset created automatically by the system)
  307. - variable: ixVolumeConfig
  308. label: ixVolume Configuration
  309. description: The configuration for the ixVolume dataset.
  310. schema:
  311. type: dict
  312. show_if: [["type", "=", "ixVolume"]]
  313. $ref:
  314. - "normalize/ixVolume"
  315. attrs:
  316. - variable: aclEnable
  317. label: Enable ACL
  318. description: Enable ACL for the dataset.
  319. schema:
  320. type: boolean
  321. hidden: true
  322. default: false
  323. - variable: datasetName
  324. label: Dataset Name
  325. description: The name of the dataset to use for storage.
  326. schema:
  327. type: string
  328. required: true
  329. immutable: true
  330. hidden: true
  331. default: "pgBackup"
  332. - variable: aclEntries
  333. label: ACL Configuration
  334. schema:
  335. type: dict
  336. show_if: [["aclEnable", "=", true]]
  337. attrs: []
  338. - variable: hostPathConfig
  339. label: hostPathConfig
  340. schema:
  341. type: dict
  342. show_if: [["type", "=", "hostPath"]]
  343. attrs:
  344. - variable: aclEnable
  345. label: Enable ACL
  346. description: Enable ACL for the dataset.
  347. schema:
  348. type: boolean
  349. default: false
  350. - variable: acl
  351. label: ACL Configuration
  352. schema:
  353. type: dict
  354. hidden: true
  355. show_if: [["aclEnable", "=", true]]
  356. attrs: []
  357. $ref:
  358. - "normalize/acl"
  359. - variable: hostPath
  360. label: Host Path
  361. description: The host path to use for storage.
  362. schema:
  363. type: hostpath
  364. show_if: [["aclEnable", "=", false]]
  365. required: true
  366. - variable: additionalStorages
  367. label: Additional Storage
  368. description: Additional storage for Vikunja.
  369. schema:
  370. type: list
  371. default: []
  372. items:
  373. - variable: storageEntry
  374. label: Storage Entry
  375. schema:
  376. type: dict
  377. attrs:
  378. - variable: type
  379. label: Type
  380. description: |
  381. ixVolume: Is dataset created automatically by the system.</br>
  382. Host Path: Is a path that already exists on the system.</br>
  383. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  384. schema:
  385. type: string
  386. required: true
  387. default: "ixVolume"
  388. immutable: true
  389. enum:
  390. - value: "hostPath"
  391. description: Host Path (Path that already exists on the system)
  392. - value: "ixVolume"
  393. description: ixVolume (Dataset created automatically by the system)
  394. - value: "smb-pv-pvc"
  395. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  396. - variable: readOnly
  397. label: Read Only
  398. description: Mount the volume as read only.
  399. schema:
  400. type: boolean
  401. default: false
  402. - variable: mountPath
  403. label: Mount Path
  404. description: The path inside the container to mount the storage.
  405. schema:
  406. type: path
  407. required: true
  408. - variable: hostPathConfig
  409. label: hostPathConfig
  410. schema:
  411. type: dict
  412. show_if: [["type", "=", "hostPath"]]
  413. attrs:
  414. - variable: aclEnable
  415. label: Enable ACL
  416. description: Enable ACL for the dataset.
  417. schema:
  418. type: boolean
  419. default: false
  420. - variable: acl
  421. label: ACL Configuration
  422. schema:
  423. type: dict
  424. show_if: [["aclEnable", "=", true]]
  425. attrs: []
  426. $ref:
  427. - "normalize/acl"
  428. - variable: hostPath
  429. label: Host Path
  430. description: The host path to use for storage.
  431. schema:
  432. type: hostpath
  433. show_if: [["aclEnable", "=", false]]
  434. required: true
  435. - variable: ixVolumeConfig
  436. label: ixVolume Configuration
  437. description: The configuration for the ixVolume dataset.
  438. schema:
  439. type: dict
  440. show_if: [["type", "=", "ixVolume"]]
  441. $ref:
  442. - "normalize/ixVolume"
  443. attrs:
  444. - variable: aclEnable
  445. label: Enable ACL
  446. description: Enable ACL for the dataset.
  447. schema:
  448. type: boolean
  449. default: false
  450. - variable: datasetName
  451. label: Dataset Name
  452. description: The name of the dataset to use for storage.
  453. schema:
  454. type: string
  455. required: true
  456. immutable: true
  457. default: "storage_entry"
  458. - variable: aclEntries
  459. label: ACL Configuration
  460. schema:
  461. type: dict
  462. show_if: [["aclEnable", "=", true]]
  463. attrs: []
  464. - variable: smbConfig
  465. label: SMB Share Configuration
  466. description: The configuration for the SMB Share.
  467. schema:
  468. type: dict
  469. show_if: [["type", "=", "smb-pv-pvc"]]
  470. attrs:
  471. - variable: server
  472. label: Server
  473. description: The server for the SMB share.
  474. schema:
  475. type: string
  476. required: true
  477. - variable: share
  478. label: Share
  479. description: The share name for the SMB share.
  480. schema:
  481. type: string
  482. required: true
  483. - variable: domain
  484. label: Domain (Optional)
  485. description: The domain for the SMB share.
  486. schema:
  487. type: string
  488. - variable: username
  489. label: Username
  490. description: The username for the SMB share.
  491. schema:
  492. type: string
  493. required: true
  494. - variable: password
  495. label: Password
  496. description: The password for the SMB share.
  497. schema:
  498. type: string
  499. required: true
  500. private: true
  501. - variable: size
  502. label: Size (in Gi)
  503. description: The size of the volume quota.
  504. schema:
  505. type: int
  506. required: true
  507. min: 1
  508. default: 1
  509. - variable: resources
  510. group: Resources Configuration
  511. label: ""
  512. schema:
  513. type: dict
  514. attrs:
  515. - variable: limits
  516. label: Limits
  517. schema:
  518. type: dict
  519. attrs:
  520. - variable: cpu
  521. label: CPU
  522. description: CPU limit for Vikunja.
  523. schema:
  524. type: string
  525. max_length: 6
  526. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  527. valid_chars_error: |
  528. Valid CPU limit formats are</br>
  529. - Plain Integer - eg. 1</br>
  530. - Float - eg. 0.5</br>
  531. - Milicpu - eg. 500m
  532. default: "4000m"
  533. required: true
  534. - variable: memory
  535. label: Memory
  536. description: Memory limit for Vikunja.
  537. schema:
  538. type: string
  539. max_length: 12
  540. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  541. valid_chars_error: |
  542. Valid Memory limit formats are</br>
  543. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  544. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  545. - Plain Integer in bytes - eg. 1024</br>
  546. - Exponent - eg. 134e6
  547. default: "8Gi"
  548. required: true