questions.yaml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741
  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. immutable: true
  339. default: "emptyDir"
  340. enum:
  341. - value: "hostPath"
  342. description: Host Path (Path that already exists on the system)
  343. - value: "ixVolume"
  344. description: ixVolume (Dataset created automatically by the system)
  345. - value: "emptyDir"
  346. description: emptyDir (Temporary directory that will be created on the disk or in memory)
  347. - variable: ixVolumeConfig
  348. label: ixVolume Configuration
  349. description: The configuration for the ixVolume dataset.
  350. schema:
  351. type: dict
  352. show_if: [["type", "=", "ixVolume"]]
  353. $ref:
  354. - "normalize/ixVolume"
  355. attrs:
  356. - variable: aclEnable
  357. label: Enable ACL
  358. description: Enable ACL for the dataset.
  359. schema:
  360. type: boolean
  361. default: false
  362. - variable: datasetName
  363. label: Dataset Name
  364. description: The name of the dataset to use for storage.
  365. schema:
  366. type: string
  367. required: true
  368. immutable: true
  369. hidden: true
  370. default: "logs"
  371. - variable: aclEntries
  372. label: ACL Configuration
  373. schema:
  374. type: dict
  375. show_if: [["aclEnable", "=", true]]
  376. attrs: []
  377. - variable: emptyDirConfig
  378. label: emptyDir Configuration
  379. schema:
  380. type: dict
  381. show_if: [["type", "=", "emptyDir"]]
  382. attrs:
  383. - variable: medium
  384. label: emptyDir Medium
  385. description: |
  386. Disk: Creates a temporary directory on the disk.</br>
  387. Memory: Creates a temporary directory in memory.
  388. schema:
  389. type: string
  390. default: ""
  391. enum:
  392. - value: ""
  393. description: Disk (Temporary directory created on the disk)
  394. - value: "Memory"
  395. description: Memory (Temporary directory created in memory)
  396. - variable: size
  397. label: emptyDir Size Limit (in Gi)
  398. description: |
  399. The maximum size (in Gi) of the temporary directory.</br>
  400. For example: 2
  401. schema:
  402. type: int
  403. "null": true
  404. default: 2
  405. - variable: hostPathConfig
  406. label: Host Path Configuration
  407. schema:
  408. type: dict
  409. show_if: [["type", "=", "hostPath"]]
  410. attrs:
  411. - variable: aclEnable
  412. label: Enable ACL
  413. description: Enable ACL for the dataset.
  414. schema:
  415. type: boolean
  416. default: false
  417. - variable: acl
  418. label: ACL Configuration
  419. schema:
  420. type: dict
  421. show_if: [["aclEnable", "=", true]]
  422. attrs: []
  423. $ref:
  424. - "normalize/acl"
  425. - variable: hostPath
  426. label: Host Path
  427. description: The host path to use for storage.
  428. schema:
  429. type: hostpath
  430. show_if: [["aclEnable", "=", false]]
  431. required: true
  432. - variable: transcode
  433. label: Plex Transcode Storage
  434. description: The path to store Plex Transcode.
  435. schema:
  436. type: dict
  437. attrs:
  438. - variable: type
  439. label: Type
  440. description: |
  441. ixVolume: Is dataset created automatically by the system.</br>
  442. Host Path: Is a path that already exists on the system.</br>
  443. emptyDir: Is a temporary directory that will be created on the disk or in memory.
  444. schema:
  445. type: string
  446. required: true
  447. immutable: true
  448. default: "ixVolume"
  449. enum:
  450. - value: "hostPath"
  451. description: Host Path (Path that already exists on the system)
  452. - value: "ixVolume"
  453. description: ixVolume (Dataset created automatically by the system)
  454. - value: "emptyDir"
  455. description: emptyDir (Temporary directory created on the disk or in memory)
  456. - variable: ixVolumeConfig
  457. label: ixVolume Configuration
  458. description: The configuration for the ixVolume dataset.
  459. schema:
  460. type: dict
  461. show_if: [["type", "=", "ixVolume"]]
  462. $ref:
  463. - "normalize/ixVolume"
  464. attrs:
  465. - variable: aclEnable
  466. label: Enable ACL
  467. description: Enable ACL for the dataset.
  468. schema:
  469. type: boolean
  470. default: false
  471. - variable: datasetName
  472. label: Dataset Name
  473. description: The name of the dataset to use for storage.
  474. schema:
  475. type: string
  476. required: true
  477. immutable: true
  478. hidden: true
  479. default: "transcode"
  480. - variable: aclEntries
  481. label: ACL Configuration
  482. schema:
  483. type: dict
  484. show_if: [["aclEnable", "=", true]]
  485. attrs: []
  486. - variable: emptyDirConfig
  487. label: emptyDir Configuration
  488. schema:
  489. type: dict
  490. show_if: [["type", "=", "emptyDir"]]
  491. attrs:
  492. - variable: medium
  493. label: emptyDir Medium
  494. description: |
  495. Disk: Creates a temporary directory on the disk.</br>
  496. Memory: Creates a temporary directory in memory.
  497. schema:
  498. type: string
  499. default: ""
  500. enum:
  501. - value: ""
  502. description: Disk (Temporary directory created on the disk)
  503. - value: "Memory"
  504. description: Memory (Temporary directory created in memory)
  505. - variable: size
  506. label: emptyDir Size Limit (in Gi)
  507. description: |
  508. The maximum size (in Gi) of the temporary directory.</br>
  509. For example: 2
  510. schema:
  511. type: int
  512. "null": true
  513. default: 2
  514. - variable: hostPathConfig
  515. label: Host Path Configuration
  516. schema:
  517. type: dict
  518. show_if: [["type", "=", "hostPath"]]
  519. attrs:
  520. - variable: aclEnable
  521. label: Enable ACL
  522. description: Enable ACL for the dataset.
  523. schema:
  524. type: boolean
  525. default: false
  526. - variable: acl
  527. label: ACL Configuration
  528. schema:
  529. type: dict
  530. show_if: [["aclEnable", "=", true]]
  531. attrs: []
  532. $ref:
  533. - "normalize/acl"
  534. - variable: hostPath
  535. label: Host Path
  536. description: The host path to use for storage.
  537. schema:
  538. type: hostpath
  539. show_if: [["aclEnable", "=", false]]
  540. required: true
  541. - variable: additionalStorages
  542. label: Additional Storage
  543. description: Additional storage for Plex.
  544. schema:
  545. type: list
  546. default: []
  547. items:
  548. - variable: storageEntry
  549. label: Storage Entry
  550. schema:
  551. type: dict
  552. attrs:
  553. - variable: type
  554. label: Type
  555. description: |
  556. ixVolume: Is dataset created automatically by the system.</br>
  557. Host Path: Is a path that already exists on the system.</br>
  558. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  559. schema:
  560. type: string
  561. required: true
  562. default: "ixVolume"
  563. immutable: true
  564. enum:
  565. - value: "hostPath"
  566. description: Host Path (Path that already exists on the system)
  567. - value: "ixVolume"
  568. description: ixVolume (Dataset created automatically by the system)
  569. - value: "smb-pv-pvc"
  570. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  571. - variable: readOnly
  572. label: Read Only
  573. description: Mount the volume as read only.
  574. schema:
  575. type: boolean
  576. default: false
  577. - variable: mountPath
  578. label: Mount Path
  579. description: The path inside the container to mount the storage.
  580. schema:
  581. type: path
  582. required: true
  583. - variable: hostPathConfig
  584. label: Host Path Configuration
  585. schema:
  586. type: dict
  587. show_if: [["type", "=", "hostPath"]]
  588. attrs:
  589. - variable: aclEnable
  590. label: Enable ACL
  591. description: Enable ACL for the dataset.
  592. schema:
  593. type: boolean
  594. default: false
  595. - variable: acl
  596. label: ACL Configuration
  597. schema:
  598. type: dict
  599. show_if: [["aclEnable", "=", true]]
  600. attrs: []
  601. $ref:
  602. - "normalize/acl"
  603. - variable: hostPath
  604. label: Host Path
  605. description: The host path to use for storage.
  606. schema:
  607. type: hostpath
  608. show_if: [["aclEnable", "=", false]]
  609. required: true
  610. - variable: ixVolumeConfig
  611. label: ixVolume Configuration
  612. description: The configuration for the ixVolume dataset.
  613. schema:
  614. type: dict
  615. show_if: [["type", "=", "ixVolume"]]
  616. $ref:
  617. - "normalize/ixVolume"
  618. attrs:
  619. - variable: aclEnable
  620. label: Enable ACL
  621. description: Enable ACL for the dataset.
  622. schema:
  623. type: boolean
  624. default: false
  625. - variable: datasetName
  626. label: Dataset Name
  627. description: The name of the dataset to use for storage.
  628. schema:
  629. type: string
  630. required: true
  631. immutable: true
  632. default: "storage_entry"
  633. - variable: aclEntries
  634. label: ACL Configuration
  635. schema:
  636. type: dict
  637. show_if: [["aclEnable", "=", true]]
  638. attrs: []
  639. - variable: smbConfig
  640. label: SMB Share Configuration
  641. description: The configuration for the SMB Share.
  642. schema:
  643. type: dict
  644. show_if: [["type", "=", "smb-pv-pvc"]]
  645. attrs:
  646. - variable: server
  647. label: Server
  648. description: The server for the SMB share.
  649. schema:
  650. type: string
  651. required: true
  652. - variable: share
  653. label: Share
  654. description: The share name for the SMB share.
  655. schema:
  656. type: string
  657. required: true
  658. - variable: domain
  659. label: Domain (Optional)
  660. description: The domain for the SMB share.
  661. schema:
  662. type: string
  663. - variable: username
  664. label: Username
  665. description: The username for the SMB share.
  666. schema:
  667. type: string
  668. required: true
  669. - variable: password
  670. label: Password
  671. description: The password for the SMB share.
  672. schema:
  673. type: string
  674. required: true
  675. private: true
  676. - variable: size
  677. label: Size (in Gi)
  678. description: The size of the volume quota.
  679. schema:
  680. type: int
  681. required: true
  682. min: 1
  683. default: 1
  684. - variable: resources
  685. label: Resources Configuration
  686. group: Resources Configuration
  687. schema:
  688. type: dict
  689. attrs:
  690. - variable: limits
  691. label: Limits
  692. schema:
  693. type: dict
  694. attrs:
  695. - variable: cpu
  696. label: CPU
  697. description: CPU limit for Plex.
  698. schema:
  699. type: string
  700. max_length: 6
  701. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  702. valid_chars_error: |
  703. Valid CPU limit formats are</br>
  704. - Plain Integer - eg. 1</br>
  705. - Float - eg. 0.5</br>
  706. - Milicpu - eg. 500m
  707. default: "4000m"
  708. required: true
  709. - variable: memory
  710. label: Memory
  711. description: Memory limit for Plex.
  712. schema:
  713. type: string
  714. max_length: 12
  715. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  716. valid_chars_error: |
  717. Valid Memory limit formats are</br>
  718. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  719. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  720. - Plain Integer in bytes - eg. 1024</br>
  721. - Exponent - eg. 134e6
  722. default: "8Gi"
  723. required: true
  724. - variable: plexGPU
  725. group: Resources Configuration
  726. label: GPU Configuration
  727. schema:
  728. type: dict
  729. $ref:
  730. - "definitions/gpuConfiguration"
  731. attrs: []