questions.yaml 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727
  1. groups:
  2. - name: Planka Configuration
  3. description: Configure Planka
  4. - name: Network Configuration
  5. description: Configure Network for Planka
  6. - name: Storage Configuration
  7. description: Configure Storage for Planka
  8. - name: Resources Configuration
  9. description: Configure Resources for Planka
  10. portals:
  11. web_portal:
  12. protocols:
  13. - "$kubernetes-resource_configmap_portal_protocol"
  14. host:
  15. - "$kubernetes-resource_configmap_portal_host"
  16. ports:
  17. - "$kubernetes-resource_configmap_portal_port"
  18. path: "$kubernetes-resource_configmap_portal_path"
  19. questions:
  20. - variable: plankaConfig
  21. label: ""
  22. group: Planka Configuration
  23. schema:
  24. type: dict
  25. attrs:
  26. - variable: defaultAdminEmail
  27. label: Default Admin Email
  28. description: The default admin email for Planka.
  29. schema:
  30. type: string
  31. default: ""
  32. - variable: defaultAdminName
  33. label: Default Admin Name
  34. description: The default admin name for Planka.
  35. schema:
  36. type: string
  37. default: ""
  38. show_if: [["defaultAdminEmail", "!=", ""]]
  39. required: true
  40. - variable: defaultAdminPassword
  41. label: Default Admin Password
  42. description: The default admin password for Planka.
  43. schema:
  44. type: string
  45. default: ""
  46. show_if: [["defaultAdminEmail", "!=", ""]]
  47. required: true
  48. - variable: defaultAdminUsername
  49. label: Default Admin Username
  50. description: The default admin username for Planka.
  51. schema:
  52. type: string
  53. default: ""
  54. show_if: [["defaultAdminEmail", "!=", ""]]
  55. required: true
  56. - variable: baseURL
  57. label: BaseURL
  58. description: |
  59. The URL that Planka will be accessible from.</br>
  60. Example: </br>
  61. http://server.ip:30062</br>
  62. https://planka.example.com
  63. schema:
  64. type: uri
  65. default: ""
  66. required: true
  67. - variable: trustProxy
  68. label: Trust Proxy
  69. description: Trust the reverse proxy when Planka is behind a reverse proxy.
  70. schema:
  71. type: boolean
  72. default: false
  73. - variable: additionalEnvs
  74. label: Additional Environment Variables
  75. description: Configure additional environment variables for Planka.
  76. schema:
  77. type: list
  78. default: []
  79. items:
  80. - variable: env
  81. label: Environment Variable
  82. schema:
  83. type: dict
  84. attrs:
  85. - variable: name
  86. label: Name
  87. schema:
  88. type: string
  89. required: true
  90. - variable: value
  91. label: Value
  92. schema:
  93. type: string
  94. required: true
  95. - variable: plankaNetwork
  96. label: ""
  97. group: Network Configuration
  98. schema:
  99. type: dict
  100. attrs:
  101. - variable: webPort
  102. label: Web Port
  103. description: The port for the Planka Web UI.
  104. schema:
  105. type: int
  106. default: 30062
  107. min: 9000
  108. max: 65535
  109. required: true
  110. - variable: hostNetwork
  111. label: Host Network
  112. description: |
  113. Bind to the host network. It's recommended to keep this disabled.</br>
  114. schema:
  115. type: boolean
  116. default: false
  117. - variable: plankaStorage
  118. label: ""
  119. group: Storage Configuration
  120. schema:
  121. type: dict
  122. attrs:
  123. - variable: avatars
  124. label: Planka Avatars Storage
  125. description: The path to store Planka Avatars.
  126. schema:
  127. type: dict
  128. attrs:
  129. - variable: type
  130. label: Type
  131. description: |
  132. ixVolume: Is dataset created automatically by the system.</br>
  133. Host Path: Is a path that already exists on the system.
  134. schema:
  135. type: string
  136. required: true
  137. immutable: true
  138. default: "ixVolume"
  139. enum:
  140. - value: "hostPath"
  141. description: Host Path (Path that already exists on the system)
  142. - value: "ixVolume"
  143. description: ixVolume (Dataset created automatically by the system)
  144. - variable: ixVolumeConfig
  145. label: ixVolume Configuration
  146. description: The configuration for the ixVolume dataset.
  147. schema:
  148. type: dict
  149. show_if: [["type", "=", "ixVolume"]]
  150. $ref:
  151. - "normalize/ixVolume"
  152. attrs:
  153. - variable: aclEnable
  154. label: Enable ACL
  155. description: Enable ACL for the dataset.
  156. schema:
  157. type: boolean
  158. default: false
  159. - variable: datasetName
  160. label: Dataset Name
  161. description: The name of the dataset to use for storage.
  162. schema:
  163. type: string
  164. required: true
  165. immutable: true
  166. hidden: true
  167. default: "avatars"
  168. - variable: aclEntries
  169. label: ACL Configuration
  170. schema:
  171. type: dict
  172. show_if: [["aclEnable", "=", true]]
  173. attrs: []
  174. - variable: hostPathConfig
  175. label: Host Path Configuration
  176. schema:
  177. type: dict
  178. show_if: [["type", "=", "hostPath"]]
  179. attrs:
  180. - variable: aclEnable
  181. label: Enable ACL
  182. description: Enable ACL for the dataset.
  183. schema:
  184. type: boolean
  185. default: false
  186. - variable: acl
  187. label: ACL Configuration
  188. schema:
  189. type: dict
  190. show_if: [["aclEnable", "=", true]]
  191. attrs: []
  192. $ref:
  193. - "normalize/acl"
  194. - variable: hostPath
  195. label: Host Path
  196. description: The host path to use for storage.
  197. schema:
  198. type: hostpath
  199. show_if: [["aclEnable", "=", false]]
  200. immutable: true
  201. required: true
  202. - variable: backgroundImages
  203. label: Planka Background Images Storage
  204. description: The path to store Planka Background Images.
  205. schema:
  206. type: dict
  207. attrs:
  208. - variable: type
  209. label: Type
  210. description: |
  211. ixVolume: Is dataset created automatically by the system.</br>
  212. Host Path: Is a path that already exists on the system.
  213. schema:
  214. type: string
  215. required: true
  216. immutable: true
  217. default: "ixVolume"
  218. enum:
  219. - value: "hostPath"
  220. description: Host Path (Path that already exists on the system)
  221. - value: "ixVolume"
  222. description: ixVolume (Dataset created automatically by the system)
  223. - variable: ixVolumeConfig
  224. label: ixVolume Configuration
  225. description: The configuration for the ixVolume dataset.
  226. schema:
  227. type: dict
  228. show_if: [["type", "=", "ixVolume"]]
  229. $ref:
  230. - "normalize/ixVolume"
  231. attrs:
  232. - variable: aclEnable
  233. label: Enable ACL
  234. description: Enable ACL for the dataset.
  235. schema:
  236. type: boolean
  237. default: false
  238. - variable: datasetName
  239. label: Dataset Name
  240. description: The name of the dataset to use for storage.
  241. schema:
  242. type: string
  243. required: true
  244. immutable: true
  245. hidden: true
  246. default: "bg-img"
  247. - variable: aclEntries
  248. label: ACL Configuration
  249. schema:
  250. type: dict
  251. show_if: [["aclEnable", "=", true]]
  252. attrs: []
  253. - variable: hostPathConfig
  254. label: Host Path Configuration
  255. schema:
  256. type: dict
  257. show_if: [["type", "=", "hostPath"]]
  258. attrs:
  259. - variable: aclEnable
  260. label: Enable ACL
  261. description: Enable ACL for the dataset.
  262. schema:
  263. type: boolean
  264. default: false
  265. - variable: acl
  266. label: ACL Configuration
  267. schema:
  268. type: dict
  269. show_if: [["aclEnable", "=", true]]
  270. attrs: []
  271. $ref:
  272. - "normalize/acl"
  273. - variable: hostPath
  274. label: Host Path
  275. description: The host path to use for storage.
  276. schema:
  277. type: hostpath
  278. show_if: [["aclEnable", "=", false]]
  279. immutable: true
  280. required: true
  281. - variable: attachments
  282. label: Planka Attachments Storage
  283. description: The path to store Planka Attachments.
  284. schema:
  285. type: dict
  286. attrs:
  287. - variable: type
  288. label: Type
  289. description: |
  290. ixVolume: Is dataset created automatically by the system.</br>
  291. Host Path: Is a path that already exists on the system.
  292. schema:
  293. type: string
  294. required: true
  295. immutable: true
  296. default: "ixVolume"
  297. enum:
  298. - value: "hostPath"
  299. description: Host Path (Path that already exists on the system)
  300. - value: "ixVolume"
  301. description: ixVolume (Dataset created automatically by the system)
  302. - variable: ixVolumeConfig
  303. label: ixVolume Configuration
  304. description: The configuration for the ixVolume dataset.
  305. schema:
  306. type: dict
  307. show_if: [["type", "=", "ixVolume"]]
  308. $ref:
  309. - "normalize/ixVolume"
  310. attrs:
  311. - variable: aclEnable
  312. label: Enable ACL
  313. description: Enable ACL for the dataset.
  314. schema:
  315. type: boolean
  316. default: false
  317. - variable: datasetName
  318. label: Dataset Name
  319. description: The name of the dataset to use for storage.
  320. schema:
  321. type: string
  322. required: true
  323. immutable: true
  324. hidden: true
  325. default: "attachments"
  326. - variable: aclEntries
  327. label: ACL Configuration
  328. schema:
  329. type: dict
  330. show_if: [["aclEnable", "=", true]]
  331. attrs: []
  332. - variable: hostPathConfig
  333. label: Host Path Configuration
  334. schema:
  335. type: dict
  336. show_if: [["type", "=", "hostPath"]]
  337. attrs:
  338. - variable: aclEnable
  339. label: Enable ACL
  340. description: Enable ACL for the dataset.
  341. schema:
  342. type: boolean
  343. default: false
  344. - variable: acl
  345. label: ACL Configuration
  346. schema:
  347. type: dict
  348. show_if: [["aclEnable", "=", true]]
  349. attrs: []
  350. $ref:
  351. - "normalize/acl"
  352. - variable: hostPath
  353. label: Host Path
  354. description: The host path to use for storage.
  355. schema:
  356. type: hostpath
  357. show_if: [["aclEnable", "=", false]]
  358. immutable: true
  359. required: true
  360. - variable: pgData
  361. label: Postgres Data Storage
  362. description: The path to store Postgres Data.
  363. schema:
  364. type: dict
  365. attrs:
  366. - variable: type
  367. label: Type
  368. description: |
  369. ixVolume: Is dataset created automatically by the system.</br>
  370. Host Path: Is a path that already exists on the system.
  371. schema:
  372. type: string
  373. required: true
  374. immutable: true
  375. default: "ixVolume"
  376. enum:
  377. - value: "hostPath"
  378. description: Host Path (Path that already exists on the system)
  379. - value: "ixVolume"
  380. description: ixVolume (Dataset created automatically by the system)
  381. - variable: ixVolumeConfig
  382. label: ixVolume Configuration
  383. description: The configuration for the ixVolume dataset.
  384. schema:
  385. type: dict
  386. # Nothing to show for the user
  387. hidden: true
  388. show_if: [["type", "=", "ixVolume"]]
  389. $ref:
  390. - "normalize/ixVolume"
  391. attrs:
  392. - variable: aclEnable
  393. label: Enable ACL
  394. description: Enable ACL for the dataset.
  395. schema:
  396. type: boolean
  397. # Postgres does a CHMOD at startup
  398. # Which fails with ACL
  399. hidden: true
  400. default: false
  401. - variable: datasetName
  402. label: Dataset Name
  403. description: The name of the dataset to use for storage.
  404. schema:
  405. type: string
  406. required: true
  407. immutable: true
  408. hidden: true
  409. default: "pgData"
  410. - variable: aclEntries
  411. label: ACL Configuration
  412. schema:
  413. type: dict
  414. show_if: [["aclEnable", "=", true]]
  415. attrs: []
  416. - variable: hostPathConfig
  417. label: Host Path Configuration
  418. schema:
  419. type: dict
  420. show_if: [["type", "=", "hostPath"]]
  421. attrs:
  422. - variable: aclEnable
  423. label: Enable ACL
  424. description: Enable ACL for the dataset.
  425. schema:
  426. type: boolean
  427. # Postgres does a CHMOD at startup
  428. # Which fails with ACL
  429. hidden: true
  430. default: false
  431. - variable: acl
  432. label: ACL Configuration
  433. schema:
  434. type: dict
  435. show_if: [["aclEnable", "=", true]]
  436. attrs: []
  437. $ref:
  438. - "normalize/acl"
  439. - variable: hostPath
  440. label: Host Path
  441. description: The host path to use for storage.
  442. schema:
  443. type: hostpath
  444. show_if: [["aclEnable", "=", false]]
  445. immutable: true
  446. required: true
  447. - variable: pgBackup
  448. label: Postgres Backup Storage
  449. description: The path to store Postgres Backup.
  450. schema:
  451. type: dict
  452. attrs:
  453. - variable: type
  454. label: Type
  455. description: |
  456. ixVolume: Is dataset created automatically by the system.</br>
  457. Host Path: Is a path that already exists on the system.
  458. schema:
  459. type: string
  460. required: true
  461. immutable: true
  462. default: "ixVolume"
  463. enum:
  464. - value: "hostPath"
  465. description: Host Path (Path that already exists on the system)
  466. - value: "ixVolume"
  467. description: ixVolume (Dataset created automatically by the system)
  468. - variable: ixVolumeConfig
  469. label: ixVolume Configuration
  470. description: The configuration for the ixVolume dataset.
  471. schema:
  472. type: dict
  473. # Nothing to show for the user
  474. hidden: true
  475. show_if: [["type", "=", "ixVolume"]]
  476. $ref:
  477. - "normalize/ixVolume"
  478. attrs:
  479. - variable: aclEnable
  480. label: Enable ACL
  481. description: Enable ACL for the dataset.
  482. schema:
  483. type: boolean
  484. # Postgres does a CHMOD at startup
  485. # Which fails with ACL
  486. hidden: true
  487. default: false
  488. - variable: datasetName
  489. label: Dataset Name
  490. description: The name of the dataset to use for storage.
  491. schema:
  492. type: string
  493. required: true
  494. immutable: true
  495. hidden: true
  496. default: "pgBackup"
  497. - variable: aclEntries
  498. label: ACL Configuration
  499. schema:
  500. type: dict
  501. show_if: [["aclEnable", "=", true]]
  502. attrs: []
  503. - variable: hostPathConfig
  504. label: Host Path Configuration
  505. schema:
  506. type: dict
  507. show_if: [["type", "=", "hostPath"]]
  508. attrs:
  509. - variable: aclEnable
  510. label: Enable ACL
  511. description: Enable ACL for the dataset.
  512. schema:
  513. type: boolean
  514. # Postgres does a CHMOD at startup
  515. # Which fails with ACL
  516. hidden: true
  517. default: false
  518. - variable: acl
  519. label: ACL Configuration
  520. schema:
  521. type: dict
  522. show_if: [["aclEnable", "=", true]]
  523. attrs: []
  524. $ref:
  525. - "normalize/acl"
  526. - variable: hostPath
  527. label: Host Path
  528. description: The host path to use for storage.
  529. schema:
  530. type: hostpath
  531. show_if: [["aclEnable", "=", false]]
  532. immutable: true
  533. required: true
  534. - variable: additionalStorages
  535. label: Additional Storage
  536. description: Additional storage for Planka.
  537. schema:
  538. type: list
  539. default: []
  540. items:
  541. - variable: storageEntry
  542. label: Storage Entry
  543. schema:
  544. type: dict
  545. attrs:
  546. - variable: type
  547. label: Type
  548. description: |
  549. ixVolume: Is dataset created automatically by the system.</br>
  550. Host Path: Is a path that already exists on the system.</br>
  551. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  552. schema:
  553. type: string
  554. required: true
  555. default: "ixVolume"
  556. immutable: true
  557. enum:
  558. - value: "hostPath"
  559. description: Host Path (Path that already exists on the system)
  560. - value: "ixVolume"
  561. description: ixVolume (Dataset created automatically by the system)
  562. - value: "smb-pv-pvc"
  563. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  564. - variable: readOnly
  565. label: Read Only
  566. description: Mount the volume as read only.
  567. schema:
  568. type: boolean
  569. default: false
  570. - variable: mountPath
  571. label: Mount Path
  572. description: The path inside the container to mount the storage.
  573. schema:
  574. type: path
  575. required: true
  576. - variable: hostPathConfig
  577. label: Host Path Configuration
  578. schema:
  579. type: dict
  580. show_if: [["type", "=", "hostPath"]]
  581. attrs:
  582. - variable: aclEnable
  583. label: Enable ACL
  584. description: Enable ACL for the dataset.
  585. schema:
  586. type: boolean
  587. default: false
  588. - variable: acl
  589. label: ACL Configuration
  590. schema:
  591. type: dict
  592. show_if: [["aclEnable", "=", true]]
  593. attrs: []
  594. $ref:
  595. - "normalize/acl"
  596. - variable: hostPath
  597. label: Host Path
  598. description: The host path to use for storage.
  599. schema:
  600. type: hostpath
  601. show_if: [["aclEnable", "=", false]]
  602. immutable: true
  603. required: true
  604. - variable: ixVolumeConfig
  605. label: ixVolume Configuration
  606. description: The configuration for the ixVolume dataset.
  607. schema:
  608. type: dict
  609. show_if: [["type", "=", "ixVolume"]]
  610. $ref:
  611. - "normalize/ixVolume"
  612. attrs:
  613. - variable: aclEnable
  614. label: Enable ACL
  615. description: Enable ACL for the dataset.
  616. schema:
  617. type: boolean
  618. default: false
  619. - variable: datasetName
  620. label: Dataset Name
  621. description: The name of the dataset to use for storage.
  622. schema:
  623. type: string
  624. required: true
  625. immutable: true
  626. default: "storage_entry"
  627. - variable: aclEntries
  628. label: ACL Configuration
  629. schema:
  630. type: dict
  631. show_if: [["aclEnable", "=", true]]
  632. attrs: []
  633. - variable: smbConfig
  634. label: SMB Share Configuration
  635. description: The configuration for the SMB Share.
  636. schema:
  637. type: dict
  638. show_if: [["type", "=", "smb-pv-pvc"]]
  639. attrs:
  640. - variable: server
  641. label: Server
  642. description: The server for the SMB share.
  643. schema:
  644. type: string
  645. required: true
  646. - variable: share
  647. label: Share
  648. description: The share name for the SMB share.
  649. schema:
  650. type: string
  651. required: true
  652. - variable: domain
  653. label: Domain (Optional)
  654. description: The domain for the SMB share.
  655. schema:
  656. type: string
  657. - variable: username
  658. label: Username
  659. description: The username for the SMB share.
  660. schema:
  661. type: string
  662. required: true
  663. - variable: password
  664. label: Password
  665. description: The password for the SMB share.
  666. schema:
  667. type: string
  668. required: true
  669. private: true
  670. - variable: size
  671. label: Size (in Gi)
  672. description: The size of the volume quota.
  673. schema:
  674. type: int
  675. required: true
  676. min: 1
  677. default: 1
  678. - variable: resources
  679. group: Resources Configuration
  680. label: ""
  681. schema:
  682. type: dict
  683. attrs:
  684. - variable: limits
  685. label: Limits
  686. schema:
  687. type: dict
  688. attrs:
  689. - variable: cpu
  690. label: CPU
  691. description: CPU limit for Planka.
  692. schema:
  693. type: string
  694. max_length: 6
  695. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  696. valid_chars_error: |
  697. Valid CPU limit formats are</br>
  698. - Plain Integer - eg. 1</br>
  699. - Float - eg. 0.5</br>
  700. - Milicpu - eg. 500m
  701. default: "4000m"
  702. required: true
  703. - variable: memory
  704. label: Memory
  705. description: Memory limit for Planka.
  706. schema:
  707. type: string
  708. max_length: 12
  709. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  710. valid_chars_error: |
  711. Valid Memory limit formats are</br>
  712. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  713. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  714. - Plain Integer in bytes - eg. 1024</br>
  715. - Exponent - eg. 134e6
  716. default: "8Gi"
  717. required: true