questions.yaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. groups:
  2. - name: Organizr Configuration
  3. description: Configure Organizr
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Organizr
  6. - name: Network Configuration
  7. description: Configure Network for Organizr
  8. - name: Storage Configuration
  9. description: Configure Storage for Organizr
  10. - name: Resources Configuration
  11. description: Configure Resources for Organizr
  12. portals:
  13. web_portal:
  14. protocols:
  15. - "$kubernetes-resource_configmap_portal_protocol"
  16. host:
  17. - "$kubernetes-resource_configmap_portal_host"
  18. ports:
  19. - "$kubernetes-resource_configmap_portal_port"
  20. path: "$kubernetes-resource_configmap_portal_path"
  21. questions:
  22. - variable: TZ
  23. group: Organizr Configuration
  24. label: Timezone
  25. schema:
  26. type: string
  27. default: Etc/UTC
  28. required: true
  29. $ref:
  30. - definitions/timezone
  31. - variable: organizrConfig
  32. label: ""
  33. group: Organizr Configuration
  34. schema:
  35. type: dict
  36. attrs:
  37. - variable: additionalEnvs
  38. label: Additional Environment Variables
  39. description: Configure additional environment variables for Organizr.
  40. schema:
  41. type: list
  42. default: []
  43. items:
  44. - variable: env
  45. label: Environment Variable
  46. schema:
  47. type: dict
  48. attrs:
  49. - variable: name
  50. label: Name
  51. schema:
  52. type: string
  53. required: true
  54. - variable: value
  55. label: Value
  56. schema:
  57. type: string
  58. required: true
  59. - variable: organizrNetwork
  60. label: ""
  61. group: Network Configuration
  62. schema:
  63. type: dict
  64. attrs:
  65. - variable: webPort
  66. label: Web Port
  67. description: The port for the Organizr Web UI.
  68. schema:
  69. type: int
  70. default: 31013
  71. min: 9000
  72. max: 65535
  73. required: true
  74. - variable: organizrID
  75. label: ""
  76. group: User and Group Configuration
  77. schema:
  78. type: dict
  79. attrs:
  80. - variable: user
  81. label: User ID
  82. description: The user id that Organizr files will be owned by.
  83. schema:
  84. type: int
  85. min: 568
  86. default: 568
  87. required: true
  88. - variable: group
  89. label: Group ID
  90. description: The group id that Organizr files will be owned by.
  91. schema:
  92. type: int
  93. min: 568
  94. default: 568
  95. required: true
  96. - variable: organizrStorage
  97. label: ""
  98. group: Storage Configuration
  99. schema:
  100. type: dict
  101. attrs:
  102. - variable: config
  103. label: Organizr Config Storage
  104. description: The path to store Organizr Configuration.
  105. schema:
  106. type: dict
  107. attrs:
  108. - variable: type
  109. label: Type
  110. description: |
  111. ixVolume: Is dataset created automatically by the system.</br>
  112. Host Path: Is a path that already exists on the system.
  113. schema:
  114. type: string
  115. required: true
  116. immutable: true
  117. default: "ixVolume"
  118. enum:
  119. - value: "hostPath"
  120. description: Host Path (Path that already exists on the system)
  121. - value: "ixVolume"
  122. description: ixVolume (Dataset created automatically by the system)
  123. - variable: ixVolumeConfig
  124. label: ixVolume Configuration
  125. description: The configuration for the ixVolume dataset.
  126. schema:
  127. type: dict
  128. show_if: [["type", "=", "ixVolume"]]
  129. $ref:
  130. - "normalize/ixVolume"
  131. attrs:
  132. - variable: aclEnable
  133. label: Enable ACL
  134. description: Enable ACL for the dataset.
  135. schema:
  136. type: boolean
  137. default: false
  138. - variable: datasetName
  139. label: Dataset Name
  140. description: The name of the dataset to use for storage.
  141. schema:
  142. type: string
  143. required: true
  144. immutable: true
  145. hidden: true
  146. default: "config"
  147. - variable: aclEntries
  148. label: ACL Configuration
  149. schema:
  150. type: dict
  151. show_if: [["aclEnable", "=", true]]
  152. attrs: []
  153. - variable: hostPathConfig
  154. label: Host Path Configuration
  155. schema:
  156. type: dict
  157. show_if: [["type", "=", "hostPath"]]
  158. attrs:
  159. - variable: aclEnable
  160. label: Enable ACL
  161. description: Enable ACL for the dataset.
  162. schema:
  163. type: boolean
  164. default: false
  165. - variable: acl
  166. label: ACL Configuration
  167. schema:
  168. type: dict
  169. show_if: [["aclEnable", "=", true]]
  170. attrs: []
  171. $ref:
  172. - "normalize/acl"
  173. - variable: hostPath
  174. label: Host Path
  175. description: The host path to use for storage.
  176. schema:
  177. type: hostpath
  178. show_if: [["aclEnable", "=", false]]
  179. required: true
  180. - variable: additionalStorages
  181. label: Additional Storage
  182. description: Additional storage for Organizr.
  183. schema:
  184. type: list
  185. default: []
  186. items:
  187. - variable: storageEntry
  188. label: Storage Entry
  189. schema:
  190. type: dict
  191. attrs:
  192. - variable: type
  193. label: Type
  194. description: |
  195. ixVolume: Is dataset created automatically by the system.</br>
  196. Host Path: Is a path that already exists on the system.</br>
  197. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  198. schema:
  199. type: string
  200. required: true
  201. default: "ixVolume"
  202. immutable: true
  203. enum:
  204. - value: "hostPath"
  205. description: Host Path (Path that already exists on the system)
  206. - value: "ixVolume"
  207. description: ixVolume (Dataset created automatically by the system)
  208. - value: "smb-pv-pvc"
  209. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  210. - variable: readOnly
  211. label: Read Only
  212. description: Mount the volume as read only.
  213. schema:
  214. type: boolean
  215. default: false
  216. - variable: mountPath
  217. label: Mount Path
  218. description: The path inside the container to mount the storage.
  219. schema:
  220. type: path
  221. required: true
  222. - variable: hostPathConfig
  223. label: Host Path Configuration
  224. schema:
  225. type: dict
  226. show_if: [["type", "=", "hostPath"]]
  227. attrs:
  228. - variable: aclEnable
  229. label: Enable ACL
  230. description: Enable ACL for the dataset.
  231. schema:
  232. type: boolean
  233. default: false
  234. - variable: acl
  235. label: ACL Configuration
  236. schema:
  237. type: dict
  238. show_if: [["aclEnable", "=", true]]
  239. attrs: []
  240. $ref:
  241. - "normalize/acl"
  242. - variable: hostPath
  243. label: Host Path
  244. description: The host path to use for storage.
  245. schema:
  246. type: hostpath
  247. show_if: [["aclEnable", "=", false]]
  248. required: true
  249. - variable: ixVolumeConfig
  250. label: ixVolume Configuration
  251. description: The configuration for the ixVolume dataset.
  252. schema:
  253. type: dict
  254. show_if: [["type", "=", "ixVolume"]]
  255. $ref:
  256. - "normalize/ixVolume"
  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: datasetName
  265. label: Dataset Name
  266. description: The name of the dataset to use for storage.
  267. schema:
  268. type: string
  269. required: true
  270. immutable: true
  271. default: "storage_entry"
  272. - variable: aclEntries
  273. label: ACL Configuration
  274. schema:
  275. type: dict
  276. show_if: [["aclEnable", "=", true]]
  277. attrs: []
  278. - variable: smbConfig
  279. label: SMB Share Configuration
  280. description: The configuration for the SMB Share.
  281. schema:
  282. type: dict
  283. show_if: [["type", "=", "smb-pv-pvc"]]
  284. attrs:
  285. - variable: server
  286. label: Server
  287. description: The server for the SMB share.
  288. schema:
  289. type: string
  290. required: true
  291. - variable: share
  292. label: Share
  293. description: The share name for the SMB share.
  294. schema:
  295. type: string
  296. required: true
  297. - variable: domain
  298. label: Domain (Optional)
  299. description: The domain for the SMB share.
  300. schema:
  301. type: string
  302. - variable: username
  303. label: Username
  304. description: The username for the SMB share.
  305. schema:
  306. type: string
  307. required: true
  308. - variable: password
  309. label: Password
  310. description: The password for the SMB share.
  311. schema:
  312. type: string
  313. required: true
  314. private: true
  315. - variable: size
  316. label: Size (in Gi)
  317. description: The size of the volume quota.
  318. schema:
  319. type: int
  320. required: true
  321. min: 1
  322. default: 1
  323. - variable: resources
  324. group: Resources Configuration
  325. label: ""
  326. schema:
  327. type: dict
  328. attrs:
  329. - variable: limits
  330. label: Limits
  331. schema:
  332. type: dict
  333. attrs:
  334. - variable: cpu
  335. label: CPU
  336. description: CPU limit for Organizr.
  337. schema:
  338. type: string
  339. max_length: 6
  340. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  341. valid_chars_error: |
  342. Valid CPU limit formats are</br>
  343. - Plain Integer - eg. 1</br>
  344. - Float - eg. 0.5</br>
  345. - Milicpu - eg. 500m
  346. default: "4000m"
  347. required: true
  348. - variable: memory
  349. label: Memory
  350. description: Memory limit for Organizr.
  351. schema:
  352. type: string
  353. max_length: 12
  354. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  355. valid_chars_error: |
  356. Valid Memory limit formats are</br>
  357. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  358. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  359. - Plain Integer in bytes - eg. 1024</br>
  360. - Exponent - eg. 134e6
  361. default: "8Gi"
  362. required: true