questions.yaml 10 KB

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