questions.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. groups:
  2. - name: Paperless-ngx Configuration
  3. description: Configure Paperless-ngx
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Paperless-ngx
  6. - name: Network Configuration
  7. description: Configure Network for Paperless-ngx
  8. - name: Storage Configuration
  9. description: Configure Storage for Paperless-ngx
  10. - name: Resources Configuration
  11. description: Configure Resources for Paperless-ngx
  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: TZ
  23. group: Paperless-ngx Configuration
  24. label: Timezone
  25. schema:
  26. type: string
  27. default: Etc/UTC
  28. required: true
  29. $ref:
  30. - definitions/timezone
  31. - variable: paperlessConfig
  32. label: ""
  33. group: Paperless-ngx Configuration
  34. schema:
  35. type: dict
  36. attrs:
  37. - variable: adminUser
  38. label: Admin User
  39. description: |
  40. The admin user for Paperless-ngx.</br>
  41. It is only used for the initial installation.
  42. schema:
  43. type: string
  44. default: ""
  45. immutable: true
  46. required: true
  47. - variable: adminPassword
  48. label: Admin Password
  49. description: |
  50. The admin password for Paperless-ngx.</br>
  51. It is only used for the initial installation.
  52. schema:
  53. type: string
  54. default: ""
  55. immutable: true
  56. required: true
  57. private: true
  58. - variable: adminMail
  59. label: Admin Mail
  60. description: |
  61. The admin mail for Paperless-ngx.</br>
  62. It is only used for the initial installation.
  63. schema:
  64. type: string
  65. default: ""
  66. immutable: true
  67. required: true
  68. - variable: enableTrash
  69. label: Enable Trash
  70. description: |
  71. Enable the trash feature for Paperless-ngx.</br>
  72. When enabled, documents will be moved to the trash instead of being deleted.
  73. schema:
  74. type: boolean
  75. default: true
  76. - variable: additionalEnvs
  77. label: Additional Environment Variables
  78. description: Configure additional environment variables for Paperless-ngx.
  79. schema:
  80. type: list
  81. default: []
  82. items:
  83. - variable: env
  84. label: Environment Variable
  85. schema:
  86. type: dict
  87. attrs:
  88. - variable: name
  89. label: Name
  90. schema:
  91. type: string
  92. required: true
  93. - variable: value
  94. label: Value
  95. schema:
  96. type: string
  97. required: true
  98. - variable: paperlessID
  99. label: ""
  100. group: User and Group Configuration
  101. schema:
  102. type: dict
  103. attrs:
  104. - variable: user
  105. label: User ID
  106. description: The user id that Paperless-ngx files will be owned by.
  107. schema:
  108. type: int
  109. min: 568
  110. default: 568
  111. required: true
  112. - variable: group
  113. label: Group ID
  114. description: The group id that Paperless-ngx files will be owned by.
  115. schema:
  116. type: int
  117. min: 568
  118. default: 568
  119. required: true
  120. - variable: paperlessNetwork
  121. label: ""
  122. group: Network Configuration
  123. schema:
  124. type: dict
  125. attrs:
  126. - variable: webPort
  127. label: Web Port
  128. description: The port for the Paperless-ngx Web UI.
  129. schema:
  130. type: int
  131. default: 30070
  132. min: 9000
  133. max: 65535
  134. required: true
  135. - variable: hostNetwork
  136. label: Host Network
  137. description: |
  138. Bind to the host network. It's recommended to keep this disabled.</br>
  139. schema:
  140. type: boolean
  141. default: false
  142. - variable: paperlessStorage
  143. label: ""
  144. group: Storage Configuration
  145. schema:
  146. type: dict
  147. attrs:
  148. - variable: data
  149. label: Paperless-ngx Data Storage
  150. description: The path to store Paperless-ngx Data.
  151. schema:
  152. type: dict
  153. attrs:
  154. - variable: type
  155. label: Type
  156. description: |
  157. ixVolume: Is dataset created automatically by the system.</br>
  158. Host Path: Is a path that already exists on the system.
  159. schema:
  160. type: string
  161. required: true
  162. default: "ixVolume"
  163. enum:
  164. - value: "hostPath"
  165. description: Host Path (Path that already exists on the system)
  166. - value: "ixVolume"
  167. description: ixVolume (Dataset created automatically by the system)
  168. - variable: datasetName
  169. label: Dataset Name
  170. schema:
  171. type: string
  172. show_if: [["type", "=", "ixVolume"]]
  173. required: true
  174. hidden: true
  175. immutable: true
  176. default: "data"
  177. $ref:
  178. - "normalize/ixVolume"
  179. - variable: hostPath
  180. label: Host Path
  181. schema:
  182. type: hostpath
  183. show_if: [["type", "=", "hostPath"]]
  184. immutable: true
  185. required: true
  186. - variable: media
  187. label: Paperless-ngx Media Storage
  188. description: The path to store Paperless-ngx Media.
  189. schema:
  190. type: dict
  191. attrs:
  192. - variable: type
  193. label: Type
  194. description: |
  195. ixVolume: Is dataset created automatically by the system.</br>
  196. Host Path: Is a path that already exists on the system.
  197. schema:
  198. type: string
  199. required: true
  200. default: "ixVolume"
  201. enum:
  202. - value: "hostPath"
  203. description: Host Path (Path that already exists on the system)
  204. - value: "ixVolume"
  205. description: ixVolume (Dataset created automatically by the system)
  206. - variable: datasetName
  207. label: Dataset Name
  208. schema:
  209. type: string
  210. show_if: [["type", "=", "ixVolume"]]
  211. required: true
  212. hidden: true
  213. immutable: true
  214. default: "media"
  215. $ref:
  216. - "normalize/ixVolume"
  217. - variable: hostPath
  218. label: Host Path
  219. schema:
  220. type: hostpath
  221. show_if: [["type", "=", "hostPath"]]
  222. immutable: true
  223. required: true
  224. - variable: consume
  225. label: Paperless-ngx Consumption Storage
  226. description: The path to store Paperless-ngx Data for Consumption.
  227. schema:
  228. type: dict
  229. attrs:
  230. - variable: type
  231. label: Type
  232. description: |
  233. ixVolume: Is dataset created automatically by the system.</br>
  234. Host Path: Is a path that already exists on the system.
  235. schema:
  236. type: string
  237. required: true
  238. default: "ixVolume"
  239. enum:
  240. - value: "hostPath"
  241. description: Host Path (Path that already exists on the system)
  242. - value: "ixVolume"
  243. description: ixVolume (Dataset created automatically by the system)
  244. - variable: datasetName
  245. label: Dataset Name
  246. schema:
  247. type: string
  248. show_if: [["type", "=", "ixVolume"]]
  249. required: true
  250. hidden: true
  251. immutable: true
  252. default: "consume"
  253. $ref:
  254. - "normalize/ixVolume"
  255. - variable: hostPath
  256. label: Host Path
  257. schema:
  258. type: hostpath
  259. show_if: [["type", "=", "hostPath"]]
  260. immutable: true
  261. required: true
  262. - variable: trash
  263. label: Paperless-ngx Trash Storage
  264. description: |
  265. The path to store Paperless-ngx Trash.</br>
  266. This is only used when the trash feature is enabled.
  267. schema:
  268. type: dict
  269. attrs:
  270. - variable: type
  271. label: Type
  272. description: |
  273. ixVolume: Is dataset created automatically by the system.</br>
  274. Host Path: Is a path that already exists on the system.
  275. schema:
  276. type: string
  277. required: true
  278. default: "ixVolume"
  279. enum:
  280. - value: "hostPath"
  281. description: Host Path (Path that already exists on the system)
  282. - value: "ixVolume"
  283. description: ixVolume (Dataset created automatically by the system)
  284. - variable: datasetName
  285. label: Dataset Name
  286. schema:
  287. type: string
  288. show_if: [["type", "=", "ixVolume"]]
  289. required: true
  290. hidden: true
  291. immutable: true
  292. default: "trash"
  293. $ref:
  294. - "normalize/ixVolume"
  295. - variable: hostPath
  296. label: Host Path
  297. schema:
  298. type: hostpath
  299. show_if: [["type", "=", "hostPath"]]
  300. immutable: true
  301. required: true
  302. - variable: pgData
  303. label: Paperless-ngx Postgres Data Storage
  304. description: The path to store Paperless-ngx Postgres Data.
  305. schema:
  306. type: dict
  307. attrs:
  308. - variable: type
  309. label: Type
  310. description: |
  311. ixVolume: Is dataset created automatically by the system.</br>
  312. Host Path: Is a path that already exists on the system.
  313. schema:
  314. type: string
  315. required: true
  316. default: ixVolume
  317. enum:
  318. - value: hostPath
  319. description: Host Path (Path that already exists on the system)
  320. - value: ixVolume
  321. description: ixVolume (Dataset created automatically by the system)
  322. - variable: datasetName
  323. label: Dataset Name
  324. schema:
  325. type: string
  326. show_if: [["type", "=", "ixVolume"]]
  327. required: true
  328. hidden: true
  329. immutable: true
  330. default: pgData
  331. $ref:
  332. - "normalize/ixVolume"
  333. - variable: hostPath
  334. label: Host Path
  335. schema:
  336. type: hostpath
  337. show_if: [["type", "=", "hostPath"]]
  338. immutable: true
  339. required: true
  340. - variable: pgBackup
  341. label: Paperless-ngx Postgres Backup Storage
  342. description: The path to store Paperless-ngx Postgres Backup.
  343. schema:
  344. type: dict
  345. attrs:
  346. - variable: type
  347. label: Type
  348. description: |
  349. ixVolume: Is dataset created automatically by the system.</br>
  350. Host Path: Is a path that already exists on the system.
  351. schema:
  352. type: string
  353. required: true
  354. default: ixVolume
  355. enum:
  356. - value: hostPath
  357. description: Host Path (Path that already exists on the system)
  358. - value: ixVolume
  359. description: ixVolume (Dataset created automatically by the system)
  360. - variable: datasetName
  361. label: Dataset Name
  362. schema:
  363. type: string
  364. show_if: [["type", "=", "ixVolume"]]
  365. required: true
  366. hidden: true
  367. immutable: true
  368. default: pgBackup
  369. $ref:
  370. - "normalize/ixVolume"
  371. - variable: hostPath
  372. label: Host Path
  373. schema:
  374. type: hostpath
  375. show_if: [["type", "=", "hostPath"]]
  376. immutable: true
  377. required: true
  378. - variable: additionalStorages
  379. label: Additional Storage
  380. description: Additional storage for Paperless-ngx.
  381. schema:
  382. type: list
  383. default: []
  384. items:
  385. - variable: storageEntry
  386. label: Storage Entry
  387. schema:
  388. type: dict
  389. attrs:
  390. - variable: type
  391. label: Type
  392. description: |
  393. ixVolume: Is dataset created automatically by the system.</br>
  394. Host Path: Is a path that already exists on the system.
  395. schema:
  396. type: string
  397. required: true
  398. default: "ixVolume"
  399. enum:
  400. - value: "hostPath"
  401. description: Host Path (Path that already exists on the system)
  402. - value: "ixVolume"
  403. description: ixVolume (Dataset created automatically by the system)
  404. - variable: mountPath
  405. label: Mount Path
  406. description: The path inside the container to mount the storage.
  407. schema:
  408. type: path
  409. required: true
  410. - variable: hostPath
  411. label: Host Path
  412. description: The host path to use for storage.
  413. schema:
  414. type: hostpath
  415. show_if: [["type", "=", "hostPath"]]
  416. required: true
  417. - variable: datasetName
  418. label: Dataset Name
  419. description: The name of the dataset to use for storage.
  420. schema:
  421. type: string
  422. show_if: [["type", "=", "ixVolume"]]
  423. required: true
  424. immutable: true
  425. default: "storage_entry"
  426. $ref:
  427. - "normalize/ixVolume"
  428. - variable: resources
  429. group: Resources Configuration
  430. label: ""
  431. schema:
  432. type: dict
  433. attrs:
  434. - variable: limits
  435. label: Limits
  436. schema:
  437. type: dict
  438. attrs:
  439. - variable: cpu
  440. label: CPU
  441. description: CPU limit for Paperless-ngx.
  442. schema:
  443. type: string
  444. max_length: 6
  445. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  446. valid_chars_error: |
  447. Valid CPU limit formats are</br>
  448. - Plain Integer - eg. 1</br>
  449. - Float - eg. 0.5</br>
  450. - Milicpu - eg. 500m
  451. default: "4000m"
  452. required: true
  453. - variable: memory
  454. label: Memory
  455. description: Memory limit for Paperless-ngx.
  456. schema:
  457. type: string
  458. max_length: 12
  459. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  460. valid_chars_error: |
  461. Valid Memory limit formats are</br>
  462. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  463. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  464. - Plain Integer in bytes - eg. 1024</br>
  465. - Exponent - eg. 134e6
  466. default: "8Gi"
  467. required: true