questions.yaml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  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. immutable: true
  163. default: "ixVolume"
  164. enum:
  165. - value: "hostPath"
  166. description: Host Path (Path that already exists on the system)
  167. - value: "ixVolume"
  168. description: ixVolume (Dataset created automatically by the system)
  169. - variable: datasetName
  170. label: Dataset Name
  171. schema:
  172. type: string
  173. show_if: [["type", "=", "ixVolume"]]
  174. required: true
  175. hidden: true
  176. immutable: true
  177. default: "data"
  178. $ref:
  179. - "normalize/ixVolume"
  180. - variable: hostPath
  181. label: Host Path
  182. schema:
  183. type: hostpath
  184. show_if: [["type", "=", "hostPath"]]
  185. immutable: true
  186. required: true
  187. - variable: media
  188. label: Paperless-ngx Media Storage
  189. description: The path to store Paperless-ngx Media.
  190. schema:
  191. type: dict
  192. attrs:
  193. - variable: type
  194. label: Type
  195. description: |
  196. ixVolume: Is dataset created automatically by the system.</br>
  197. Host Path: Is a path that already exists on the system.
  198. schema:
  199. type: string
  200. required: true
  201. immutable: true
  202. default: "ixVolume"
  203. enum:
  204. - value: "hostPath"
  205. description: Host Path (Path that already exists on the system)
  206. - value: "ixVolume"
  207. description: ixVolume (Dataset created automatically by the system)
  208. - variable: datasetName
  209. label: Dataset Name
  210. schema:
  211. type: string
  212. show_if: [["type", "=", "ixVolume"]]
  213. required: true
  214. hidden: true
  215. immutable: true
  216. default: "media"
  217. $ref:
  218. - "normalize/ixVolume"
  219. - variable: hostPath
  220. label: Host Path
  221. schema:
  222. type: hostpath
  223. show_if: [["type", "=", "hostPath"]]
  224. immutable: true
  225. required: true
  226. - variable: consume
  227. label: Paperless-ngx Consumption Storage
  228. description: The path to store Paperless-ngx Data for Consumption.
  229. schema:
  230. type: dict
  231. attrs:
  232. - variable: type
  233. label: Type
  234. description: |
  235. ixVolume: Is dataset created automatically by the system.</br>
  236. Host Path: Is a path that already exists on the system.
  237. schema:
  238. type: string
  239. required: true
  240. immutable: true
  241. default: "ixVolume"
  242. enum:
  243. - value: "hostPath"
  244. description: Host Path (Path that already exists on the system)
  245. - value: "ixVolume"
  246. description: ixVolume (Dataset created automatically by the system)
  247. - variable: datasetName
  248. label: Dataset Name
  249. schema:
  250. type: string
  251. show_if: [["type", "=", "ixVolume"]]
  252. required: true
  253. hidden: true
  254. immutable: true
  255. default: "consume"
  256. $ref:
  257. - "normalize/ixVolume"
  258. - variable: hostPath
  259. label: Host Path
  260. schema:
  261. type: hostpath
  262. show_if: [["type", "=", "hostPath"]]
  263. immutable: true
  264. required: true
  265. - variable: trash
  266. label: Paperless-ngx Trash Storage
  267. description: |
  268. The path to store Paperless-ngx Trash.</br>
  269. This is only used when the trash feature is enabled.
  270. schema:
  271. type: dict
  272. attrs:
  273. - variable: type
  274. label: Type
  275. description: |
  276. ixVolume: Is dataset created automatically by the system.</br>
  277. Host Path: Is a path that already exists on the system.
  278. schema:
  279. type: string
  280. required: true
  281. immutable: true
  282. default: "ixVolume"
  283. enum:
  284. - value: "hostPath"
  285. description: Host Path (Path that already exists on the system)
  286. - value: "ixVolume"
  287. description: ixVolume (Dataset created automatically by the system)
  288. - variable: datasetName
  289. label: Dataset Name
  290. schema:
  291. type: string
  292. show_if: [["type", "=", "ixVolume"]]
  293. required: true
  294. hidden: true
  295. immutable: true
  296. default: "trash"
  297. $ref:
  298. - "normalize/ixVolume"
  299. - variable: hostPath
  300. label: Host Path
  301. schema:
  302. type: hostpath
  303. show_if: [["type", "=", "hostPath"]]
  304. immutable: true
  305. required: true
  306. - variable: pgData
  307. label: Paperless-ngx Postgres Data Storage
  308. description: The path to store Paperless-ngx Postgres Data.
  309. schema:
  310. type: dict
  311. attrs:
  312. - variable: type
  313. label: Type
  314. description: |
  315. ixVolume: Is dataset created automatically by the system.</br>
  316. Host Path: Is a path that already exists on the system.
  317. schema:
  318. type: string
  319. required: true
  320. immutable: true
  321. default: ixVolume
  322. enum:
  323. - value: hostPath
  324. description: Host Path (Path that already exists on the system)
  325. - value: ixVolume
  326. description: ixVolume (Dataset created automatically by the system)
  327. - variable: datasetName
  328. label: Dataset Name
  329. schema:
  330. type: string
  331. show_if: [["type", "=", "ixVolume"]]
  332. required: true
  333. hidden: true
  334. immutable: true
  335. default: pgData
  336. $ref:
  337. - "normalize/ixVolume"
  338. - variable: hostPath
  339. label: Host Path
  340. schema:
  341. type: hostpath
  342. show_if: [["type", "=", "hostPath"]]
  343. immutable: true
  344. required: true
  345. - variable: pgBackup
  346. label: Paperless-ngx Postgres Backup Storage
  347. description: The path to store Paperless-ngx Postgres Backup.
  348. schema:
  349. type: dict
  350. attrs:
  351. - variable: type
  352. label: Type
  353. description: |
  354. ixVolume: Is dataset created automatically by the system.</br>
  355. Host Path: Is a path that already exists on the system.
  356. schema:
  357. type: string
  358. required: true
  359. immutable: true
  360. default: ixVolume
  361. enum:
  362. - value: hostPath
  363. description: Host Path (Path that already exists on the system)
  364. - value: ixVolume
  365. description: ixVolume (Dataset created automatically by the system)
  366. - variable: datasetName
  367. label: Dataset Name
  368. schema:
  369. type: string
  370. show_if: [["type", "=", "ixVolume"]]
  371. required: true
  372. hidden: true
  373. immutable: true
  374. default: pgBackup
  375. $ref:
  376. - "normalize/ixVolume"
  377. - variable: hostPath
  378. label: Host Path
  379. schema:
  380. type: hostpath
  381. show_if: [["type", "=", "hostPath"]]
  382. immutable: true
  383. required: true
  384. - variable: additionalStorages
  385. label: Additional Storage
  386. description: Additional storage for Paperless-ngx.
  387. schema:
  388. type: list
  389. default: []
  390. items:
  391. - variable: storageEntry
  392. label: Storage Entry
  393. schema:
  394. type: dict
  395. attrs:
  396. - variable: type
  397. label: Type
  398. description: |
  399. ixVolume: Is dataset created automatically by the system.</br>
  400. Host Path: Is a path that already exists on the system.</br>
  401. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  402. schema:
  403. type: string
  404. required: true
  405. default: "ixVolume"
  406. immutable: true
  407. enum:
  408. - value: "hostPath"
  409. description: Host Path (Path that already exists on the system)
  410. - value: "ixVolume"
  411. description: ixVolume (Dataset created automatically by the system)
  412. - value: "smb-pv-pvc"
  413. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  414. - variable: mountPath
  415. label: Mount Path
  416. description: The path inside the container to mount the storage.
  417. schema:
  418. type: path
  419. required: true
  420. - variable: hostPath
  421. label: Host Path
  422. description: The host path to use for storage.
  423. schema:
  424. type: hostpath
  425. show_if: [["type", "=", "hostPath"]]
  426. required: true
  427. - variable: datasetName
  428. label: Dataset Name
  429. description: The name of the dataset to use for storage.
  430. schema:
  431. type: string
  432. show_if: [["type", "=", "ixVolume"]]
  433. required: true
  434. immutable: true
  435. default: "storage_entry"
  436. $ref:
  437. - "normalize/ixVolume"
  438. - variable: server
  439. label: Server
  440. description: The server for the SMB share.
  441. schema:
  442. type: string
  443. show_if: [["type", "=", "smb-pv-pvc"]]
  444. required: true
  445. - variable: share
  446. label: Share
  447. description: The share name for the SMB share.
  448. schema:
  449. type: string
  450. show_if: [["type", "=", "smb-pv-pvc"]]
  451. required: true
  452. - variable: domain
  453. label: Domain (Optional)
  454. description: The domain for the SMB share.
  455. schema:
  456. type: string
  457. show_if: [["type", "=", "smb-pv-pvc"]]
  458. - variable: username
  459. label: Username
  460. description: The username for the SMB share.
  461. schema:
  462. type: string
  463. show_if: [["type", "=", "smb-pv-pvc"]]
  464. required: true
  465. - variable: password
  466. label: Password
  467. description: The password for the SMB share.
  468. schema:
  469. type: string
  470. show_if: [["type", "=", "smb-pv-pvc"]]
  471. required: true
  472. private: true
  473. - variable: size
  474. label: Size (in Gi)
  475. description: The size of the volume quota.
  476. schema:
  477. type: int
  478. show_if: [["type", "=", "smb-pv-pvc"]]
  479. required: true
  480. min: 1
  481. default: 1
  482. - variable: resources
  483. group: Resources Configuration
  484. label: ""
  485. schema:
  486. type: dict
  487. attrs:
  488. - variable: limits
  489. label: Limits
  490. schema:
  491. type: dict
  492. attrs:
  493. - variable: cpu
  494. label: CPU
  495. description: CPU limit for Paperless-ngx.
  496. schema:
  497. type: string
  498. max_length: 6
  499. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  500. valid_chars_error: |
  501. Valid CPU limit formats are</br>
  502. - Plain Integer - eg. 1</br>
  503. - Float - eg. 0.5</br>
  504. - Milicpu - eg. 500m
  505. default: "4000m"
  506. required: true
  507. - variable: memory
  508. label: Memory
  509. description: Memory limit for Paperless-ngx.
  510. schema:
  511. type: string
  512. max_length: 12
  513. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  514. valid_chars_error: |
  515. Valid Memory limit formats are</br>
  516. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  517. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  518. - Plain Integer in bytes - eg. 1024</br>
  519. - Exponent - eg. 134e6
  520. default: "8Gi"
  521. required: true