questions.yaml 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721
  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. required: true
  201. - variable: backgroundImages
  202. label: Planka Background Images Storage
  203. description: The path to store Planka Background Images.
  204. schema:
  205. type: dict
  206. attrs:
  207. - variable: type
  208. label: Type
  209. description: |
  210. ixVolume: Is dataset created automatically by the system.</br>
  211. Host Path: Is a path that already exists on the system.
  212. schema:
  213. type: string
  214. required: true
  215. immutable: true
  216. default: "ixVolume"
  217. enum:
  218. - value: "hostPath"
  219. description: Host Path (Path that already exists on the system)
  220. - value: "ixVolume"
  221. description: ixVolume (Dataset created automatically by the system)
  222. - variable: ixVolumeConfig
  223. label: ixVolume Configuration
  224. description: The configuration for the ixVolume dataset.
  225. schema:
  226. type: dict
  227. show_if: [["type", "=", "ixVolume"]]
  228. $ref:
  229. - "normalize/ixVolume"
  230. attrs:
  231. - variable: aclEnable
  232. label: Enable ACL
  233. description: Enable ACL for the dataset.
  234. schema:
  235. type: boolean
  236. default: false
  237. - variable: datasetName
  238. label: Dataset Name
  239. description: The name of the dataset to use for storage.
  240. schema:
  241. type: string
  242. required: true
  243. immutable: true
  244. hidden: true
  245. default: "bg-img"
  246. - variable: aclEntries
  247. label: ACL Configuration
  248. schema:
  249. type: dict
  250. show_if: [["aclEnable", "=", true]]
  251. attrs: []
  252. - variable: hostPathConfig
  253. label: Host Path Configuration
  254. schema:
  255. type: dict
  256. show_if: [["type", "=", "hostPath"]]
  257. attrs:
  258. - variable: aclEnable
  259. label: Enable ACL
  260. description: Enable ACL for the dataset.
  261. schema:
  262. type: boolean
  263. default: false
  264. - variable: acl
  265. label: ACL Configuration
  266. schema:
  267. type: dict
  268. show_if: [["aclEnable", "=", true]]
  269. attrs: []
  270. $ref:
  271. - "normalize/acl"
  272. - variable: hostPath
  273. label: Host Path
  274. description: The host path to use for storage.
  275. schema:
  276. type: hostpath
  277. show_if: [["aclEnable", "=", false]]
  278. required: true
  279. - variable: attachments
  280. label: Planka Attachments Storage
  281. description: The path to store Planka Attachments.
  282. schema:
  283. type: dict
  284. attrs:
  285. - variable: type
  286. label: Type
  287. description: |
  288. ixVolume: Is dataset created automatically by the system.</br>
  289. Host Path: Is a path that already exists on the system.
  290. schema:
  291. type: string
  292. required: true
  293. immutable: true
  294. default: "ixVolume"
  295. enum:
  296. - value: "hostPath"
  297. description: Host Path (Path that already exists on the system)
  298. - value: "ixVolume"
  299. description: ixVolume (Dataset created automatically by the system)
  300. - variable: ixVolumeConfig
  301. label: ixVolume Configuration
  302. description: The configuration for the ixVolume dataset.
  303. schema:
  304. type: dict
  305. show_if: [["type", "=", "ixVolume"]]
  306. $ref:
  307. - "normalize/ixVolume"
  308. attrs:
  309. - variable: aclEnable
  310. label: Enable ACL
  311. description: Enable ACL for the dataset.
  312. schema:
  313. type: boolean
  314. default: false
  315. - variable: datasetName
  316. label: Dataset Name
  317. description: The name of the dataset to use for storage.
  318. schema:
  319. type: string
  320. required: true
  321. immutable: true
  322. hidden: true
  323. default: "attachments"
  324. - variable: aclEntries
  325. label: ACL Configuration
  326. schema:
  327. type: dict
  328. show_if: [["aclEnable", "=", true]]
  329. attrs: []
  330. - variable: hostPathConfig
  331. label: Host Path Configuration
  332. schema:
  333. type: dict
  334. show_if: [["type", "=", "hostPath"]]
  335. attrs:
  336. - variable: aclEnable
  337. label: Enable ACL
  338. description: Enable ACL for the dataset.
  339. schema:
  340. type: boolean
  341. default: false
  342. - variable: acl
  343. label: ACL Configuration
  344. schema:
  345. type: dict
  346. show_if: [["aclEnable", "=", true]]
  347. attrs: []
  348. $ref:
  349. - "normalize/acl"
  350. - variable: hostPath
  351. label: Host Path
  352. description: The host path to use for storage.
  353. schema:
  354. type: hostpath
  355. show_if: [["aclEnable", "=", false]]
  356. required: true
  357. - variable: pgData
  358. label: Postgres Data Storage
  359. description: The path to store Postgres Data.
  360. schema:
  361. type: dict
  362. attrs:
  363. - variable: type
  364. label: Type
  365. description: |
  366. ixVolume: Is dataset created automatically by the system.</br>
  367. Host Path: Is a path that already exists on the system.
  368. schema:
  369. type: string
  370. required: true
  371. immutable: true
  372. default: "ixVolume"
  373. enum:
  374. - value: "hostPath"
  375. description: Host Path (Path that already exists on the system)
  376. - value: "ixVolume"
  377. description: ixVolume (Dataset created automatically by the system)
  378. - variable: ixVolumeConfig
  379. label: ixVolume Configuration
  380. description: The configuration for the ixVolume dataset.
  381. schema:
  382. type: dict
  383. # Nothing to show for the user
  384. hidden: true
  385. show_if: [["type", "=", "ixVolume"]]
  386. $ref:
  387. - "normalize/ixVolume"
  388. attrs:
  389. - variable: aclEnable
  390. label: Enable ACL
  391. description: Enable ACL for the dataset.
  392. schema:
  393. type: boolean
  394. # Postgres does a CHMOD at startup
  395. # Which fails with ACL
  396. hidden: true
  397. default: false
  398. - variable: datasetName
  399. label: Dataset Name
  400. description: The name of the dataset to use for storage.
  401. schema:
  402. type: string
  403. required: true
  404. immutable: true
  405. hidden: true
  406. default: "pgData"
  407. - variable: aclEntries
  408. label: ACL Configuration
  409. schema:
  410. type: dict
  411. show_if: [["aclEnable", "=", true]]
  412. attrs: []
  413. - variable: hostPathConfig
  414. label: Host Path Configuration
  415. schema:
  416. type: dict
  417. show_if: [["type", "=", "hostPath"]]
  418. attrs:
  419. - variable: aclEnable
  420. label: Enable ACL
  421. description: Enable ACL for the dataset.
  422. schema:
  423. type: boolean
  424. # Postgres does a CHMOD at startup
  425. # Which fails with ACL
  426. hidden: true
  427. default: false
  428. - variable: acl
  429. label: ACL Configuration
  430. schema:
  431. type: dict
  432. show_if: [["aclEnable", "=", true]]
  433. attrs: []
  434. $ref:
  435. - "normalize/acl"
  436. - variable: hostPath
  437. label: Host Path
  438. description: The host path to use for storage.
  439. schema:
  440. type: hostpath
  441. show_if: [["aclEnable", "=", false]]
  442. required: true
  443. - variable: pgBackup
  444. label: Postgres Backup Storage
  445. description: The path to store Postgres Backup.
  446. schema:
  447. type: dict
  448. attrs:
  449. - variable: type
  450. label: Type
  451. description: |
  452. ixVolume: Is dataset created automatically by the system.</br>
  453. Host Path: Is a path that already exists on the system.
  454. schema:
  455. type: string
  456. required: true
  457. immutable: true
  458. default: "ixVolume"
  459. enum:
  460. - value: "hostPath"
  461. description: Host Path (Path that already exists on the system)
  462. - value: "ixVolume"
  463. description: ixVolume (Dataset created automatically by the system)
  464. - variable: ixVolumeConfig
  465. label: ixVolume Configuration
  466. description: The configuration for the ixVolume dataset.
  467. schema:
  468. type: dict
  469. # Nothing to show for the user
  470. hidden: true
  471. show_if: [["type", "=", "ixVolume"]]
  472. $ref:
  473. - "normalize/ixVolume"
  474. attrs:
  475. - variable: aclEnable
  476. label: Enable ACL
  477. description: Enable ACL for the dataset.
  478. schema:
  479. type: boolean
  480. # Postgres does a CHMOD at startup
  481. # Which fails with ACL
  482. hidden: true
  483. default: false
  484. - variable: datasetName
  485. label: Dataset Name
  486. description: The name of the dataset to use for storage.
  487. schema:
  488. type: string
  489. required: true
  490. immutable: true
  491. hidden: true
  492. default: "pgBackup"
  493. - variable: aclEntries
  494. label: ACL Configuration
  495. schema:
  496. type: dict
  497. show_if: [["aclEnable", "=", true]]
  498. attrs: []
  499. - variable: hostPathConfig
  500. label: Host Path Configuration
  501. schema:
  502. type: dict
  503. show_if: [["type", "=", "hostPath"]]
  504. attrs:
  505. - variable: aclEnable
  506. label: Enable ACL
  507. description: Enable ACL for the dataset.
  508. schema:
  509. type: boolean
  510. # Postgres does a CHMOD at startup
  511. # Which fails with ACL
  512. hidden: true
  513. default: false
  514. - variable: acl
  515. label: ACL Configuration
  516. schema:
  517. type: dict
  518. show_if: [["aclEnable", "=", true]]
  519. attrs: []
  520. $ref:
  521. - "normalize/acl"
  522. - variable: hostPath
  523. label: Host Path
  524. description: The host path to use for storage.
  525. schema:
  526. type: hostpath
  527. show_if: [["aclEnable", "=", false]]
  528. required: true
  529. - variable: additionalStorages
  530. label: Additional Storage
  531. description: Additional storage for Planka.
  532. schema:
  533. type: list
  534. default: []
  535. items:
  536. - variable: storageEntry
  537. label: Storage Entry
  538. schema:
  539. type: dict
  540. attrs:
  541. - variable: type
  542. label: Type
  543. description: |
  544. ixVolume: Is dataset created automatically by the system.</br>
  545. Host Path: Is a path that already exists on the system.</br>
  546. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  547. schema:
  548. type: string
  549. required: true
  550. default: "ixVolume"
  551. immutable: true
  552. enum:
  553. - value: "hostPath"
  554. description: Host Path (Path that already exists on the system)
  555. - value: "ixVolume"
  556. description: ixVolume (Dataset created automatically by the system)
  557. - value: "smb-pv-pvc"
  558. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  559. - variable: readOnly
  560. label: Read Only
  561. description: Mount the volume as read only.
  562. schema:
  563. type: boolean
  564. default: false
  565. - variable: mountPath
  566. label: Mount Path
  567. description: The path inside the container to mount the storage.
  568. schema:
  569. type: path
  570. required: true
  571. - variable: hostPathConfig
  572. label: Host Path Configuration
  573. schema:
  574. type: dict
  575. show_if: [["type", "=", "hostPath"]]
  576. attrs:
  577. - variable: aclEnable
  578. label: Enable ACL
  579. description: Enable ACL for the dataset.
  580. schema:
  581. type: boolean
  582. default: false
  583. - variable: acl
  584. label: ACL Configuration
  585. schema:
  586. type: dict
  587. show_if: [["aclEnable", "=", true]]
  588. attrs: []
  589. $ref:
  590. - "normalize/acl"
  591. - variable: hostPath
  592. label: Host Path
  593. description: The host path to use for storage.
  594. schema:
  595. type: hostpath
  596. show_if: [["aclEnable", "=", false]]
  597. required: true
  598. - variable: ixVolumeConfig
  599. label: ixVolume Configuration
  600. description: The configuration for the ixVolume dataset.
  601. schema:
  602. type: dict
  603. show_if: [["type", "=", "ixVolume"]]
  604. $ref:
  605. - "normalize/ixVolume"
  606. attrs:
  607. - variable: aclEnable
  608. label: Enable ACL
  609. description: Enable ACL for the dataset.
  610. schema:
  611. type: boolean
  612. default: false
  613. - variable: datasetName
  614. label: Dataset Name
  615. description: The name of the dataset to use for storage.
  616. schema:
  617. type: string
  618. required: true
  619. immutable: true
  620. default: "storage_entry"
  621. - variable: aclEntries
  622. label: ACL Configuration
  623. schema:
  624. type: dict
  625. show_if: [["aclEnable", "=", true]]
  626. attrs: []
  627. - variable: smbConfig
  628. label: SMB Share Configuration
  629. description: The configuration for the SMB Share.
  630. schema:
  631. type: dict
  632. show_if: [["type", "=", "smb-pv-pvc"]]
  633. attrs:
  634. - variable: server
  635. label: Server
  636. description: The server for the SMB share.
  637. schema:
  638. type: string
  639. required: true
  640. - variable: share
  641. label: Share
  642. description: The share name for the SMB share.
  643. schema:
  644. type: string
  645. required: true
  646. - variable: domain
  647. label: Domain (Optional)
  648. description: The domain for the SMB share.
  649. schema:
  650. type: string
  651. - variable: username
  652. label: Username
  653. description: The username for the SMB share.
  654. schema:
  655. type: string
  656. required: true
  657. - variable: password
  658. label: Password
  659. description: The password for the SMB share.
  660. schema:
  661. type: string
  662. required: true
  663. private: true
  664. - variable: size
  665. label: Size (in Gi)
  666. description: The size of the volume quota.
  667. schema:
  668. type: int
  669. required: true
  670. min: 1
  671. default: 1
  672. - variable: resources
  673. group: Resources Configuration
  674. label: ""
  675. schema:
  676. type: dict
  677. attrs:
  678. - variable: limits
  679. label: Limits
  680. schema:
  681. type: dict
  682. attrs:
  683. - variable: cpu
  684. label: CPU
  685. description: CPU limit for Planka.
  686. schema:
  687. type: string
  688. max_length: 6
  689. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  690. valid_chars_error: |
  691. Valid CPU limit formats are</br>
  692. - Plain Integer - eg. 1</br>
  693. - Float - eg. 0.5</br>
  694. - Milicpu - eg. 500m
  695. default: "4000m"
  696. required: true
  697. - variable: memory
  698. label: Memory
  699. description: Memory limit for Planka.
  700. schema:
  701. type: string
  702. max_length: 12
  703. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  704. valid_chars_error: |
  705. Valid Memory limit formats are</br>
  706. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  707. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  708. - Plain Integer in bytes - eg. 1024</br>
  709. - Exponent - eg. 134e6
  710. default: "8Gi"
  711. required: true