questions.yaml 15 KB

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