questions.yaml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. groups:
  2. - name: Mumble Configuration
  3. description: Configure Mumble
  4. - name: Network Configuration
  5. description: Configure Network for Mumble
  6. - name: Storage Configuration
  7. description: Configure Storage for Mumble
  8. - name: Resources Configuration
  9. description: Configure Resources for Mumble
  10. questions:
  11. - variable: mumbleConfig
  12. label: ""
  13. group: Mumble Configuration
  14. schema:
  15. type: dict
  16. attrs:
  17. - variable: serverPassword
  18. label: Server Password
  19. description: The password for the Mumble Server.
  20. schema:
  21. type: string
  22. empty: false
  23. required: true
  24. private: true
  25. - variable: superUserPassword
  26. label: Super User Password
  27. description: The password for the Mumble Super User.
  28. schema:
  29. type: string
  30. empty: false
  31. required: true
  32. private: true
  33. - variable: iceSecretRead
  34. label: Ice Secret Read
  35. description: The Ice Secret for Read Operations.
  36. schema:
  37. type: string
  38. empty: false
  39. required: true
  40. private: true
  41. - variable: iceSecretWrite
  42. label: Ice Secret Write
  43. description: The Ice Secret for Write Operations.
  44. schema:
  45. type: string
  46. empty: false
  47. required: true
  48. private: true
  49. - variable: users
  50. label: Users
  51. description: The maximum number of users for the Mumble Server.
  52. schema:
  53. type: int
  54. default: 100
  55. required: true
  56. - variable: welcomeText
  57. label: Welcome Text
  58. description: The welcome text for the Mumble Server.
  59. schema:
  60. type: string
  61. default: Welcome to Mumble!
  62. required: true
  63. - variable: additionalEnvs
  64. label: Additional Environment Variables
  65. description: Configure additional environment variables for Mumble.
  66. schema:
  67. type: list
  68. default: []
  69. items:
  70. - variable: env
  71. label: Environment Variable
  72. schema:
  73. type: dict
  74. attrs:
  75. - variable: name
  76. label: Name
  77. schema:
  78. type: string
  79. required: true
  80. - variable: value
  81. label: Value
  82. schema:
  83. type: string
  84. required: true
  85. - variable: mumbleNetwork
  86. label: ""
  87. group: Network Configuration
  88. schema:
  89. type: dict
  90. attrs:
  91. - variable: serverPort
  92. label: Server Port
  93. description: The port for the Mumble Server (UDP & TCP).
  94. schema:
  95. type: int
  96. default: 30018
  97. min: 9000
  98. max: 65535
  99. required: true
  100. - variable: icePort
  101. label: Ice Port
  102. description: The port for the Ice.
  103. schema:
  104. type: int
  105. default: 30019
  106. min: 9000
  107. max: 65535
  108. required: true
  109. - variable: certificateID
  110. label: Certificate
  111. description: The certificate to use for Mumble
  112. schema:
  113. type: int
  114. "null": true
  115. $ref:
  116. - "definitions/certificate"
  117. - variable: mumbleStorage
  118. label: ""
  119. group: Storage Configuration
  120. schema:
  121. type: dict
  122. attrs:
  123. - variable: data
  124. label: Mumble Data Storage
  125. description: The path to store Mumble Data.
  126. schema:
  127. type: dict
  128. attrs:
  129. - variable: type
  130. label: Type
  131. description: |
  132. ixVolume: Is dataset created automatically by the system.</br>
  133. Host Path: Is a path that already exists on the system.
  134. schema:
  135. type: string
  136. required: true
  137. immutable: true
  138. default: ixVolume
  139. enum:
  140. - value: hostPath
  141. description: Host Path (Path that already exists on the system)
  142. - value: ixVolume
  143. description: ixVolume (Dataset created automatically by the system)
  144. - variable: datasetName
  145. label: Dataset Name
  146. schema:
  147. type: string
  148. show_if: [["type", "=", "ixVolume"]]
  149. required: true
  150. hidden: true
  151. immutable: true
  152. default: data
  153. $ref:
  154. - "normalize/ixVolume"
  155. - variable: hostPath
  156. label: Host Path
  157. schema:
  158. type: hostpath
  159. show_if: [["type", "=", "hostPath"]]
  160. immutable: true
  161. required: true
  162. - variable: resources
  163. label: Resources Configuration
  164. group: Resources Configuration
  165. schema:
  166. type: dict
  167. attrs:
  168. - variable: limits
  169. label: Limits
  170. schema:
  171. type: dict
  172. attrs:
  173. - variable: cpu
  174. label: CPU
  175. description: CPU limit for Mumble.
  176. schema:
  177. type: string
  178. max_length: 6
  179. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  180. valid_chars_error: |
  181. Valid CPU limit formats are</br>
  182. - Plain Integer - eg. 1</br>
  183. - Float - eg. 0.5</br>
  184. - Milicpu - eg. 500m
  185. default: "4000m"
  186. required: true
  187. - variable: memory
  188. label: Memory
  189. description: Memory limit for Mumble.
  190. schema:
  191. type: string
  192. max_length: 12
  193. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  194. valid_chars_error: |
  195. Valid Memory limit formats are</br>
  196. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  197. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  198. - Plain Integer in bytes - eg. 1024</br>
  199. - Exponent - eg. 134e6
  200. default: "8Gi"
  201. required: true