questions.yaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  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: "data"
  173. - variable: aclEntries
  174. label: ACL Configuration
  175. schema:
  176. type: dict
  177. show_if: [["aclEnable", "=", true]]
  178. attrs: []
  179. - variable: hostPathConfig
  180. label: Host Path Configuration
  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. immutable: true
  206. required: true
  207. - variable: pgData
  208. label: Postgres Data Storage
  209. description: The path to store Postgres Data.
  210. schema:
  211. type: dict
  212. attrs:
  213. - variable: type
  214. label: Type
  215. description: |
  216. ixVolume: Is dataset created automatically by the system.</br>
  217. Host Path: Is a path that already exists on the system.
  218. schema:
  219. type: string
  220. required: true
  221. immutable: 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: ixVolumeConfig
  229. label: ixVolume Configuration
  230. description: The configuration for the ixVolume dataset.
  231. schema:
  232. type: dict
  233. # Nothing to show for the user
  234. hidden: true
  235. show_if: [["type", "=", "ixVolume"]]
  236. $ref:
  237. - "normalize/ixVolume"
  238. attrs:
  239. - variable: aclEnable
  240. label: Enable ACL
  241. description: Enable ACL for the dataset.
  242. schema:
  243. type: boolean
  244. # Postgres does a CHMOD at startup
  245. # Which fails with ACL
  246. hidden: true
  247. default: false
  248. - variable: datasetName
  249. label: Dataset Name
  250. description: The name of the dataset to use for storage.
  251. schema:
  252. type: string
  253. required: true
  254. immutable: true
  255. hidden: true
  256. default: "pgData"
  257. - variable: aclEntries
  258. label: ACL Configuration
  259. schema:
  260. type: dict
  261. show_if: [["aclEnable", "=", true]]
  262. attrs: []
  263. - variable: hostPathConfig
  264. label: Host Path Configuration
  265. schema:
  266. type: dict
  267. show_if: [["type", "=", "hostPath"]]
  268. attrs:
  269. - variable: aclEnable
  270. label: Enable ACL
  271. description: Enable ACL for the dataset.
  272. schema:
  273. type: boolean
  274. # Postgres does a CHMOD at startup
  275. # Which fails with ACL
  276. hidden: true
  277. default: false
  278. - variable: acl
  279. label: ACL Configuration
  280. schema:
  281. type: dict
  282. show_if: [["aclEnable", "=", true]]
  283. attrs: []
  284. $ref:
  285. - "normalize/acl"
  286. - variable: hostPath
  287. label: Host Path
  288. description: The host path to use for storage.
  289. schema:
  290. type: hostpath
  291. show_if: [["aclEnable", "=", false]]
  292. immutable: true
  293. required: true
  294. - variable: pgBackup
  295. label: Postgres Backup Storage
  296. description: The path to store Postgres Backup.
  297. schema:
  298. type: dict
  299. attrs:
  300. - variable: type
  301. label: Type
  302. description: |
  303. ixVolume: Is dataset created automatically by the system.</br>
  304. Host Path: Is a path that already exists on the system.
  305. schema:
  306. type: string
  307. required: true
  308. immutable: true
  309. default: "ixVolume"
  310. enum:
  311. - value: "hostPath"
  312. description: Host Path (Path that already exists on the system)
  313. - value: "ixVolume"
  314. description: ixVolume (Dataset created automatically by the system)
  315. - variable: ixVolumeConfig
  316. label: ixVolume Configuration
  317. description: The configuration for the ixVolume dataset.
  318. schema:
  319. type: dict
  320. # Nothing to show for the user
  321. hidden: true
  322. show_if: [["type", "=", "ixVolume"]]
  323. $ref:
  324. - "normalize/ixVolume"
  325. attrs:
  326. - variable: aclEnable
  327. label: Enable ACL
  328. description: Enable ACL for the dataset.
  329. schema:
  330. type: boolean
  331. # Postgres does a CHMOD at startup
  332. # Which fails with ACL
  333. hidden: true
  334. default: false
  335. - variable: datasetName
  336. label: Dataset Name
  337. description: The name of the dataset to use for storage.
  338. schema:
  339. type: string
  340. required: true
  341. immutable: true
  342. hidden: true
  343. default: "pgBackup"
  344. - variable: aclEntries
  345. label: ACL Configuration
  346. schema:
  347. type: dict
  348. show_if: [["aclEnable", "=", true]]
  349. attrs: []
  350. - variable: hostPathConfig
  351. label: Host Path Configuration
  352. schema:
  353. type: dict
  354. show_if: [["type", "=", "hostPath"]]
  355. attrs:
  356. - variable: aclEnable
  357. label: Enable ACL
  358. description: Enable ACL for the dataset.
  359. schema:
  360. type: boolean
  361. # Postgres does a CHMOD at startup
  362. # Which fails with ACL
  363. hidden: true
  364. default: false
  365. - variable: acl
  366. label: ACL Configuration
  367. schema:
  368. type: dict
  369. show_if: [["aclEnable", "=", true]]
  370. attrs: []
  371. $ref:
  372. - "normalize/acl"
  373. - variable: hostPath
  374. label: Host Path
  375. description: The host path to use for storage.
  376. schema:
  377. type: hostpath
  378. show_if: [["aclEnable", "=", false]]
  379. immutable: true
  380. required: true
  381. - variable: additionalStorages
  382. label: Additional Storage
  383. description: Additional storage for Vikunja.
  384. schema:
  385. type: list
  386. default: []
  387. items:
  388. - variable: storageEntry
  389. label: Storage Entry
  390. schema:
  391. type: dict
  392. attrs:
  393. - variable: type
  394. label: Type
  395. description: |
  396. ixVolume: Is dataset created automatically by the system.</br>
  397. Host Path: Is a path that already exists on the system.</br>
  398. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  399. schema:
  400. type: string
  401. required: true
  402. default: "ixVolume"
  403. immutable: true
  404. enum:
  405. - value: "hostPath"
  406. description: Host Path (Path that already exists on the system)
  407. - value: "ixVolume"
  408. description: ixVolume (Dataset created automatically by the system)
  409. - value: "smb-pv-pvc"
  410. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  411. - variable: readOnly
  412. label: Read Only
  413. description: Mount the volume as read only.
  414. schema:
  415. type: boolean
  416. default: false
  417. - variable: mountPath
  418. label: Mount Path
  419. description: The path inside the container to mount the storage.
  420. schema:
  421. type: path
  422. required: true
  423. - variable: hostPathConfig
  424. label: Host Path Configuration
  425. schema:
  426. type: dict
  427. show_if: [["type", "=", "hostPath"]]
  428. attrs:
  429. - variable: aclEnable
  430. label: Enable ACL
  431. description: Enable ACL for the dataset.
  432. schema:
  433. type: boolean
  434. default: false
  435. - variable: acl
  436. label: ACL Configuration
  437. schema:
  438. type: dict
  439. show_if: [["aclEnable", "=", true]]
  440. attrs: []
  441. $ref:
  442. - "normalize/acl"
  443. - variable: hostPath
  444. label: Host Path
  445. description: The host path to use for storage.
  446. schema:
  447. type: hostpath
  448. show_if: [["aclEnable", "=", false]]
  449. immutable: true
  450. required: true
  451. - variable: ixVolumeConfig
  452. label: ixVolume Configuration
  453. description: The configuration for the ixVolume dataset.
  454. schema:
  455. type: dict
  456. show_if: [["type", "=", "ixVolume"]]
  457. $ref:
  458. - "normalize/ixVolume"
  459. attrs:
  460. - variable: aclEnable
  461. label: Enable ACL
  462. description: Enable ACL for the dataset.
  463. schema:
  464. type: boolean
  465. default: false
  466. - variable: datasetName
  467. label: Dataset Name
  468. description: The name of the dataset to use for storage.
  469. schema:
  470. type: string
  471. required: true
  472. immutable: true
  473. default: "storage_entry"
  474. - variable: aclEntries
  475. label: ACL Configuration
  476. schema:
  477. type: dict
  478. show_if: [["aclEnable", "=", true]]
  479. attrs: []
  480. - variable: smbConfig
  481. label: SMB Share Configuration
  482. description: The configuration for the SMB Share.
  483. schema:
  484. type: dict
  485. show_if: [["type", "=", "smb-pv-pvc"]]
  486. attrs:
  487. - variable: server
  488. label: Server
  489. description: The server for the SMB share.
  490. schema:
  491. type: string
  492. required: true
  493. - variable: share
  494. label: Share
  495. description: The share name for the SMB share.
  496. schema:
  497. type: string
  498. required: true
  499. - variable: domain
  500. label: Domain (Optional)
  501. description: The domain for the SMB share.
  502. schema:
  503. type: string
  504. - variable: username
  505. label: Username
  506. description: The username for the SMB share.
  507. schema:
  508. type: string
  509. required: true
  510. - variable: password
  511. label: Password
  512. description: The password for the SMB share.
  513. schema:
  514. type: string
  515. required: true
  516. private: true
  517. - variable: size
  518. label: Size (in Gi)
  519. description: The size of the volume quota.
  520. schema:
  521. type: int
  522. required: true
  523. min: 1
  524. default: 1
  525. - variable: resources
  526. group: Resources Configuration
  527. label: ""
  528. schema:
  529. type: dict
  530. attrs:
  531. - variable: limits
  532. label: Limits
  533. schema:
  534. type: dict
  535. attrs:
  536. - variable: cpu
  537. label: CPU
  538. description: CPU limit for Vikunja.
  539. schema:
  540. type: string
  541. max_length: 6
  542. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  543. valid_chars_error: |
  544. Valid CPU limit formats are</br>
  545. - Plain Integer - eg. 1</br>
  546. - Float - eg. 0.5</br>
  547. - Milicpu - eg. 500m
  548. default: "4000m"
  549. required: true
  550. - variable: memory
  551. label: Memory
  552. description: Memory limit for Vikunja.
  553. schema:
  554. type: string
  555. max_length: 12
  556. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  557. valid_chars_error: |
  558. Valid Memory limit formats are</br>
  559. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  560. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  561. - Plain Integer in bytes - eg. 1024</br>
  562. - Exponent - eg. 134e6
  563. default: "8Gi"
  564. required: true