questions.yaml 14 KB

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