questions.yaml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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. enum:
  146. - value: "hostPath"
  147. description: Host Path (Path that already exists on the system)
  148. - value: "ixVolume"
  149. description: ixVolume (Dataset created automatically by the system)
  150. - variable: mountPath
  151. label: Mount Path
  152. description: The path inside the container to mount the storage.
  153. schema:
  154. type: path
  155. required: true
  156. - variable: hostPath
  157. label: Host Path
  158. description: The host path to use for storage.
  159. schema:
  160. type: hostpath
  161. show_if: [["type", "=", "hostPath"]]
  162. required: true
  163. - variable: datasetName
  164. label: Dataset Name
  165. description: The name of the dataset to use for storage.
  166. schema:
  167. type: string
  168. show_if: [["type", "=", "ixVolume"]]
  169. required: true
  170. immutable: true
  171. default: "storage_entry"
  172. $ref:
  173. - "normalize/ixVolume"
  174. - variable: resources
  175. group: Resources Configuration
  176. label: ""
  177. schema:
  178. type: dict
  179. attrs:
  180. - variable: limits
  181. label: Limits
  182. schema:
  183. type: dict
  184. attrs:
  185. - variable: cpu
  186. label: CPU
  187. description: CPU limit for Flame.
  188. schema:
  189. type: string
  190. max_length: 6
  191. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  192. valid_chars_error: |
  193. Valid CPU limit formats are</br>
  194. - Plain Integer - eg. 1</br>
  195. - Float - eg. 0.5</br>
  196. - Milicpu - eg. 500m
  197. default: "4000m"
  198. required: true
  199. - variable: memory
  200. label: Memory
  201. description: Memory limit for Flame.
  202. schema:
  203. type: string
  204. max_length: 12
  205. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  206. valid_chars_error: |
  207. Valid Memory limit formats are</br>
  208. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  209. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  210. - Plain Integer in bytes - eg. 1024</br>
  211. - Exponent - eg. 134e6
  212. default: "8Gi"
  213. required: true