questions.yaml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. groups:
  2. - name: Flame Configuration
  3. description: Configure Flame
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Flame
  6. - name: Network Configuration
  7. description: Configure Network for Flame
  8. - name: Storage Configuration
  9. description: Configure Storage for Flame
  10. - name: Resources Configuration
  11. description: Configure Resources for Flame
  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: flameConfig
  23. label: ""
  24. group: Flame Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: password
  29. label: Password
  30. description: The password to use for Flame.
  31. schema:
  32. type: string
  33. default: ""
  34. private: true
  35. required: true
  36. - variable: additionalEnvs
  37. label: Additional Environment Variables
  38. description: Configure additional environment variables for Flame.
  39. schema:
  40. type: list
  41. default: []
  42. items:
  43. - variable: env
  44. label: Environment Variable
  45. schema:
  46. type: dict
  47. attrs:
  48. - variable: name
  49. label: Name
  50. schema:
  51. type: string
  52. required: true
  53. - variable: value
  54. label: Value
  55. schema:
  56. type: string
  57. required: true
  58. - variable: flameNetwork
  59. label: ""
  60. group: Network Configuration
  61. schema:
  62. type: dict
  63. attrs:
  64. - variable: webPort
  65. label: Web Port
  66. description: The port for the Flame Web UI.
  67. schema:
  68. type: int
  69. default: 30082
  70. min: 9000
  71. max: 65535
  72. required: true
  73. - variable: hostNetwork
  74. label: Host Network
  75. description: |
  76. Bind to the host network. It's recommended to keep this disabled.</br>
  77. schema:
  78. type: boolean
  79. default: false
  80. - variable: flameStorage
  81. label: ""
  82. group: Storage Configuration
  83. schema:
  84. type: dict
  85. attrs:
  86. - variable: data
  87. label: Flame Data Storage
  88. description: The path to store Flame Data.
  89. schema:
  90. type: dict
  91. attrs:
  92. - variable: type
  93. label: Type
  94. description: |
  95. ixVolume: Is dataset created automatically by the system.</br>
  96. Host Path: Is a path that already exists on the system.
  97. schema:
  98. type: string
  99. required: true
  100. default: "ixVolume"
  101. enum:
  102. - value: "hostPath"
  103. description: Host Path (Path that already exists on the system)
  104. - value: "ixVolume"
  105. description: ixVolume (Dataset created automatically by the system)
  106. - variable: datasetName
  107. label: Dataset Name
  108. schema:
  109. type: string
  110. show_if: [["type", "=", "ixVolume"]]
  111. required: true
  112. hidden: true
  113. immutable: true
  114. default: "data"
  115. $ref:
  116. - "normalize/ixVolume"
  117. - variable: hostPath
  118. label: Host Path
  119. schema:
  120. type: hostpath
  121. show_if: [["type", "=", "hostPath"]]
  122. immutable: true
  123. required: true
  124. - variable: additionalStorages
  125. label: Additional Storage
  126. description: Additional storage for Flame.
  127. schema:
  128. type: list
  129. default: []
  130. items:
  131. - variable: storageEntry
  132. label: Storage Entry
  133. schema:
  134. type: dict
  135. attrs:
  136. - variable: type
  137. label: Type
  138. description: |
  139. ixVolume: Is dataset created automatically by the system.</br>
  140. Host Path: Is a path that already exists on the system.
  141. schema:
  142. type: string
  143. required: true
  144. default: "ixVolume"
  145. immutable: true
  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. - value: "smb-pv-pvc"
  152. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  153. - variable: mountPath
  154. label: Mount Path
  155. description: The path inside the container to mount the storage.
  156. schema:
  157. type: path
  158. required: true
  159. - variable: hostPath
  160. label: Host Path
  161. description: The host path to use for storage.
  162. schema:
  163. type: hostpath
  164. show_if: [["type", "=", "hostPath"]]
  165. required: true
  166. - variable: datasetName
  167. label: Dataset Name
  168. description: The name of the dataset to use for storage.
  169. schema:
  170. type: string
  171. show_if: [["type", "=", "ixVolume"]]
  172. required: true
  173. immutable: true
  174. default: "storage_entry"
  175. $ref:
  176. - "normalize/ixVolume"
  177. - variable: server
  178. label: Server
  179. description: The server for the SMB share.
  180. schema:
  181. type: string
  182. show_if: [["type", "=", "smb-pv-pvc"]]
  183. required: true
  184. - variable: share
  185. label: Share
  186. description: The share name for the SMB share.
  187. schema:
  188. type: string
  189. show_if: [["type", "=", "smb-pv-pvc"]]
  190. required: true
  191. - variable: domain
  192. label: Domain (Optional)
  193. description: The domain for the SMB share.
  194. schema:
  195. type: string
  196. show_if: [["type", "=", "smb-pv-pvc"]]
  197. - variable: username
  198. label: Username
  199. description: The username for the SMB share.
  200. schema:
  201. type: string
  202. show_if: [["type", "=", "smb-pv-pvc"]]
  203. required: true
  204. - variable: password
  205. label: Password
  206. description: The password for the SMB share.
  207. schema:
  208. type: string
  209. show_if: [["type", "=", "smb-pv-pvc"]]
  210. required: true
  211. private: true
  212. - variable: size
  213. label: Size (in Gi)
  214. description: The size of the volume quota.
  215. schema:
  216. type: int
  217. show_if: [["type", "=", "smb-pv-pvc"]]
  218. required: true
  219. min: 1
  220. default: 1
  221. - variable: resources
  222. group: Resources Configuration
  223. label: ""
  224. schema:
  225. type: dict
  226. attrs:
  227. - variable: limits
  228. label: Limits
  229. schema:
  230. type: dict
  231. attrs:
  232. - variable: cpu
  233. label: CPU
  234. description: CPU limit for Flame.
  235. schema:
  236. type: string
  237. max_length: 6
  238. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  239. valid_chars_error: |
  240. Valid CPU limit formats are</br>
  241. - Plain Integer - eg. 1</br>
  242. - Float - eg. 0.5</br>
  243. - Milicpu - eg. 500m
  244. default: "4000m"
  245. required: true
  246. - variable: memory
  247. label: Memory
  248. description: Memory limit for Flame.
  249. schema:
  250. type: string
  251. max_length: 12
  252. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  253. valid_chars_error: |
  254. Valid Memory limit formats are</br>
  255. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  256. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  257. - Plain Integer in bytes - eg. 1024</br>
  258. - Exponent - eg. 134e6
  259. default: "8Gi"
  260. required: true