questions.yaml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. groups:
  2. - name: "Configuration"
  3. description: "Diskover application configuration"
  4. - name: "Storage"
  5. description: "Configure storage for Diskover"
  6. - name: "Networking"
  7. description: "Networking Configuration for Diskover"
  8. - name: "Advanced DNS Settings"
  9. description: "Configure DNS settings"
  10. portals:
  11. web_portal:
  12. protocols:
  13. - "http"
  14. host:
  15. - "$node_ip"
  16. ports:
  17. - "$variable-web_port"
  18. path: "/"
  19. questions:
  20. - variable: web_port
  21. label: "Web Port for Diskover"
  22. group: Networking
  23. schema:
  24. type: int
  25. min: 8000
  26. max: 65535
  27. default: 22510
  28. required: true
  29. - variable: timezone
  30. label: "Configure timezone"
  31. group: "Configuration"
  32. description: "Configure timezone for Diskover"
  33. schema:
  34. type: string
  35. $ref:
  36. - "definitions/timezone"
  37. - variable: dnsConfig
  38. label: "DNS Configuration"
  39. group: "Advanced DNS Settings"
  40. schema:
  41. type: dict
  42. attrs:
  43. - variable: options
  44. label: "DNS Options"
  45. schema:
  46. type: list
  47. items:
  48. - variable: optionsEntry
  49. label: "Option Entry Configuration"
  50. schema:
  51. type: dict
  52. attrs:
  53. - variable: name
  54. label: "Option Name"
  55. schema:
  56. type: string
  57. required: true
  58. - variable: value
  59. label: "Option Value"
  60. schema:
  61. type: string
  62. required: true
  63. - variable: ownerUID
  64. label: "Config folder's user id"
  65. description: "Linuxserver uses this user id to configure config's folders permissions"
  66. group: Configuration
  67. schema:
  68. type: int
  69. default: 568
  70. min: 1
  71. max: 65535
  72. - variable: ownerGID
  73. label: "Config folder's group id"
  74. description: "Linuxserver uses this group id to configure config's folders permissions"
  75. group: Configuration
  76. schema:
  77. type: int
  78. default: 568
  79. min: 1
  80. max: 65535
  81. - variable: diskoverCredentials
  82. description: "Configure Diskover Initial Password"
  83. label: "Configure Diskover Initial Username and password"
  84. group: "Configuration"
  85. schema:
  86. type: dict
  87. required: true
  88. additional_attrs: true
  89. attrs:
  90. - variable: username
  91. label: "Username"
  92. description: "UserName for Diskover User"
  93. schema:
  94. type: string
  95. default: "admin"
  96. required: true
  97. - variable: password
  98. label: "Password"
  99. description: "Initial Password for Diskover User"
  100. schema:
  101. type: string
  102. private: true
  103. default: "changeme"
  104. required: true
  105. - variable: environmentVariables
  106. label: "Diskover Extra Environment"
  107. group: "Configuration"
  108. schema:
  109. type: list
  110. default: []
  111. items:
  112. - variable: environmentVariable
  113. label: "Environment Variable"
  114. schema:
  115. type: dict
  116. attrs:
  117. - variable: name
  118. label: "Name"
  119. schema:
  120. type: string
  121. - variable: value
  122. label: "Value"
  123. schema:
  124. type: string
  125. - variable: cronjobSchedule
  126. description: "Cronjobs Consist on 5 values in this specific format 'Minute Hour Day Month Week'"
  127. label: "Define cronjob schedule for diskover"
  128. group: "Configuration"
  129. schema:
  130. type: string
  131. default: "0 3 * * *"
  132. - variable: appVolumeMounts
  133. label: "Diskover Storage"
  134. group: "Storage"
  135. schema:
  136. type: dict
  137. attrs:
  138. - variable: config
  139. label: "Storage Volume for Configuration"
  140. schema:
  141. type: dict
  142. attrs:
  143. - variable: datasetName
  144. label: "Configuration Storage Volume Dataset Name"
  145. schema:
  146. type: string
  147. hidden: true
  148. $ref:
  149. - "normalize/ixVolume"
  150. show_if: [["hostPathEnabled", "=", false]]
  151. default: "ix-config"
  152. editable: false
  153. - variable: mountPath
  154. label: "Configuration Storage Mount Path"
  155. description: "Path where the volume will be mounted inside the pod"
  156. schema:
  157. type: path
  158. hidden: true
  159. editable: true
  160. default: "/config"
  161. - variable: hostPathEnabled
  162. label: "Enable Custom Host Path for Diskover Configuration Storage Volume"
  163. schema:
  164. type: boolean
  165. default: false
  166. show_subquestions_if: true
  167. subquestions:
  168. - variable: hostPath
  169. label: "Host Path for Diskover Configuration Storage Volume"
  170. schema:
  171. type: hostpath
  172. required: true
  173. - variable: data
  174. label: "Storage Volume for Data"
  175. schema:
  176. type: dict
  177. attrs:
  178. - variable: datasetName
  179. label: "Configuration Storage Volume Dataset Name"
  180. schema:
  181. type: string
  182. hidden: true
  183. $ref:
  184. - "normalize/ixVolume"
  185. show_if: [["hostPathEnabled", "=", false]]
  186. default: "ix-data"
  187. editable: false
  188. - variable: mountPath
  189. label: "Configuration Storage Mount Path"
  190. description: "Path where the volume will be mounted inside the pod"
  191. schema:
  192. type: path
  193. hidden: true
  194. editable: true
  195. default: "/data"
  196. - variable: hostPathEnabled
  197. label: "Enable Custom Host Path for Diskover Data folder to monitor"
  198. schema:
  199. type: boolean
  200. default: false
  201. show_subquestions_if: true
  202. subquestions:
  203. - variable: hostPath
  204. label: "Host Path for Diskover Data folder to monitor"
  205. schema:
  206. type: hostpath
  207. required: true
  208. - variable: extraDataVolumeMounts
  209. label: "Add Extra Host Paths For Diskover To Monitor"
  210. group: "Storage"
  211. schema:
  212. type: list
  213. items:
  214. - variable: dataAppVolume
  215. label: "Host Path Volume"
  216. description: "Add extra Data Volumes for diskover to monitor"
  217. schema:
  218. type: dict
  219. attrs:
  220. - variable: mountPath
  221. label: "Mount Path in Pod"
  222. description: "Path where the volume will be mounted inside the pod"
  223. schema:
  224. type: path
  225. required: true
  226. - variable: hostPath
  227. label: "Host Path"
  228. description: "Host path"
  229. schema:
  230. type: hostpath
  231. required: true
  232. - variable: extraAppVolumeMounts
  233. label: "Extra Host Path Volumes"
  234. group: "Storage"
  235. schema:
  236. type: list
  237. items:
  238. - variable: extraAppVolume
  239. label: "Host Path Volume"
  240. description: "Add an extra host path volume for Diskover application"
  241. schema:
  242. type: dict
  243. attrs:
  244. - variable: mountPath
  245. label: "Mount Path in Pod"
  246. description: "Path where the volume will be mounted inside the pod"
  247. schema:
  248. type: path
  249. required: true
  250. - variable: hostPath
  251. label: "Host Path"
  252. description: "Host path"
  253. schema:
  254. type: hostpath
  255. required: true
  256. - variable: elasticSearchAppVolumeMounts
  257. label: "elastic search Storage"
  258. group: "Storage"
  259. schema:
  260. type: dict
  261. hidden: true
  262. attrs:
  263. - variable: esdata
  264. label: "Storage Volume for Configuration"
  265. schema:
  266. type: dict
  267. attrs:
  268. - variable: datasetName
  269. label: "Configuration Storage Volume Dataset Name"
  270. schema:
  271. type: string
  272. $ref:
  273. - "normalize/ixVolume"
  274. default: "ix-elasticsearch-data"
  275. editable: false
  276. - variable: mountPath
  277. label: "Configuration Storage Mount Path"
  278. description: "Path where the volume will be mounted inside the pod"
  279. schema:
  280. type: path
  281. editable: false
  282. default: "/usr/share/elasticsearch/data"