questions.yaml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  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: baseURL
  27. label: BaseURL
  28. description: |
  29. The URL that Planka will be accessible from.</br>
  30. Example: </br>
  31. http://server.ip:30062</br>
  32. https://planka.example.com
  33. schema:
  34. type: uri
  35. default: ""
  36. required: true
  37. - variable: trustProxy
  38. label: Trust Proxy
  39. description: Trust the reverse proxy when Planka is behind a reverse proxy.
  40. schema:
  41. type: boolean
  42. default: false
  43. - variable: additionalEnvs
  44. label: Additional Environment Variables
  45. description: Configure additional environment variables for Planka.
  46. schema:
  47. type: list
  48. default: []
  49. items:
  50. - variable: env
  51. label: Environment Variable
  52. schema:
  53. type: dict
  54. attrs:
  55. - variable: name
  56. label: Name
  57. schema:
  58. type: string
  59. required: true
  60. - variable: value
  61. label: Value
  62. schema:
  63. type: string
  64. required: true
  65. - variable: plankaNetwork
  66. label: ""
  67. group: Network Configuration
  68. schema:
  69. type: dict
  70. attrs:
  71. - variable: webPort
  72. label: Web Port
  73. description: The port for the Planka Web UI.
  74. schema:
  75. type: int
  76. default: 30062
  77. min: 9000
  78. max: 65535
  79. required: true
  80. - variable: hostNetwork
  81. label: Host Network
  82. description: |
  83. Bind to the host network. It's recommended to keep this disabled.</br>
  84. schema:
  85. type: boolean
  86. default: false
  87. - variable: plankaStorage
  88. label: ""
  89. group: Storage Configuration
  90. schema:
  91. type: dict
  92. attrs:
  93. - variable: avatars
  94. label: Planka Avatars Storage
  95. description: The path to store Planka Avatars.
  96. schema:
  97. type: dict
  98. attrs:
  99. - variable: type
  100. label: Type
  101. description: |
  102. ixVolume: Is dataset created automatically by the system.</br>
  103. Host Path: Is a path that already exists on the system.
  104. schema:
  105. type: string
  106. required: true
  107. default: "ixVolume"
  108. enum:
  109. - value: "hostPath"
  110. description: Host Path (Path that already exists on the system)
  111. - value: "ixVolume"
  112. description: ixVolume (Dataset created automatically by the system)
  113. - variable: datasetName
  114. label: Dataset Name
  115. schema:
  116. type: string
  117. show_if: [["type", "=", "ixVolume"]]
  118. required: true
  119. hidden: true
  120. immutable: true
  121. default: "avatars"
  122. $ref:
  123. - "normalize/ixVolume"
  124. - variable: hostPath
  125. label: Host Path
  126. schema:
  127. type: hostpath
  128. show_if: [["type", "=", "hostPath"]]
  129. immutable: true
  130. required: true
  131. - variable: backgroundImages
  132. label: Planka Background Images Storage
  133. description: The path to store Planka Background Images.
  134. schema:
  135. type: dict
  136. attrs:
  137. - variable: type
  138. label: Type
  139. description: |
  140. ixVolume: Is dataset created automatically by the system.</br>
  141. Host Path: Is a path that already exists on the system.
  142. schema:
  143. type: string
  144. required: true
  145. default: "ixVolume"
  146. enum:
  147. - value: "hostPath"
  148. description: Host Path (Path that already exists on the system)
  149. - value: "ixVolume"
  150. description: ixVolume (Dataset created automatically by the system)
  151. - variable: datasetName
  152. label: Dataset Name
  153. schema:
  154. type: string
  155. show_if: [["type", "=", "ixVolume"]]
  156. required: true
  157. hidden: true
  158. immutable: true
  159. default: "bg-img"
  160. $ref:
  161. - "normalize/ixVolume"
  162. - variable: hostPath
  163. label: Host Path
  164. schema:
  165. type: hostpath
  166. show_if: [["type", "=", "hostPath"]]
  167. immutable: true
  168. required: true
  169. - variable: attachments
  170. label: Planka Attachments Storage
  171. description: The path to store Planka Attachments.
  172. schema:
  173. type: dict
  174. attrs:
  175. - variable: type
  176. label: Type
  177. description: |
  178. ixVolume: Is dataset created automatically by the system.</br>
  179. Host Path: Is a path that already exists on the system.
  180. schema:
  181. type: string
  182. required: true
  183. default: "ixVolume"
  184. enum:
  185. - value: "hostPath"
  186. description: Host Path (Path that already exists on the system)
  187. - value: "ixVolume"
  188. description: ixVolume (Dataset created automatically by the system)
  189. - variable: datasetName
  190. label: Dataset Name
  191. schema:
  192. type: string
  193. show_if: [["type", "=", "ixVolume"]]
  194. required: true
  195. hidden: true
  196. immutable: true
  197. default: "attachments"
  198. $ref:
  199. - "normalize/ixVolume"
  200. - variable: hostPath
  201. label: Host Path
  202. schema:
  203. type: hostpath
  204. show_if: [["type", "=", "hostPath"]]
  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. 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: datasetName
  228. label: Dataset Name
  229. schema:
  230. type: string
  231. show_if: [["type", "=", "ixVolume"]]
  232. required: true
  233. hidden: true
  234. immutable: true
  235. default: "pgData"
  236. $ref:
  237. - "normalize/ixVolume"
  238. - variable: hostPath
  239. label: Host Path
  240. schema:
  241. type: hostpath
  242. show_if: [["type", "=", "hostPath"]]
  243. immutable: true
  244. required: true
  245. - variable: pgBackup
  246. label: Postgres Backup Storage
  247. description: The path to store Postgres Backup.
  248. schema:
  249. type: dict
  250. attrs:
  251. - variable: type
  252. label: Type
  253. description: |
  254. ixVolume: Is dataset created automatically by the system.</br>
  255. Host Path: Is a path that already exists on the system.
  256. schema:
  257. type: string
  258. required: true
  259. default: "ixVolume"
  260. enum:
  261. - value: "hostPath"
  262. description: Host Path (Path that already exists on the system)
  263. - value: "ixVolume"
  264. description: ixVolume (Dataset created automatically by the system)
  265. - variable: datasetName
  266. label: Dataset Name
  267. schema:
  268. type: string
  269. show_if: [["type", "=", "ixVolume"]]
  270. required: true
  271. hidden: true
  272. immutable: true
  273. default: "pgBackup"
  274. $ref:
  275. - "normalize/ixVolume"
  276. - variable: hostPath
  277. label: Host Path
  278. schema:
  279. type: hostpath
  280. show_if: [["type", "=", "hostPath"]]
  281. immutable: true
  282. required: true
  283. - variable: additionalStorages
  284. label: Additional Storage
  285. description: Additional storage for Planka.
  286. schema:
  287. type: list
  288. default: []
  289. items:
  290. - variable: storageEntry
  291. label: Storage Entry
  292. schema:
  293. type: dict
  294. attrs:
  295. - variable: type
  296. label: Type
  297. description: |
  298. ixVolume: Is dataset created automatically by the system.</br>
  299. Host Path: Is a path that already exists on the system.
  300. schema:
  301. type: string
  302. required: true
  303. default: "ixVolume"
  304. enum:
  305. - value: "hostPath"
  306. description: Host Path (Path that already exists on the system)
  307. - value: "ixVolume"
  308. description: ixVolume (Dataset created automatically by the system)
  309. - variable: mountPath
  310. label: Mount Path
  311. description: The path inside the container to mount the storage.
  312. schema:
  313. type: path
  314. required: true
  315. - variable: hostPath
  316. label: Host Path
  317. description: The host path to use for storage.
  318. schema:
  319. type: hostpath
  320. show_if: [["type", "=", "hostPath"]]
  321. required: true
  322. - variable: datasetName
  323. label: Dataset Name
  324. description: The name of the dataset to use for storage.
  325. schema:
  326. type: string
  327. show_if: [["type", "=", "ixVolume"]]
  328. required: true
  329. immutable: true
  330. default: "storage_entry"
  331. $ref:
  332. - "normalize/ixVolume"
  333. - variable: resources
  334. group: Resources Configuration
  335. label: ""
  336. schema:
  337. type: dict
  338. attrs:
  339. - variable: limits
  340. label: Limits
  341. schema:
  342. type: dict
  343. attrs:
  344. - variable: cpu
  345. label: CPU
  346. description: CPU limit for Planka.
  347. schema:
  348. type: string
  349. max_length: 6
  350. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  351. valid_chars_error: |
  352. Valid CPU limit formats are</br>
  353. - Plain Integer - eg. 1</br>
  354. - Float - eg. 0.5</br>
  355. - Milicpu - eg. 500m
  356. default: "4000m"
  357. required: true
  358. - variable: memory
  359. label: Memory
  360. description: Memory limit for Planka.
  361. schema:
  362. type: string
  363. max_length: 12
  364. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  365. valid_chars_error: |
  366. Valid Memory limit formats are</br>
  367. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  368. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  369. - Plain Integer in bytes - eg. 1024</br>
  370. - Exponent - eg. 134e6
  371. default: "8Gi"
  372. required: true