questions.yaml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. groups:
  2. - name: Filebrowser Configuration
  3. description: Configure Filebrowser
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Filebrowser
  6. - name: Network Configuration
  7. description: Configure Network for Filebrowser
  8. - name: Storage Configuration
  9. description: Configure Storage for Filebrowser
  10. - name: Resources Configuration
  11. description: Configure Resources for Filebrowser
  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: filebrowserConfig
  23. label: ""
  24. group: Filebrowser Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: additionalEnvs
  29. label: Additional Environment Variables
  30. description: Configure additional environment variables for Filebrowser.
  31. schema:
  32. type: list
  33. default: []
  34. items:
  35. - variable: env
  36. label: Environment Variable
  37. schema:
  38. type: dict
  39. attrs:
  40. - variable: name
  41. label: Name
  42. schema:
  43. type: string
  44. required: true
  45. - variable: value
  46. label: Value
  47. schema:
  48. type: string
  49. required: true
  50. - variable: filebrowserRunAs
  51. label: ""
  52. group: User and Group Configuration
  53. schema:
  54. type: dict
  55. attrs:
  56. - variable: user
  57. label: User ID
  58. description: The user id that Filebrowser will run as.
  59. schema:
  60. type: int
  61. min: 2
  62. default: 568
  63. required: true
  64. - variable: group
  65. label: Group ID
  66. description: The group id that Filebrowser will run as.
  67. schema:
  68. type: int
  69. min: 2
  70. default: 568
  71. required: true
  72. - variable: filebrowserNetwork
  73. label: ""
  74. group: Network Configuration
  75. schema:
  76. type: dict
  77. attrs:
  78. - variable: webPort
  79. label: Web Port
  80. description: The port for the Filebrowser Web UI.
  81. schema:
  82. type: int
  83. default: 30044
  84. min: 9000
  85. max: 65535
  86. required: true
  87. - variable: certificateID
  88. label: Certificate
  89. description: |
  90. The certificate to use for Filebrowser.
  91. schema:
  92. type: int
  93. "null": true
  94. $ref:
  95. - "definitions/certificate"
  96. - variable: hostNetwork
  97. label: Host Network
  98. description: |
  99. Bind to the host network. It's recommended to keep this disabled.</br>
  100. schema:
  101. type: boolean
  102. default: false
  103. - variable: filebrowserStorage
  104. label: ""
  105. group: Storage Configuration
  106. schema:
  107. type: dict
  108. attrs:
  109. - variable: config
  110. label: Filebrowser Config Storage
  111. description: The path to store Filebrowser Configuration.
  112. schema:
  113. type: dict
  114. attrs:
  115. - variable: type
  116. label: Type
  117. description: |
  118. ixVolume: Is dataset created automatically by the system.</br>
  119. Host Path: Is a path that already exists on the system.
  120. schema:
  121. type: string
  122. required: true
  123. default: "ixVolume"
  124. enum:
  125. - value: "hostPath"
  126. description: Host Path (Path that already exists on the system)
  127. - value: "ixVolume"
  128. description: ixVolume (Dataset created automatically by the system)
  129. - variable: datasetName
  130. label: Dataset Name
  131. schema:
  132. type: string
  133. show_if: [["type", "=", "ixVolume"]]
  134. required: true
  135. hidden: true
  136. immutable: true
  137. default: "config"
  138. $ref:
  139. - "normalize/ixVolume"
  140. - variable: hostPath
  141. label: Host Path
  142. schema:
  143. type: hostpath
  144. show_if: [["type", "=", "hostPath"]]
  145. immutable: true
  146. required: true
  147. - variable: additionalStorages
  148. label: Additional Storage
  149. description: Additional storage for Filebrowser.
  150. schema:
  151. type: list
  152. default:
  153. - type: hostPath
  154. mountPath: /my_data
  155. hostPath: ""
  156. items:
  157. - variable: storageEntry
  158. label: Storage Entry
  159. schema:
  160. type: dict
  161. attrs:
  162. - variable: type
  163. label: Type
  164. description: |
  165. ixVolume: Is dataset created automatically by the system.</br>
  166. Host Path: Is a path that already exists on the system.
  167. schema:
  168. type: string
  169. required: true
  170. default: "ixVolume"
  171. enum:
  172. - value: "hostPath"
  173. description: Host Path (Path that already exists on the system)
  174. - value: "ixVolume"
  175. description: ixVolume (Dataset created automatically by the system)
  176. - variable: mountPath
  177. label: Mount Path
  178. description: The path inside the container to mount the storage.
  179. schema:
  180. type: path
  181. required: true
  182. - variable: hostPath
  183. label: Host Path
  184. description: The host path to use for storage.
  185. schema:
  186. type: hostpath
  187. show_if: [["type", "=", "hostPath"]]
  188. required: true
  189. - variable: datasetName
  190. label: Dataset Name
  191. description: The name of the dataset to use for storage.
  192. schema:
  193. type: string
  194. show_if: [["type", "=", "ixVolume"]]
  195. required: true
  196. immutable: true
  197. default: "storage_entry"
  198. $ref:
  199. - "normalize/ixVolume"
  200. - variable: resources
  201. group: Resources Configuration
  202. label: ""
  203. schema:
  204. type: dict
  205. attrs:
  206. - variable: limits
  207. label: Limits
  208. schema:
  209. type: dict
  210. attrs:
  211. - variable: cpu
  212. label: CPU
  213. description: CPU limit for Filebrowser.
  214. schema:
  215. type: string
  216. default: "4000m"
  217. required: true
  218. - variable: memory
  219. label: Memory
  220. description: Memory limit for Filebrowser.
  221. schema:
  222. type: string
  223. default: "8Gi"
  224. required: true