app_versions.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. {
  2. "1.0.18": {
  3. "healthy": true,
  4. "supported": true,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/tftpd-hpa/1.0.18",
  7. "last_update": "2025-03-05 14:27:33",
  8. "required_features": [
  9. "normalize/ixVolume",
  10. "definitions/timezone"
  11. ],
  12. "human_version": "1.0.0_1.0.18",
  13. "version": "1.0.18",
  14. "chart_metadata": {
  15. "name": "tftpd-hpa",
  16. "description": "A lightweight tftp-server",
  17. "annotations": {
  18. "title": "TFTP Server"
  19. },
  20. "type": "application",
  21. "version": "1.0.18",
  22. "apiVersion": "v2",
  23. "appVersion": "1.0.0",
  24. "kubeVersion": ">=1.16.0-0",
  25. "maintainers": [
  26. {
  27. "name": "truenas",
  28. "url": "https://www.truenas.com/",
  29. "email": "dev@ixsystems.com"
  30. }
  31. ],
  32. "dependencies": [
  33. {
  34. "name": "common",
  35. "repository": "file://../../../common",
  36. "version": "1.2.9"
  37. }
  38. ],
  39. "home": "https://github.com/truenas/containers/tree/main/apps/tftpd-hpa",
  40. "icon": "https://media.sys.truenas.net/apps/tftpd-hpa/icons/icon.png",
  41. "sources": [
  42. "https://github.com/truenas/containers/tree/main/apps/tftpd-hpa",
  43. "https://github.com/truenas/charts/tree/master/community/tftpd-hpa",
  44. "https://hub.docker.com/r/ixsystems/tftpd-hpa"
  45. ],
  46. "keywords": [
  47. "tftp",
  48. "netboot"
  49. ]
  50. },
  51. "app_metadata": {
  52. "runAsContext": [
  53. {
  54. "userName": "root",
  55. "groupName": "root",
  56. "gid": 0,
  57. "uid": 0,
  58. "description": "TFTP requires root privileges to start it's processes."
  59. }
  60. ],
  61. "capabilities": [
  62. {
  63. "name": "NET_BIND_SERVICE",
  64. "description": "TFTP requires this ability to bind to port 69 for TFTP."
  65. },
  66. {
  67. "name": "SETUID",
  68. "description": "TFTP requires this ability to switch user for sub-processes."
  69. },
  70. {
  71. "name": "SETGID",
  72. "description": "TFTP requires this ability to switch group for sub-processes."
  73. },
  74. {
  75. "name": "SYS_CHROOT",
  76. "description": "TFTP requires this ability to use chroot for it's sub-processes."
  77. }
  78. ],
  79. "hostMounts": []
  80. },
  81. "schema": {
  82. "groups": [
  83. {
  84. "name": "TFTP Configuration",
  85. "description": "Configure TFTP"
  86. },
  87. {
  88. "name": "Network Configuration",
  89. "description": "Configure Network for TFTP"
  90. },
  91. {
  92. "name": "Storage Configuration",
  93. "description": "Configure Storage for TFTP"
  94. },
  95. {
  96. "name": "Resources Configuration",
  97. "description": "Configure Resources for TFTP"
  98. }
  99. ],
  100. "questions": [
  101. {
  102. "variable": "TZ",
  103. "group": "TFTP Configuration",
  104. "label": "Timezone",
  105. "schema": {
  106. "type": "string",
  107. "default": "America/Los_Angeles",
  108. "required": true,
  109. "$ref": [
  110. "definitions/timezone"
  111. ],
  112. "enum": [
  113. {
  114. "value": "Asia/Damascus",
  115. "description": "'Asia/Damascus' timezone"
  116. },
  117. {
  118. "value": "Asia/Saigon",
  119. "description": "'Asia/Saigon' timezone"
  120. }
  121. ]
  122. }
  123. },
  124. {
  125. "variable": "tftpConfig",
  126. "label": "",
  127. "group": "TFTP Configuration",
  128. "schema": {
  129. "type": "dict",
  130. "attrs": [
  131. {
  132. "variable": "allowCreate",
  133. "label": "Allow Create",
  134. "description": "Allow new files to be created. This is disabled by default.</br>\nEnabling this will change the permissions of the tftpboot directory to 757.\nDisabling this will change the permissions of the tftpboot directory to 555.\n",
  135. "schema": {
  136. "type": "boolean",
  137. "default": false
  138. }
  139. },
  140. {
  141. "variable": "additionalEnvs",
  142. "label": "Additional Environment Variables",
  143. "description": "Configure additional environment variables for TFTP.",
  144. "schema": {
  145. "type": "list",
  146. "default": [],
  147. "items": [
  148. {
  149. "variable": "env",
  150. "label": "Environment Variable",
  151. "schema": {
  152. "type": "dict",
  153. "attrs": [
  154. {
  155. "variable": "name",
  156. "label": "Name",
  157. "schema": {
  158. "type": "string",
  159. "required": true
  160. }
  161. },
  162. {
  163. "variable": "value",
  164. "label": "Value",
  165. "schema": {
  166. "type": "string",
  167. "required": true
  168. }
  169. }
  170. ]
  171. }
  172. }
  173. ]
  174. }
  175. }
  176. ]
  177. }
  178. },
  179. {
  180. "variable": "tftpNetwork",
  181. "label": "",
  182. "group": "Network Configuration",
  183. "schema": {
  184. "type": "dict",
  185. "attrs": [
  186. {
  187. "variable": "hostNetwork",
  188. "label": "Host Network",
  189. "description": "Bind to the host network. It's recommended to keep this disabled.</br>\n",
  190. "schema": {
  191. "type": "boolean",
  192. "default": true
  193. }
  194. },
  195. {
  196. "variable": "tftpPort",
  197. "label": "TFTP Port",
  198. "description": "The port for TFTP.\nWhen hostNetwork is enabled, the port tftp port will be 69.\n",
  199. "schema": {
  200. "type": "int",
  201. "default": 30031,
  202. "show_if": [
  203. [
  204. "hostNetwork",
  205. "=",
  206. false
  207. ]
  208. ],
  209. "min": 9000,
  210. "max": 65535,
  211. "required": true
  212. }
  213. }
  214. ]
  215. }
  216. },
  217. {
  218. "variable": "tftpStorage",
  219. "label": "",
  220. "group": "Storage Configuration",
  221. "schema": {
  222. "type": "dict",
  223. "attrs": [
  224. {
  225. "variable": "tftpboot",
  226. "label": "TFTP Boot Storage",
  227. "description": "The path to store TFTP Boot files.",
  228. "schema": {
  229. "type": "dict",
  230. "attrs": [
  231. {
  232. "variable": "type",
  233. "label": "Type",
  234. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  235. "schema": {
  236. "type": "string",
  237. "required": true,
  238. "immutable": true,
  239. "default": "ixVolume",
  240. "enum": [
  241. {
  242. "value": "hostPath",
  243. "description": "Host Path (Path that already exists on the system)"
  244. },
  245. {
  246. "value": "ixVolume",
  247. "description": "ixVolume (Dataset created automatically by the system)"
  248. }
  249. ]
  250. }
  251. },
  252. {
  253. "variable": "datasetName",
  254. "label": "Dataset Name",
  255. "schema": {
  256. "type": "string",
  257. "show_if": [
  258. [
  259. "type",
  260. "=",
  261. "ixVolume"
  262. ]
  263. ],
  264. "required": true,
  265. "hidden": true,
  266. "immutable": true,
  267. "default": "tftpboot",
  268. "$ref": [
  269. "normalize/ixVolume"
  270. ]
  271. }
  272. },
  273. {
  274. "variable": "hostPath",
  275. "label": "Host Path",
  276. "schema": {
  277. "type": "hostpath",
  278. "show_if": [
  279. [
  280. "type",
  281. "=",
  282. "hostPath"
  283. ]
  284. ],
  285. "required": true
  286. }
  287. }
  288. ]
  289. }
  290. }
  291. ]
  292. }
  293. },
  294. {
  295. "variable": "resources",
  296. "group": "Resources Configuration",
  297. "label": "",
  298. "schema": {
  299. "type": "dict",
  300. "attrs": [
  301. {
  302. "variable": "limits",
  303. "label": "Limits",
  304. "schema": {
  305. "type": "dict",
  306. "attrs": [
  307. {
  308. "variable": "cpu",
  309. "label": "CPU",
  310. "description": "CPU limit for TFTP.",
  311. "schema": {
  312. "type": "string",
  313. "max_length": 6,
  314. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  315. "valid_chars_error": "Valid CPU limit formats are</br>\n- Plain Integer - eg. 1</br>\n- Float - eg. 0.5</br>\n- Milicpu - eg. 500m\n",
  316. "default": "4000m",
  317. "required": true
  318. }
  319. },
  320. {
  321. "variable": "memory",
  322. "label": "Memory",
  323. "description": "Memory limit for TFTP.",
  324. "schema": {
  325. "type": "string",
  326. "max_length": 12,
  327. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  328. "valid_chars_error": "Valid Memory limit formats are</br>\n- Suffixed with E/P/T/G/M/K - eg. 1G</br>\n- Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>\n- Plain Integer in bytes - eg. 1024</br>\n- Exponent - eg. 134e6\n",
  329. "default": "8Gi",
  330. "required": true
  331. }
  332. }
  333. ]
  334. }
  335. }
  336. ]
  337. }
  338. }
  339. ]
  340. },
  341. "app_readme": "<h1>TFTP</h1>\n<p><a href=\"https://manpages.debian.org/testing/tftpd-hpa/tftpd.8.en.html\">TFTP</a> is a server for the Trivial File Transfer Protocol.</p>\n<p>The app runs as <code>root</code> user and drops privileges to <code>tftp</code> (9069) user for the TFTP service.</p>\n<blockquote>\n<p>On every application start, a container will be launched with <strong>root</strong> privileges.\nThis will check the parent directory permissions and ownership.\nIf there is a mismatch it will apply the correct permissions to the TFTP directories.\nWhen \"Allow Create\" is checked, the above container will also check and <code>chmod</code> if needed\nto <code>757</code> the TFTP directories and to <code>555</code> when not checked.\nAfterward, the <code>TFTP</code> container will run as a <strong>root</strong> user, dropping privileges\nto <code>tftp</code> (9069) user for the TFTP service.\nNote: You need to have configured DHCP server for network boot to work.</p>\n</blockquote>",
  342. "detailed_readme": "<h1>TFTP</h1>\n<p><a href=\"https://manpages.debian.org/testing/tftpd-hpa/tftpd.8.en.html\">TFTP</a> is a server for the Trivial File Transfer Protocol.</p>\n<p>The app runs as <code>root</code> user and drops privileges to <code>tftp</code> (9069) user for the TFTP service.</p>\n<blockquote>\n<p>On every application start, a container will be launched with <strong>root</strong> privileges.\nThis will check the parent directory permissions and ownership.\nIf there is a mismatch it will apply the correct permissions to the TFTP directories.\nWhen \"Allow Create\" is checked, the above container will also check and <code>chmod</code> if needed\nto <code>757</code> the TFTP directories and to <code>555</code> when not checked.\nAfterward, the <code>TFTP</code> container will run as a <strong>root</strong> user, dropping privileges\nto <code>tftp</code> (9069) user for the TFTP service.\nNote: You need to have configured DHCP server for network boot to work.</p>\n</blockquote>",
  343. "changelog": null
  344. }
  345. }