questions.yaml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  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. immutable: true
  101. default: "ixVolume"
  102. enum:
  103. - value: "hostPath"
  104. description: Host Path (Path that already exists on the system)
  105. - value: "ixVolume"
  106. description: ixVolume (Dataset created automatically by the system)
  107. - variable: datasetName
  108. label: Dataset Name
  109. schema:
  110. type: string
  111. show_if: [["type", "=", "ixVolume"]]
  112. required: true
  113. hidden: true
  114. immutable: true
  115. default: "data"
  116. $ref:
  117. - "normalize/ixVolume"
  118. - variable: hostPath
  119. label: Host Path
  120. schema:
  121. type: hostpath
  122. show_if: [["type", "=", "hostPath"]]
  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.</br>
  141. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  142. schema:
  143. type: string
  144. required: true
  145. default: "ixVolume"
  146. immutable: true
  147. enum:
  148. - value: "hostPath"
  149. description: Host Path (Path that already exists on the system)
  150. - value: "ixVolume"
  151. description: ixVolume (Dataset created automatically by the system)
  152. - value: "smb-pv-pvc"
  153. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  154. - variable: mountPath
  155. label: Mount Path
  156. description: The path inside the container to mount the storage.
  157. schema:
  158. type: path
  159. required: true
  160. - variable: hostPath
  161. label: Host Path
  162. description: The host path to use for storage.
  163. schema:
  164. type: hostpath
  165. show_if: [["type", "=", "hostPath"]]
  166. required: true
  167. - variable: datasetName
  168. label: Dataset Name
  169. description: The name of the dataset to use for storage.
  170. schema:
  171. type: string
  172. show_if: [["type", "=", "ixVolume"]]
  173. required: true
  174. immutable: true
  175. default: "storage_entry"
  176. $ref:
  177. - "normalize/ixVolume"
  178. - variable: server
  179. label: Server
  180. description: The server for the SMB share.
  181. schema:
  182. type: string
  183. show_if: [["type", "=", "smb-pv-pvc"]]
  184. required: true
  185. - variable: share
  186. label: Share
  187. description: The share name for the SMB share.
  188. schema:
  189. type: string
  190. show_if: [["type", "=", "smb-pv-pvc"]]
  191. required: true
  192. - variable: domain
  193. label: Domain (Optional)
  194. description: The domain for the SMB share.
  195. schema:
  196. type: string
  197. show_if: [["type", "=", "smb-pv-pvc"]]
  198. - variable: username
  199. label: Username
  200. description: The username for the SMB share.
  201. schema:
  202. type: string
  203. show_if: [["type", "=", "smb-pv-pvc"]]
  204. required: true
  205. - variable: password
  206. label: Password
  207. description: The password for the SMB share.
  208. schema:
  209. type: string
  210. show_if: [["type", "=", "smb-pv-pvc"]]
  211. required: true
  212. private: true
  213. - variable: size
  214. label: Size (in Gi)
  215. description: The size of the volume quota.
  216. schema:
  217. type: int
  218. show_if: [["type", "=", "smb-pv-pvc"]]
  219. required: true
  220. min: 1
  221. default: 1
  222. - variable: resources
  223. group: Resources Configuration
  224. label: ""
  225. schema:
  226. type: dict
  227. attrs:
  228. - variable: limits
  229. label: Limits
  230. schema:
  231. type: dict
  232. attrs:
  233. - variable: cpu
  234. label: CPU
  235. description: CPU limit for Flame.
  236. schema:
  237. type: string
  238. max_length: 6
  239. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  240. valid_chars_error: |
  241. Valid CPU limit formats are</br>
  242. - Plain Integer - eg. 1</br>
  243. - Float - eg. 0.5</br>
  244. - Milicpu - eg. 500m
  245. default: "4000m"
  246. required: true
  247. - variable: memory
  248. label: Memory
  249. description: Memory limit for Flame.
  250. schema:
  251. type: string
  252. max_length: 12
  253. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  254. valid_chars_error: |
  255. Valid Memory limit formats are</br>
  256. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  257. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  258. - Plain Integer in bytes - eg. 1024</br>
  259. - Exponent - eg. 134e6
  260. default: "8Gi"
  261. required: true