questions.yaml 10 KB

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