questions.yaml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. groups:
  2. - name: Plex Configuration
  3. description: Configure Plex
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Plex
  6. - name: Advanced Pod Configuration
  7. description: Configure Advanced Pod Options for Plex
  8. - name: Network Configuration
  9. description: Configure Network for Plex
  10. - name: Storage Configuration
  11. description: Configure Storage for Plex
  12. - name: Resources Configuration
  13. description: Configure Resources for Plex
  14. portals:
  15. web_portal:
  16. protocols:
  17. - "$kubernetes-resource_configmap_portal_protocol"
  18. host:
  19. - "$kubernetes-resource_configmap_portal_host"
  20. ports:
  21. - "$kubernetes-resource_configmap_portal_port"
  22. path: "$kubernetes-resource_configmap_portal_path"
  23. questions:
  24. - variable: TZ
  25. group: Plex Configuration
  26. label: Timezone
  27. schema:
  28. type: string
  29. default: Etc/UTC
  30. required: true
  31. $ref:
  32. - definitions/timezone
  33. - variable: plexConfig
  34. label: ""
  35. group: Plex Configuration
  36. schema:
  37. type: dict
  38. attrs:
  39. - variable: claimToken
  40. label: Claim Token
  41. description: |
  42. The claim token for the server to obtain a real server token.
  43. If not provided, server is will not be automatically logged in.
  44. If server is already logged in, this parameter is ignored.
  45. You can obtain a claim token to login your server to your plex account
  46. by visiting https://www.plex.tv/claim.
  47. schema:
  48. type: string
  49. default: ""
  50. private: true
  51. - variable: imageSelector
  52. label: Image
  53. description: |
  54. The image to use for Plex.
  55. schema:
  56. type: string
  57. default: "image"
  58. required: true
  59. enum:
  60. - value: "image"
  61. description: Plex Official Image
  62. - value: "plexPassImage"
  63. description: Plex Pass Image
  64. - variable: additionalEnvs
  65. label: Additional Environment Variables
  66. description: Configure additional environment variables for Plex.
  67. schema:
  68. type: list
  69. default: []
  70. items:
  71. - variable: env
  72. label: Environment Variable
  73. schema:
  74. type: dict
  75. attrs:
  76. - variable: name
  77. label: Name
  78. schema:
  79. type: string
  80. required: true
  81. - variable: value
  82. label: Value
  83. schema:
  84. type: string
  85. required: true
  86. - variable: plexID
  87. label: ""
  88. group: User and Group Configuration
  89. schema:
  90. type: dict
  91. attrs:
  92. - variable: user
  93. label: User ID
  94. description: The user id that Plex files will be owned by.
  95. schema:
  96. type: int
  97. min: 568
  98. default: 568
  99. required: true
  100. - variable: group
  101. label: Group ID
  102. description: The group id that Plex files will be owned by.
  103. schema:
  104. type: int
  105. min: 568
  106. default: 568
  107. required: true
  108. - variable: podOptions
  109. label: ""
  110. group: Advanced Pod Configuration
  111. schema:
  112. type: dict
  113. attrs:
  114. - variable: dnsConfig
  115. label: Advanced DNS Configuration
  116. schema:
  117. type: dict
  118. attrs:
  119. - variable: options
  120. label: DNS Options
  121. schema:
  122. type: list
  123. items:
  124. - variable: optionsEntry
  125. label: DNS Option Entry
  126. schema:
  127. type: dict
  128. attrs:
  129. - variable: name
  130. label: Option Name
  131. schema:
  132. type: string
  133. required: true
  134. - variable: value
  135. label: Option Value
  136. schema:
  137. type: string
  138. required: true
  139. - variable: plexNetwork
  140. label: ""
  141. group: Network Configuration
  142. schema:
  143. type: dict
  144. attrs:
  145. - variable: webPort
  146. label: WebUI Port
  147. description: The port for Plex WebUI
  148. schema:
  149. type: int
  150. default: 32400
  151. min: 9000
  152. max: 65535
  153. required: true
  154. - variable: hostNetwork
  155. label: Host Network
  156. description: |
  157. Bind to the host network. It's recommended to keep this disabled.
  158. schema:
  159. type: boolean
  160. default: false
  161. - variable: plexStorage
  162. label: ""
  163. group: Storage Configuration
  164. schema:
  165. type: dict
  166. attrs:
  167. - variable: data
  168. label: Plex Data Storage
  169. description: The path to store Plex Data.
  170. schema:
  171. type: dict
  172. attrs:
  173. - variable: type
  174. label: Type
  175. description: |
  176. ixVolume: Is dataset created automatically by the system.</br>
  177. Host Path: Is a path that already exists on the system.
  178. schema:
  179. type: string
  180. required: true
  181. immutable: true
  182. default: "ixVolume"
  183. enum:
  184. - value: "hostPath"
  185. description: Host Path (Path that already exists on the system)
  186. - value: "ixVolume"
  187. description: ixVolume (Dataset created automatically by the system)
  188. - variable: ixVolumeConfig
  189. label: ixVolume Configuration
  190. description: The configuration for the ixVolume dataset.
  191. schema:
  192. type: dict
  193. show_if: [["type", "=", "ixVolume"]]
  194. $ref:
  195. - "normalize/ixVolume"
  196. attrs:
  197. - variable: aclEnable
  198. label: Enable ACL
  199. description: Enable ACL for the dataset.
  200. schema:
  201. type: boolean
  202. default: false
  203. - variable: datasetName
  204. label: Dataset Name
  205. description: The name of the dataset to use for storage.
  206. schema:
  207. type: string
  208. required: true
  209. immutable: true
  210. hidden: true
  211. default: "data"
  212. - variable: aclEntries
  213. label: ACL Configuration
  214. schema:
  215. type: dict
  216. show_if: [["aclEnable", "=", true]]
  217. attrs: []
  218. - variable: hostPathConfig
  219. label: Host Path Configuration
  220. schema:
  221. type: dict
  222. show_if: [["type", "=", "hostPath"]]
  223. attrs:
  224. - variable: aclEnable
  225. label: Enable ACL
  226. description: Enable ACL for the dataset.
  227. schema:
  228. type: boolean
  229. default: false
  230. - variable: acl
  231. label: ACL Configuration
  232. schema:
  233. type: dict
  234. show_if: [["aclEnable", "=", true]]
  235. attrs: []
  236. $ref:
  237. - "normalize/acl"
  238. - variable: hostPath
  239. label: Host Path
  240. description: The host path to use for storage.
  241. schema:
  242. type: hostpath
  243. show_if: [["aclEnable", "=", false]]
  244. required: true
  245. - variable: config
  246. label: Plex Configuration Storage
  247. description: The path to store Plex Configuration.
  248. schema:
  249. type: dict
  250. attrs:
  251. - variable: type
  252. label: Type
  253. description: |
  254. ixVolume: Is dataset created automatically by the system.</br>
  255. Host Path: Is a path that already exists on the system.
  256. schema:
  257. type: string
  258. required: true
  259. immutable: true
  260. default: "ixVolume"
  261. enum:
  262. - value: "hostPath"
  263. description: Host Path (Path that already exists on the system)
  264. - value: "ixVolume"
  265. description: ixVolume (Dataset created automatically by the system)
  266. - variable: ixVolumeConfig
  267. label: ixVolume Configuration
  268. description: The configuration for the ixVolume dataset.
  269. schema:
  270. type: dict
  271. show_if: [["type", "=", "ixVolume"]]
  272. $ref:
  273. - "normalize/ixVolume"
  274. attrs:
  275. - variable: aclEnable
  276. label: Enable ACL
  277. description: Enable ACL for the dataset.
  278. schema:
  279. type: boolean
  280. default: false
  281. - variable: datasetName
  282. label: Dataset Name
  283. description: The name of the dataset to use for storage.
  284. schema:
  285. type: string
  286. required: true
  287. immutable: true
  288. hidden: true
  289. default: "config"
  290. - variable: aclEntries
  291. label: ACL Configuration
  292. schema:
  293. type: dict
  294. show_if: [["aclEnable", "=", true]]
  295. attrs: []
  296. - variable: hostPathConfig
  297. label: Host Path Configuration
  298. schema:
  299. type: dict
  300. show_if: [["type", "=", "hostPath"]]
  301. attrs:
  302. - variable: aclEnable
  303. label: Enable ACL
  304. description: Enable ACL for the dataset.
  305. schema:
  306. type: boolean
  307. default: false
  308. - variable: acl
  309. label: ACL Configuration
  310. schema:
  311. type: dict
  312. show_if: [["aclEnable", "=", true]]
  313. attrs: []
  314. $ref:
  315. - "normalize/acl"
  316. - variable: hostPath
  317. label: Host Path
  318. description: The host path to use for storage.
  319. schema:
  320. type: hostpath
  321. show_if: [["aclEnable", "=", false]]
  322. required: true
  323. - variable: logs
  324. label: Plex Logs Storage
  325. description: The path to store Plex Logs.
  326. schema:
  327. type: dict
  328. attrs:
  329. - variable: type
  330. label: Type
  331. description: |
  332. ixVolume: Is dataset created automatically by the system.</br>
  333. Host Path: Is a path that already exists on the system.<br/>
  334. emptyDir: Is a temporary directory that will be created on the disk or in memory.
  335. schema:
  336. type: string
  337. required: true
  338. default: "emptyDir"
  339. enum:
  340. - value: "hostPath"
  341. description: Host Path (Path that already exists on the system)
  342. - value: "ixVolume"
  343. description: ixVolume (Dataset created automatically by the system)
  344. - value: "emptyDir"
  345. description: emptyDir (Temporary directory that will be created on the disk or in memory)
  346. - variable: ixVolumeConfig
  347. label: ixVolume Configuration
  348. description: The configuration for the ixVolume dataset.
  349. schema:
  350. type: dict
  351. show_if: [["type", "=", "ixVolume"]]
  352. $ref:
  353. - "normalize/ixVolume"
  354. attrs:
  355. - variable: aclEnable
  356. label: Enable ACL
  357. description: Enable ACL for the dataset.
  358. schema:
  359. type: boolean
  360. default: false
  361. - variable: datasetName
  362. label: Dataset Name
  363. description: The name of the dataset to use for storage.
  364. schema:
  365. type: string
  366. required: true
  367. immutable: true
  368. hidden: true
  369. default: "logs"
  370. - variable: aclEntries
  371. label: ACL Configuration
  372. schema:
  373. type: dict
  374. show_if: [["aclEnable", "=", true]]
  375. attrs: []
  376. - variable: emptyDirConfig
  377. label: emptyDir Configuration
  378. schema:
  379. type: dict
  380. show_if: [["type", "=", "emptyDir"]]
  381. attrs:
  382. - variable: medium
  383. label: emptyDir Medium
  384. description: |
  385. Disk: Creates a temporary directory on the disk.</br>
  386. Memory: Creates a temporary directory in memory.
  387. schema:
  388. type: string
  389. default: ""
  390. enum:
  391. - value: ""
  392. description: Disk (Temporary directory created on the disk)
  393. - value: "Memory"
  394. description: Memory (Temporary directory created in memory)
  395. - variable: size
  396. label: emptyDir Size Limit (in Gi)
  397. description: |
  398. The maximum size (in Gi) of the temporary directory.</br>
  399. For example: 2
  400. schema:
  401. type: int
  402. "null": true
  403. default: 2
  404. - variable: hostPathConfig
  405. label: Host Path Configuration
  406. schema:
  407. type: dict
  408. show_if: [["type", "=", "hostPath"]]
  409. attrs:
  410. - variable: aclEnable
  411. label: Enable ACL
  412. description: Enable ACL for the dataset.
  413. schema:
  414. type: boolean
  415. default: false
  416. - variable: acl
  417. label: ACL Configuration
  418. schema:
  419. type: dict
  420. show_if: [["aclEnable", "=", true]]
  421. attrs: []
  422. $ref:
  423. - "normalize/acl"
  424. - variable: hostPath
  425. label: Host Path
  426. description: The host path to use for storage.
  427. schema:
  428. type: hostpath
  429. show_if: [["aclEnable", "=", false]]
  430. required: true
  431. - variable: transcode
  432. label: Plex Transcode Storage
  433. description: The path to store Plex Transcode.
  434. schema:
  435. type: dict
  436. attrs:
  437. - variable: type
  438. label: Type
  439. description: |
  440. ixVolume: Is dataset created automatically by the system.</br>
  441. Host Path: Is a path that already exists on the system.</br>
  442. emptyDir: Is a temporary directory that will be created on the disk or in memory.
  443. schema:
  444. type: string
  445. required: true
  446. default: "ixVolume"
  447. enum:
  448. - value: "hostPath"
  449. description: Host Path (Path that already exists on the system)
  450. - value: "ixVolume"
  451. description: ixVolume (Dataset created automatically by the system)
  452. - value: "emptyDir"
  453. description: emptyDir (Temporary directory created on the disk or in memory)
  454. - variable: ixVolumeConfig
  455. label: ixVolume Configuration
  456. description: The configuration for the ixVolume dataset.
  457. schema:
  458. type: dict
  459. show_if: [["type", "=", "ixVolume"]]
  460. $ref:
  461. - "normalize/ixVolume"
  462. attrs:
  463. - variable: aclEnable
  464. label: Enable ACL
  465. description: Enable ACL for the dataset.
  466. schema:
  467. type: boolean
  468. default: false
  469. - variable: datasetName
  470. label: Dataset Name
  471. description: The name of the dataset to use for storage.
  472. schema:
  473. type: string
  474. required: true
  475. immutable: true
  476. hidden: true
  477. default: "transcode"
  478. - variable: aclEntries
  479. label: ACL Configuration
  480. schema:
  481. type: dict
  482. show_if: [["aclEnable", "=", true]]
  483. attrs: []
  484. - variable: emptyDirConfig
  485. label: emptyDir Configuration
  486. schema:
  487. type: dict
  488. show_if: [["type", "=", "emptyDir"]]
  489. attrs:
  490. - variable: medium
  491. label: emptyDir Medium
  492. description: |
  493. Disk: Creates a temporary directory on the disk.</br>
  494. Memory: Creates a temporary directory in memory.
  495. schema:
  496. type: string
  497. default: ""
  498. enum:
  499. - value: ""
  500. description: Disk (Temporary directory created on the disk)
  501. - value: "Memory"
  502. description: Memory (Temporary directory created in memory)
  503. - variable: size
  504. label: emptyDir Size Limit (in Gi)
  505. description: |
  506. The maximum size (in Gi) of the temporary directory.</br>
  507. For example: 2
  508. schema:
  509. type: int
  510. "null": true
  511. default: 2
  512. - variable: hostPathConfig
  513. label: Host Path Configuration
  514. schema:
  515. type: dict
  516. show_if: [["type", "=", "hostPath"]]
  517. attrs:
  518. - variable: aclEnable
  519. label: Enable ACL
  520. description: Enable ACL for the dataset.
  521. schema:
  522. type: boolean
  523. default: false
  524. - variable: acl
  525. label: ACL Configuration
  526. schema:
  527. type: dict
  528. show_if: [["aclEnable", "=", true]]
  529. attrs: []
  530. $ref:
  531. - "normalize/acl"
  532. - variable: hostPath
  533. label: Host Path
  534. description: The host path to use for storage.
  535. schema:
  536. type: hostpath
  537. show_if: [["aclEnable", "=", false]]
  538. required: true
  539. - variable: additionalStorages
  540. label: Additional Storage
  541. description: Additional storage for Plex.
  542. schema:
  543. type: list
  544. default: []
  545. items:
  546. - variable: storageEntry
  547. label: Storage Entry
  548. schema:
  549. type: dict
  550. attrs:
  551. - variable: type
  552. label: Type
  553. description: |
  554. ixVolume: Is dataset created automatically by the system.</br>
  555. Host Path: Is a path that already exists on the system.</br>
  556. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  557. schema:
  558. type: string
  559. required: true
  560. default: "ixVolume"
  561. immutable: true
  562. enum:
  563. - value: "hostPath"
  564. description: Host Path (Path that already exists on the system)
  565. - value: "ixVolume"
  566. description: ixVolume (Dataset created automatically by the system)
  567. - value: "smb-pv-pvc"
  568. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  569. - variable: readOnly
  570. label: Read Only
  571. description: Mount the volume as read only.
  572. schema:
  573. type: boolean
  574. default: false
  575. - variable: mountPath
  576. label: Mount Path
  577. description: The path inside the container to mount the storage.
  578. schema:
  579. type: path
  580. required: true
  581. - variable: hostPathConfig
  582. label: Host Path Configuration
  583. schema:
  584. type: dict
  585. show_if: [["type", "=", "hostPath"]]
  586. attrs:
  587. - variable: aclEnable
  588. label: Enable ACL
  589. description: Enable ACL for the dataset.
  590. schema:
  591. type: boolean
  592. default: false
  593. - variable: acl
  594. label: ACL Configuration
  595. schema:
  596. type: dict
  597. show_if: [["aclEnable", "=", true]]
  598. attrs: []
  599. $ref:
  600. - "normalize/acl"
  601. - variable: hostPath
  602. label: Host Path
  603. description: The host path to use for storage.
  604. schema:
  605. type: hostpath
  606. show_if: [["aclEnable", "=", false]]
  607. required: true
  608. - variable: ixVolumeConfig
  609. label: ixVolume Configuration
  610. description: The configuration for the ixVolume dataset.
  611. schema:
  612. type: dict
  613. show_if: [["type", "=", "ixVolume"]]
  614. $ref:
  615. - "normalize/ixVolume"
  616. attrs:
  617. - variable: aclEnable
  618. label: Enable ACL
  619. description: Enable ACL for the dataset.
  620. schema:
  621. type: boolean
  622. default: false
  623. - variable: datasetName
  624. label: Dataset Name
  625. description: The name of the dataset to use for storage.
  626. schema:
  627. type: string
  628. required: true
  629. immutable: true
  630. default: "storage_entry"
  631. - variable: aclEntries
  632. label: ACL Configuration
  633. schema:
  634. type: dict
  635. show_if: [["aclEnable", "=", true]]
  636. attrs: []
  637. - variable: smbConfig
  638. label: SMB Share Configuration
  639. description: The configuration for the SMB Share.
  640. schema:
  641. type: dict
  642. show_if: [["type", "=", "smb-pv-pvc"]]
  643. attrs:
  644. - variable: server
  645. label: Server
  646. description: The server for the SMB share.
  647. schema:
  648. type: string
  649. required: true
  650. - variable: share
  651. label: Share
  652. description: The share name for the SMB share.
  653. schema:
  654. type: string
  655. required: true
  656. - variable: domain
  657. label: Domain (Optional)
  658. description: The domain for the SMB share.
  659. schema:
  660. type: string
  661. - variable: username
  662. label: Username
  663. description: The username for the SMB share.
  664. schema:
  665. type: string
  666. required: true
  667. - variable: password
  668. label: Password
  669. description: The password for the SMB share.
  670. schema:
  671. type: string
  672. required: true
  673. private: true
  674. - variable: size
  675. label: Size (in Gi)
  676. description: The size of the volume quota.
  677. schema:
  678. type: int
  679. required: true
  680. min: 1
  681. default: 1
  682. - variable: resources
  683. label: Resources Configuration
  684. group: Resources Configuration
  685. schema:
  686. type: dict
  687. attrs:
  688. - variable: limits
  689. label: Limits
  690. schema:
  691. type: dict
  692. attrs:
  693. - variable: cpu
  694. label: CPU
  695. description: CPU limit for Plex.
  696. schema:
  697. type: string
  698. max_length: 6
  699. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  700. valid_chars_error: |
  701. Valid CPU limit formats are</br>
  702. - Plain Integer - eg. 1</br>
  703. - Float - eg. 0.5</br>
  704. - Milicpu - eg. 500m
  705. default: "4000m"
  706. required: true
  707. - variable: memory
  708. label: Memory
  709. description: Memory limit for Plex.
  710. schema:
  711. type: string
  712. max_length: 12
  713. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  714. valid_chars_error: |
  715. Valid Memory limit formats are</br>
  716. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  717. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  718. - Plain Integer in bytes - eg. 1024</br>
  719. - Exponent - eg. 134e6
  720. default: "8Gi"
  721. required: true
  722. - variable: plexGPU
  723. group: Resources Configuration
  724. label: GPU Configuration
  725. schema:
  726. type: dict
  727. $ref:
  728. - "definitions/gpuConfiguration"
  729. attrs: []