questions.yaml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. groups:
  2. - name: Lidarr Configuration
  3. description: Configure Lidarr
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Lidarr
  6. - name: Network Configuration
  7. description: Configure Network for Lidarr
  8. - name: Storage Configuration
  9. description: Configure Storage for Lidarr
  10. - name: Resources Configuration
  11. description: Configure Resources for Lidarr
  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: lidarrConfig
  23. label: ""
  24. group: Lidarr Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: instanceName
  29. label: Instance Name
  30. description: The name of the Lidarr instance.
  31. schema:
  32. type: string
  33. default: "Lidarr"
  34. required: true
  35. - variable: additionalEnvs
  36. label: Additional Environment Variables
  37. description: Configure additional environment variables for Lidarr.
  38. schema:
  39. type: list
  40. default: []
  41. items:
  42. - variable: env
  43. label: Environment Variable
  44. schema:
  45. type: dict
  46. attrs:
  47. - variable: name
  48. label: Name
  49. schema:
  50. type: string
  51. required: true
  52. - variable: value
  53. label: Value
  54. schema:
  55. type: string
  56. required: true
  57. - variable: lidarrRunAs
  58. label: ""
  59. group: User and Group Configuration
  60. schema:
  61. type: dict
  62. attrs:
  63. - variable: user
  64. label: User ID
  65. description: The user id that Lidarr will run as.
  66. schema:
  67. type: int
  68. min: 2
  69. default: 568
  70. required: true
  71. - variable: group
  72. label: Group ID
  73. description: The group id that Lidarr will run as.
  74. schema:
  75. type: int
  76. min: 2
  77. default: 568
  78. required: true
  79. - variable: lidarrNetwork
  80. label: ""
  81. group: Network Configuration
  82. schema:
  83. type: dict
  84. attrs:
  85. - variable: webPort
  86. label: Web Port
  87. description: The port for the Lidarr Web UI.
  88. schema:
  89. type: int
  90. default: 30000
  91. min: 9000
  92. max: 65535
  93. required: true
  94. - variable: hostNetwork
  95. label: Host Network
  96. description: |
  97. Bind to the host network. It's recommended to keep this disabled.</br>
  98. schema:
  99. type: boolean
  100. default: false
  101. - variable: lidarrStorage
  102. label: ""
  103. group: Storage Configuration
  104. schema:
  105. type: dict
  106. attrs:
  107. - variable: config
  108. label: Lidarr Config Storage
  109. description: The path to store Lidarr Configuration.
  110. schema:
  111. type: dict
  112. attrs:
  113. - variable: type
  114. label: Type
  115. description: |
  116. ixVolume: Is dataset created automatically by the system.</br>
  117. Host Path: Is a path that already exists on the system.
  118. schema:
  119. type: string
  120. required: true
  121. default: "ixVolume"
  122. enum:
  123. - value: "hostPath"
  124. description: Host Path (Path that already exists on the system)
  125. - value: "ixVolume"
  126. description: ixVolume (Dataset created automatically by the system)
  127. - variable: datasetName
  128. label: Dataset Name
  129. schema:
  130. type: string
  131. show_if: [["type", "=", "ixVolume"]]
  132. required: true
  133. hidden: true
  134. immutable: true
  135. default: "config"
  136. $ref:
  137. - "normalize/ixVolume"
  138. - variable: hostPath
  139. label: Host Path
  140. schema:
  141. type: hostpath
  142. show_if: [["type", "=", "hostPath"]]
  143. immutable: true
  144. required: true
  145. - variable: additionalStorages
  146. label: Additional Storage
  147. description: Additional storage for Lidarr.
  148. schema:
  149. type: list
  150. default: []
  151. items:
  152. - variable: storageEntry
  153. label: Storage Entry
  154. schema:
  155. type: dict
  156. attrs:
  157. - variable: type
  158. label: Type
  159. description: |
  160. ixVolume: Is dataset created automatically by the system.</br>
  161. Host Path: Is a path that already exists on the system.
  162. schema:
  163. type: string
  164. required: true
  165. default: "ixVolume"
  166. enum:
  167. - value: "hostPath"
  168. description: Host Path (Path that already exists on the system)
  169. - value: "ixVolume"
  170. description: ixVolume (Dataset created automatically by the system)
  171. - variable: mountPath
  172. label: Mount Path
  173. description: The path inside the container to mount the storage.
  174. schema:
  175. type: path
  176. required: true
  177. - variable: hostPath
  178. label: Host Path
  179. description: The host path to use for storage.
  180. schema:
  181. type: hostpath
  182. show_if: [["type", "=", "hostPath"]]
  183. required: true
  184. - variable: datasetName
  185. label: Dataset Name
  186. description: The name of the dataset to use for storage.
  187. schema:
  188. type: string
  189. show_if: [["type", "=", "ixVolume"]]
  190. required: true
  191. immutable: true
  192. default: "storage_entry"
  193. $ref:
  194. - "normalize/ixVolume"
  195. - variable: resources
  196. group: Resources Configuration
  197. label: ""
  198. schema:
  199. type: dict
  200. attrs:
  201. - variable: limits
  202. label: Limits
  203. schema:
  204. type: dict
  205. attrs:
  206. - variable: cpu
  207. label: CPU
  208. description: CPU limit for Lidarr.
  209. schema:
  210. type: string
  211. default: "4000m"
  212. required: true
  213. - variable: memory
  214. label: Memory
  215. description: Memory limit for Lidarr.
  216. schema:
  217. type: string
  218. default: "8Gi"
  219. required: true