questions.yaml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. groups:
  2. - name: Rust Desk Configuration
  3. description: Configure Rust Desk
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Rust Desk
  6. - name: Network Configuration
  7. description: Configure Network for Rust Desk
  8. - name: Storage Configuration
  9. description: Configure Storage for Rust Desk
  10. - name: Resources Configuration
  11. description: Configure Resources for Rust Desk
  12. questions:
  13. - variable: rustConfig
  14. label: ""
  15. group: Rust Desk Configuration
  16. schema:
  17. type: dict
  18. attrs:
  19. - variable: allowOnlyEncryptedConnections
  20. label: Allow Only Encrypted Connections
  21. description: |
  22. Allow only encrypted connections.</br>
  23. Clients have to use the generated key to connect to the server.
  24. schema:
  25. type: boolean
  26. default: false
  27. - variable: additionalRelayServers
  28. label: Additional Relay Servers
  29. description: |
  30. Configure additional relay servers for Rust Desk.</br>
  31. The internal relay server will be added automatically. </br>
  32. Format: </br> host:port
  33. schema:
  34. type: list
  35. default: []
  36. items:
  37. - variable: relayServer
  38. label: Relay Server
  39. schema:
  40. type: string
  41. required: true
  42. - variable: additionalEnvs
  43. label: Additional Environment Variables
  44. description: Configure additional environment variables for Rust Desk.
  45. schema:
  46. type: list
  47. default: []
  48. items:
  49. - variable: env
  50. label: Environment Variable
  51. schema:
  52. type: dict
  53. attrs:
  54. - variable: name
  55. label: Name
  56. schema:
  57. type: string
  58. required: true
  59. - variable: value
  60. label: Value
  61. schema:
  62. type: string
  63. required: true
  64. - variable: rustRunAs
  65. label: ""
  66. group: User and Group Configuration
  67. schema:
  68. type: dict
  69. attrs:
  70. - variable: user
  71. label: User ID
  72. description: The user id that Rust Desk will run as.
  73. schema:
  74. type: int
  75. min: 2
  76. default: 568
  77. required: true
  78. - variable: group
  79. label: Group ID
  80. description: The group id that Rust Desk will run as.
  81. schema:
  82. type: int
  83. min: 2
  84. default: 568
  85. required: true
  86. - variable: rustNetwork
  87. label: ""
  88. group: Network Configuration
  89. schema:
  90. type: dict
  91. attrs:
  92. - variable: natTypeTestPort
  93. label: NAT Type Test Port
  94. description: |
  95. The port to use for NAT type test.</br>
  96. Internal port will always be 21115
  97. schema:
  98. type: int
  99. default: 21115
  100. min: 9000
  101. max: 65535
  102. required: true
  103. - variable: idRegHolePunchPort
  104. label: ID Registration and Hole Punching Port
  105. description: |
  106. The port to use for ID registration and Hole punching.</br>
  107. Internal port will always be 21116 (TCP/UDP)
  108. schema:
  109. type: int
  110. default: 21116
  111. min: 9000
  112. max: 65535
  113. required: true
  114. - variable: relayPort
  115. label: Relay Port
  116. description: |
  117. The port to use for relay.</br>
  118. Internal port will always be 21117
  119. schema:
  120. type: int
  121. default: 21117
  122. min: 9000
  123. max: 65535
  124. required: true
  125. - variable: enableWebClientPorts
  126. label: Enable Web Client Ports
  127. description: |
  128. Enable web client ports.</br>
  129. This is only required for web clients.</br>
  130. schema:
  131. type: boolean
  132. default: true
  133. - variable: serverWebClientsPort
  134. label: Server Web Clients Port
  135. description: |
  136. The port to use for server web clients.</br>
  137. Internal port will always be 21118
  138. schema:
  139. type: int
  140. default: 21118
  141. min: 9000
  142. max: 65535
  143. required: true
  144. show_if: [["enableWebClientPorts", "=", true]]
  145. - variable: relayWebClientsPort
  146. label: Relay Web Clients Port
  147. description: |
  148. The port to use for relay web clients.</br>
  149. Internal port will always be 21119
  150. schema:
  151. type: int
  152. default: 21119
  153. min: 9000
  154. max: 65535
  155. required: true
  156. show_if: [["enableWebClientPorts", "=", true]]
  157. - variable: hostNetwork
  158. label: Host Network
  159. description: |
  160. Bind to the host network. It's recommended to keep this disabled.</br>
  161. schema:
  162. type: boolean
  163. default: false
  164. - variable: rustStorage
  165. label: ""
  166. group: Storage Configuration
  167. schema:
  168. type: dict
  169. attrs:
  170. - variable: data
  171. label: Rust Desk Data Storage
  172. description: The path to store Rust Desk Data.
  173. schema:
  174. type: dict
  175. attrs:
  176. - variable: type
  177. label: Type
  178. description: |
  179. ixVolume: Is dataset created automatically by the system.</br>
  180. Host Path: Is a path that already exists on the system.
  181. schema:
  182. type: string
  183. required: true
  184. immutable: true
  185. default: "ixVolume"
  186. enum:
  187. - value: "hostPath"
  188. description: Host Path (Path that already exists on the system)
  189. - value: "ixVolume"
  190. description: ixVolume (Dataset created automatically by the system)
  191. - variable: ixVolumeConfig
  192. label: ixVolume Configuration
  193. description: The configuration for the ixVolume dataset.
  194. schema:
  195. type: dict
  196. show_if: [["type", "=", "ixVolume"]]
  197. $ref:
  198. - "normalize/ixVolume"
  199. attrs:
  200. - variable: aclEnable
  201. label: Enable ACL
  202. description: Enable ACL for the dataset.
  203. schema:
  204. type: boolean
  205. default: false
  206. - variable: datasetName
  207. label: Dataset Name
  208. description: The name of the dataset to use for storage.
  209. schema:
  210. type: string
  211. required: true
  212. immutable: true
  213. hidden: true
  214. default: "data"
  215. - variable: aclEntries
  216. label: ACL Configuration
  217. schema:
  218. type: dict
  219. show_if: [["aclEnable", "=", true]]
  220. attrs: []
  221. - variable: hostPathConfig
  222. label: Host Path Configuration
  223. schema:
  224. type: dict
  225. show_if: [["type", "=", "hostPath"]]
  226. attrs:
  227. - variable: aclEnable
  228. label: Enable ACL
  229. description: Enable ACL for the dataset.
  230. schema:
  231. type: boolean
  232. default: false
  233. - variable: acl
  234. label: ACL Configuration
  235. schema:
  236. type: dict
  237. show_if: [["aclEnable", "=", true]]
  238. attrs: []
  239. $ref:
  240. - "normalize/acl"
  241. - variable: hostPath
  242. label: Host Path
  243. description: The host path to use for storage.
  244. schema:
  245. type: hostpath
  246. show_if: [["aclEnable", "=", false]]
  247. required: true
  248. - variable: additionalStorages
  249. label: Additional Storage
  250. description: Additional storage for Rust Desk.
  251. schema:
  252. type: list
  253. default: []
  254. items:
  255. - variable: storageEntry
  256. label: Storage Entry
  257. schema:
  258. type: dict
  259. attrs:
  260. - variable: type
  261. label: Type
  262. description: |
  263. ixVolume: Is dataset created automatically by the system.</br>
  264. Host Path: Is a path that already exists on the system.</br>
  265. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  266. schema:
  267. type: string
  268. required: true
  269. default: "ixVolume"
  270. immutable: true
  271. enum:
  272. - value: "hostPath"
  273. description: Host Path (Path that already exists on the system)
  274. - value: "ixVolume"
  275. description: ixVolume (Dataset created automatically by the system)
  276. - value: "smb-pv-pvc"
  277. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  278. - variable: readOnly
  279. label: Read Only
  280. description: Mount the volume as read only.
  281. schema:
  282. type: boolean
  283. default: false
  284. - variable: mountPath
  285. label: Mount Path
  286. description: The path inside the container to mount the storage.
  287. schema:
  288. type: path
  289. required: true
  290. - variable: hostPathConfig
  291. label: Host Path Configuration
  292. schema:
  293. type: dict
  294. show_if: [["type", "=", "hostPath"]]
  295. attrs:
  296. - variable: aclEnable
  297. label: Enable ACL
  298. description: Enable ACL for the dataset.
  299. schema:
  300. type: boolean
  301. default: false
  302. - variable: acl
  303. label: ACL Configuration
  304. schema:
  305. type: dict
  306. show_if: [["aclEnable", "=", true]]
  307. attrs: []
  308. $ref:
  309. - "normalize/acl"
  310. - variable: hostPath
  311. label: Host Path
  312. description: The host path to use for storage.
  313. schema:
  314. type: hostpath
  315. show_if: [["aclEnable", "=", false]]
  316. required: true
  317. - variable: ixVolumeConfig
  318. label: ixVolume Configuration
  319. description: The configuration for the ixVolume dataset.
  320. schema:
  321. type: dict
  322. show_if: [["type", "=", "ixVolume"]]
  323. $ref:
  324. - "normalize/ixVolume"
  325. attrs:
  326. - variable: aclEnable
  327. label: Enable ACL
  328. description: Enable ACL for the dataset.
  329. schema:
  330. type: boolean
  331. default: false
  332. - variable: datasetName
  333. label: Dataset Name
  334. description: The name of the dataset to use for storage.
  335. schema:
  336. type: string
  337. required: true
  338. immutable: true
  339. default: "storage_entry"
  340. - variable: aclEntries
  341. label: ACL Configuration
  342. schema:
  343. type: dict
  344. show_if: [["aclEnable", "=", true]]
  345. attrs: []
  346. - variable: smbConfig
  347. label: SMB Share Configuration
  348. description: The configuration for the SMB Share.
  349. schema:
  350. type: dict
  351. show_if: [["type", "=", "smb-pv-pvc"]]
  352. attrs:
  353. - variable: server
  354. label: Server
  355. description: The server for the SMB share.
  356. schema:
  357. type: string
  358. required: true
  359. - variable: share
  360. label: Share
  361. description: The share name for the SMB share.
  362. schema:
  363. type: string
  364. required: true
  365. - variable: domain
  366. label: Domain (Optional)
  367. description: The domain for the SMB share.
  368. schema:
  369. type: string
  370. - variable: username
  371. label: Username
  372. description: The username for the SMB share.
  373. schema:
  374. type: string
  375. required: true
  376. - variable: password
  377. label: Password
  378. description: The password for the SMB share.
  379. schema:
  380. type: string
  381. required: true
  382. private: true
  383. - variable: size
  384. label: Size (in Gi)
  385. description: The size of the volume quota.
  386. schema:
  387. type: int
  388. required: true
  389. min: 1
  390. default: 1
  391. - variable: resources
  392. group: Resources Configuration
  393. label: ""
  394. schema:
  395. type: dict
  396. attrs:
  397. - variable: limits
  398. label: Limits
  399. schema:
  400. type: dict
  401. attrs:
  402. - variable: cpu
  403. label: CPU
  404. description: CPU limit for Rust Desk.
  405. schema:
  406. type: string
  407. max_length: 6
  408. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  409. valid_chars_error: |
  410. Valid CPU limit formats are</br>
  411. - Plain Integer - eg. 1</br>
  412. - Float - eg. 0.5</br>
  413. - Milicpu - eg. 500m
  414. default: "4000m"
  415. required: true
  416. - variable: memory
  417. label: Memory
  418. description: Memory limit for Rust Desk.
  419. schema:
  420. type: string
  421. max_length: 12
  422. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  423. valid_chars_error: |
  424. Valid Memory limit formats are</br>
  425. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  426. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  427. - Plain Integer in bytes - eg. 1024</br>
  428. - Exponent - eg. 134e6
  429. default: "8Gi"
  430. required: true