questions.yaml 17 KB

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