questions.yaml 22 KB

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