questions.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  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. default: "ixVolume"
  138. enum:
  139. - value: "hostPath"
  140. description: Host Path (Path that already exists on the system)
  141. - value: "ixVolume"
  142. description: ixVolume (Dataset created automatically by the system)
  143. - variable: datasetName
  144. label: Dataset Name
  145. schema:
  146. type: string
  147. show_if: [["type", "=", "ixVolume"]]
  148. required: true
  149. hidden: true
  150. immutable: true
  151. default: "avatars"
  152. $ref:
  153. - "normalize/ixVolume"
  154. - variable: hostPath
  155. label: Host Path
  156. schema:
  157. type: hostpath
  158. show_if: [["type", "=", "hostPath"]]
  159. immutable: true
  160. required: true
  161. - variable: backgroundImages
  162. label: Planka Background Images Storage
  163. description: The path to store Planka Background Images.
  164. schema:
  165. type: dict
  166. attrs:
  167. - variable: type
  168. label: Type
  169. description: |
  170. ixVolume: Is dataset created automatically by the system.</br>
  171. Host Path: Is a path that already exists on the system.
  172. schema:
  173. type: string
  174. required: true
  175. default: "ixVolume"
  176. enum:
  177. - value: "hostPath"
  178. description: Host Path (Path that already exists on the system)
  179. - value: "ixVolume"
  180. description: ixVolume (Dataset created automatically by the system)
  181. - variable: datasetName
  182. label: Dataset Name
  183. schema:
  184. type: string
  185. show_if: [["type", "=", "ixVolume"]]
  186. required: true
  187. hidden: true
  188. immutable: true
  189. default: "bg-img"
  190. $ref:
  191. - "normalize/ixVolume"
  192. - variable: hostPath
  193. label: Host Path
  194. schema:
  195. type: hostpath
  196. show_if: [["type", "=", "hostPath"]]
  197. immutable: true
  198. required: true
  199. - variable: attachments
  200. label: Planka Attachments Storage
  201. description: The path to store Planka Attachments.
  202. schema:
  203. type: dict
  204. attrs:
  205. - variable: type
  206. label: Type
  207. description: |
  208. ixVolume: Is dataset created automatically by the system.</br>
  209. Host Path: Is a path that already exists on the system.
  210. schema:
  211. type: string
  212. required: true
  213. default: "ixVolume"
  214. enum:
  215. - value: "hostPath"
  216. description: Host Path (Path that already exists on the system)
  217. - value: "ixVolume"
  218. description: ixVolume (Dataset created automatically by the system)
  219. - variable: datasetName
  220. label: Dataset Name
  221. schema:
  222. type: string
  223. show_if: [["type", "=", "ixVolume"]]
  224. required: true
  225. hidden: true
  226. immutable: true
  227. default: "attachments"
  228. $ref:
  229. - "normalize/ixVolume"
  230. - variable: hostPath
  231. label: Host Path
  232. schema:
  233. type: hostpath
  234. show_if: [["type", "=", "hostPath"]]
  235. immutable: true
  236. required: true
  237. - variable: pgData
  238. label: Postgres Data Storage
  239. description: The path to store Postgres Data.
  240. schema:
  241. type: dict
  242. attrs:
  243. - variable: type
  244. label: Type
  245. description: |
  246. ixVolume: Is dataset created automatically by the system.</br>
  247. Host Path: Is a path that already exists on the system.
  248. schema:
  249. type: string
  250. required: true
  251. default: "ixVolume"
  252. enum:
  253. - value: "hostPath"
  254. description: Host Path (Path that already exists on the system)
  255. - value: "ixVolume"
  256. description: ixVolume (Dataset created automatically by the system)
  257. - variable: datasetName
  258. label: Dataset Name
  259. schema:
  260. type: string
  261. show_if: [["type", "=", "ixVolume"]]
  262. required: true
  263. hidden: true
  264. immutable: true
  265. default: "pgData"
  266. $ref:
  267. - "normalize/ixVolume"
  268. - variable: hostPath
  269. label: Host Path
  270. schema:
  271. type: hostpath
  272. show_if: [["type", "=", "hostPath"]]
  273. immutable: true
  274. required: true
  275. - variable: pgBackup
  276. label: Postgres Backup Storage
  277. description: The path to store Postgres Backup.
  278. schema:
  279. type: dict
  280. attrs:
  281. - variable: type
  282. label: Type
  283. description: |
  284. ixVolume: Is dataset created automatically by the system.</br>
  285. Host Path: Is a path that already exists on the system.
  286. schema:
  287. type: string
  288. required: true
  289. default: "ixVolume"
  290. enum:
  291. - value: "hostPath"
  292. description: Host Path (Path that already exists on the system)
  293. - value: "ixVolume"
  294. description: ixVolume (Dataset created automatically by the system)
  295. - variable: datasetName
  296. label: Dataset Name
  297. schema:
  298. type: string
  299. show_if: [["type", "=", "ixVolume"]]
  300. required: true
  301. hidden: true
  302. immutable: true
  303. default: "pgBackup"
  304. $ref:
  305. - "normalize/ixVolume"
  306. - variable: hostPath
  307. label: Host Path
  308. schema:
  309. type: hostpath
  310. show_if: [["type", "=", "hostPath"]]
  311. immutable: true
  312. required: true
  313. - variable: additionalStorages
  314. label: Additional Storage
  315. description: Additional storage for Planka.
  316. schema:
  317. type: list
  318. default: []
  319. items:
  320. - variable: storageEntry
  321. label: Storage Entry
  322. schema:
  323. type: dict
  324. attrs:
  325. - variable: type
  326. label: Type
  327. description: |
  328. ixVolume: Is dataset created automatically by the system.</br>
  329. Host Path: Is a path that already exists on the system.
  330. schema:
  331. type: string
  332. required: true
  333. default: "ixVolume"
  334. immutable: true
  335. enum:
  336. - value: "hostPath"
  337. description: Host Path (Path that already exists on the system)
  338. - value: "ixVolume"
  339. description: ixVolume (Dataset created automatically by the system)
  340. - value: "smb-pv-pvc"
  341. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  342. - variable: mountPath
  343. label: Mount Path
  344. description: The path inside the container to mount the storage.
  345. schema:
  346. type: path
  347. required: true
  348. - variable: hostPath
  349. label: Host Path
  350. description: The host path to use for storage.
  351. schema:
  352. type: hostpath
  353. show_if: [["type", "=", "hostPath"]]
  354. required: true
  355. - variable: datasetName
  356. label: Dataset Name
  357. description: The name of the dataset to use for storage.
  358. schema:
  359. type: string
  360. show_if: [["type", "=", "ixVolume"]]
  361. required: true
  362. immutable: true
  363. default: "storage_entry"
  364. $ref:
  365. - "normalize/ixVolume"
  366. - variable: server
  367. label: Server
  368. description: The server for the SMB share.
  369. schema:
  370. type: string
  371. show_if: [["type", "=", "smb-pv-pvc"]]
  372. required: true
  373. - variable: share
  374. label: Share
  375. description: The share name for the SMB share.
  376. schema:
  377. type: string
  378. show_if: [["type", "=", "smb-pv-pvc"]]
  379. required: true
  380. - variable: domain
  381. label: Domain (Optional)
  382. description: The domain for the SMB share.
  383. schema:
  384. type: string
  385. show_if: [["type", "=", "smb-pv-pvc"]]
  386. - variable: username
  387. label: Username
  388. description: The username for the SMB share.
  389. schema:
  390. type: string
  391. show_if: [["type", "=", "smb-pv-pvc"]]
  392. required: true
  393. - variable: password
  394. label: Password
  395. description: The password for the SMB share.
  396. schema:
  397. type: string
  398. show_if: [["type", "=", "smb-pv-pvc"]]
  399. required: true
  400. private: true
  401. - variable: size
  402. label: Size (in Gi)
  403. description: The size of the volume quota.
  404. schema:
  405. type: int
  406. show_if: [["type", "=", "smb-pv-pvc"]]
  407. required: true
  408. min: 1
  409. default: 1
  410. - variable: resources
  411. group: Resources Configuration
  412. label: ""
  413. schema:
  414. type: dict
  415. attrs:
  416. - variable: limits
  417. label: Limits
  418. schema:
  419. type: dict
  420. attrs:
  421. - variable: cpu
  422. label: CPU
  423. description: CPU limit for Planka.
  424. schema:
  425. type: string
  426. max_length: 6
  427. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  428. valid_chars_error: |
  429. Valid CPU limit formats are</br>
  430. - Plain Integer - eg. 1</br>
  431. - Float - eg. 0.5</br>
  432. - Milicpu - eg. 500m
  433. default: "4000m"
  434. required: true
  435. - variable: memory
  436. label: Memory
  437. description: Memory limit for Planka.
  438. schema:
  439. type: string
  440. max_length: 12
  441. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  442. valid_chars_error: |
  443. Valid Memory limit formats are</br>
  444. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  445. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  446. - Plain Integer in bytes - eg. 1024</br>
  447. - Exponent - eg. 134e6
  448. default: "8Gi"
  449. required: true