app_versions.json 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
  1. {
  2. "1.1.5": {
  3. "healthy": true,
  4. "supported": true,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/distribution/1.1.5",
  7. "last_update": "2023-12-19 10:29:57",
  8. "required_features": [
  9. "definitions/certificate",
  10. "normalize/ixVolume"
  11. ],
  12. "human_version": "2.8.3_1.1.5",
  13. "version": "1.1.5",
  14. "chart_metadata": {
  15. "name": "distribution",
  16. "description": "Distribution is a toolkit to pack, ship, store, and deliver container content",
  17. "annotations": {
  18. "title": "Distribution"
  19. },
  20. "type": "application",
  21. "version": "1.1.5",
  22. "apiVersion": "v2",
  23. "appVersion": "2.8.3",
  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.4"
  37. }
  38. ],
  39. "home": "https://github.com/distribution/distribution",
  40. "icon": "https://media.sys.truenas.net/apps/distribution/icons/icon.svg",
  41. "sources": [
  42. "https://hub.docker.com/_/registry",
  43. "https://distribution.github.io/distribution/",
  44. "https://github.com/truenas/charts/tree/master/library/ix-dev/community/distribution",
  45. "https://github.com/distribution/distribution"
  46. ],
  47. "keywords": [
  48. "container",
  49. "registry"
  50. ]
  51. },
  52. "app_metadata": {
  53. "runAsContext": [
  54. {
  55. "userName": "distribution",
  56. "groupName": "distribution",
  57. "gid": 568,
  58. "uid": 568,
  59. "description": "Distribution can run as any non-root user."
  60. }
  61. ],
  62. "capabilities": [],
  63. "hostMounts": []
  64. },
  65. "schema": {
  66. "groups": [
  67. {
  68. "name": "Distribution Configuration",
  69. "description": "Configure Distribution"
  70. },
  71. {
  72. "name": "User and Group Configuration",
  73. "description": "Configure User and Group for Distribution"
  74. },
  75. {
  76. "name": "Network Configuration",
  77. "description": "Configure Network for Distribution"
  78. },
  79. {
  80. "name": "Storage Configuration",
  81. "description": "Configure Storage for Distribution"
  82. },
  83. {
  84. "name": "Resources Configuration",
  85. "description": "Configure Resources for Distribution"
  86. }
  87. ],
  88. "questions": [
  89. {
  90. "variable": "distributionConfig",
  91. "label": "",
  92. "group": "Distribution Configuration",
  93. "schema": {
  94. "type": "dict",
  95. "attrs": [
  96. {
  97. "variable": "basicAuthUsers",
  98. "label": "Basic Auth Users",
  99. "description": "Configure basic auth users for Distribution.</br>\nLeave empty to disable basic auth.\n",
  100. "schema": {
  101. "type": "list",
  102. "default": [],
  103. "items": [
  104. {
  105. "variable": "userEntry",
  106. "label": "User Entry",
  107. "schema": {
  108. "type": "dict",
  109. "attrs": [
  110. {
  111. "variable": "user",
  112. "label": "Username",
  113. "schema": {
  114. "type": "string",
  115. "required": true
  116. }
  117. },
  118. {
  119. "variable": "pass",
  120. "label": "Password",
  121. "schema": {
  122. "type": "string",
  123. "required": true,
  124. "private": true
  125. }
  126. }
  127. ]
  128. }
  129. }
  130. ]
  131. }
  132. },
  133. {
  134. "variable": "additionalEnvs",
  135. "label": "Additional Environment Variables",
  136. "description": "Configure additional environment variables for Distribution.",
  137. "schema": {
  138. "type": "list",
  139. "default": [],
  140. "items": [
  141. {
  142. "variable": "env",
  143. "label": "Environment Variable",
  144. "schema": {
  145. "type": "dict",
  146. "attrs": [
  147. {
  148. "variable": "name",
  149. "label": "Name",
  150. "schema": {
  151. "type": "string",
  152. "required": true
  153. }
  154. },
  155. {
  156. "variable": "value",
  157. "label": "Value",
  158. "schema": {
  159. "type": "string",
  160. "required": true
  161. }
  162. }
  163. ]
  164. }
  165. }
  166. ]
  167. }
  168. }
  169. ]
  170. }
  171. },
  172. {
  173. "variable": "distributionRunAs",
  174. "label": "",
  175. "group": "User and Group Configuration",
  176. "schema": {
  177. "type": "dict",
  178. "attrs": [
  179. {
  180. "variable": "user",
  181. "label": "User ID",
  182. "description": "The user id that Distribution will run as.",
  183. "schema": {
  184. "type": "int",
  185. "min": 2,
  186. "default": 568,
  187. "required": true
  188. }
  189. },
  190. {
  191. "variable": "group",
  192. "label": "Group ID",
  193. "description": "The group id that Distribution will run as.",
  194. "schema": {
  195. "type": "int",
  196. "min": 2,
  197. "default": 568,
  198. "required": true
  199. }
  200. }
  201. ]
  202. }
  203. },
  204. {
  205. "variable": "distributionNetwork",
  206. "label": "",
  207. "group": "Network Configuration",
  208. "schema": {
  209. "type": "dict",
  210. "attrs": [
  211. {
  212. "variable": "apiPort",
  213. "label": "API Port",
  214. "description": "The port for the Distribution API.",
  215. "schema": {
  216. "type": "int",
  217. "default": 30095,
  218. "min": 9000,
  219. "max": 65535,
  220. "required": true
  221. }
  222. },
  223. {
  224. "variable": "certificateID",
  225. "label": "Certificate",
  226. "description": "The certificate to use for Distribution.",
  227. "schema": {
  228. "type": "int",
  229. "null": true,
  230. "$ref": [
  231. "definitions/certificate"
  232. ],
  233. "enum": [
  234. {
  235. "value": null,
  236. "description": "No Certificate"
  237. }
  238. ],
  239. "default": null
  240. }
  241. },
  242. {
  243. "variable": "hostNetwork",
  244. "label": "Host Network",
  245. "description": "Bind to the host network. It's recommended to keep this disabled.</br>\n",
  246. "schema": {
  247. "type": "boolean",
  248. "default": false
  249. }
  250. }
  251. ]
  252. }
  253. },
  254. {
  255. "variable": "distributionStorage",
  256. "label": "",
  257. "group": "Storage Configuration",
  258. "schema": {
  259. "type": "dict",
  260. "attrs": [
  261. {
  262. "variable": "useFilesystemBackend",
  263. "label": "Use Filesystem Backend",
  264. "description": "Use filesystem backend for Distribution.</br>\nIf disabled, you will need to configure a backend for Distribution.</br>\nEither with environment variables or with a configuration file.\n",
  265. "schema": {
  266. "type": "boolean",
  267. "default": true
  268. }
  269. },
  270. {
  271. "variable": "data",
  272. "label": "Distribution Data Storage",
  273. "description": "The path to store Distribution data.",
  274. "schema": {
  275. "type": "dict",
  276. "show_if": [
  277. [
  278. "useFilesystemBackend",
  279. "=",
  280. true
  281. ]
  282. ],
  283. "attrs": [
  284. {
  285. "variable": "type",
  286. "label": "Type",
  287. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  288. "schema": {
  289. "type": "string",
  290. "required": true,
  291. "immutable": true,
  292. "default": "ixVolume",
  293. "enum": [
  294. {
  295. "value": "hostPath",
  296. "description": "Host Path (Path that already exists on the system)"
  297. },
  298. {
  299. "value": "ixVolume",
  300. "description": "ixVolume (Dataset created automatically by the system)"
  301. }
  302. ]
  303. }
  304. },
  305. {
  306. "variable": "datasetName",
  307. "label": "Dataset Name",
  308. "schema": {
  309. "type": "string",
  310. "show_if": [
  311. [
  312. "type",
  313. "=",
  314. "ixVolume"
  315. ]
  316. ],
  317. "required": true,
  318. "hidden": true,
  319. "immutable": true,
  320. "default": "data",
  321. "$ref": [
  322. "normalize/ixVolume"
  323. ]
  324. }
  325. },
  326. {
  327. "variable": "hostPath",
  328. "label": "Host Path",
  329. "schema": {
  330. "type": "hostpath",
  331. "show_if": [
  332. [
  333. "type",
  334. "=",
  335. "hostPath"
  336. ]
  337. ],
  338. "required": true
  339. }
  340. }
  341. ]
  342. }
  343. },
  344. {
  345. "variable": "additionalStorages",
  346. "label": "Additional Storage",
  347. "description": "Additional storage for Distribution.",
  348. "schema": {
  349. "type": "list",
  350. "default": [],
  351. "items": [
  352. {
  353. "variable": "storageEntry",
  354. "label": "Storage Entry",
  355. "schema": {
  356. "type": "dict",
  357. "attrs": [
  358. {
  359. "variable": "type",
  360. "label": "Type",
  361. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.</br>\nSMB Share: Is a SMB share that is mounted to a persistent volume claim.\n",
  362. "schema": {
  363. "type": "string",
  364. "required": true,
  365. "default": "ixVolume",
  366. "immutable": true,
  367. "enum": [
  368. {
  369. "value": "hostPath",
  370. "description": "Host Path (Path that already exists on the system)"
  371. },
  372. {
  373. "value": "ixVolume",
  374. "description": "ixVolume (Dataset created automatically by the system)"
  375. },
  376. {
  377. "value": "smb-pv-pvc",
  378. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  379. }
  380. ]
  381. }
  382. },
  383. {
  384. "variable": "mountPath",
  385. "label": "Mount Path",
  386. "description": "The path inside the container to mount the storage.",
  387. "schema": {
  388. "type": "path",
  389. "required": true
  390. }
  391. },
  392. {
  393. "variable": "hostPath",
  394. "label": "Host Path",
  395. "description": "The host path to use for storage.",
  396. "schema": {
  397. "type": "hostpath",
  398. "show_if": [
  399. [
  400. "type",
  401. "=",
  402. "hostPath"
  403. ]
  404. ],
  405. "required": true
  406. }
  407. },
  408. {
  409. "variable": "datasetName",
  410. "label": "Dataset Name",
  411. "description": "The name of the dataset to use for storage.",
  412. "schema": {
  413. "type": "string",
  414. "show_if": [
  415. [
  416. "type",
  417. "=",
  418. "ixVolume"
  419. ]
  420. ],
  421. "required": true,
  422. "immutable": true,
  423. "default": "storage_entry",
  424. "$ref": [
  425. "normalize/ixVolume"
  426. ]
  427. }
  428. },
  429. {
  430. "variable": "server",
  431. "label": "Server",
  432. "description": "The server for the SMB share.",
  433. "schema": {
  434. "type": "string",
  435. "show_if": [
  436. [
  437. "type",
  438. "=",
  439. "smb-pv-pvc"
  440. ]
  441. ],
  442. "required": true
  443. }
  444. },
  445. {
  446. "variable": "share",
  447. "label": "Share",
  448. "description": "The share name for the SMB share.",
  449. "schema": {
  450. "type": "string",
  451. "show_if": [
  452. [
  453. "type",
  454. "=",
  455. "smb-pv-pvc"
  456. ]
  457. ],
  458. "required": true
  459. }
  460. },
  461. {
  462. "variable": "domain",
  463. "label": "Domain (Optional)",
  464. "description": "The domain for the SMB share.",
  465. "schema": {
  466. "type": "string",
  467. "show_if": [
  468. [
  469. "type",
  470. "=",
  471. "smb-pv-pvc"
  472. ]
  473. ]
  474. }
  475. },
  476. {
  477. "variable": "username",
  478. "label": "Username",
  479. "description": "The username for the SMB share.",
  480. "schema": {
  481. "type": "string",
  482. "show_if": [
  483. [
  484. "type",
  485. "=",
  486. "smb-pv-pvc"
  487. ]
  488. ],
  489. "required": true
  490. }
  491. },
  492. {
  493. "variable": "password",
  494. "label": "Password",
  495. "description": "The password for the SMB share.",
  496. "schema": {
  497. "type": "string",
  498. "show_if": [
  499. [
  500. "type",
  501. "=",
  502. "smb-pv-pvc"
  503. ]
  504. ],
  505. "required": true,
  506. "private": true
  507. }
  508. },
  509. {
  510. "variable": "size",
  511. "label": "Size (in Gi)",
  512. "description": "The size of the volume quota.",
  513. "schema": {
  514. "type": "int",
  515. "show_if": [
  516. [
  517. "type",
  518. "=",
  519. "smb-pv-pvc"
  520. ]
  521. ],
  522. "required": true,
  523. "min": 1,
  524. "default": 1
  525. }
  526. }
  527. ]
  528. }
  529. }
  530. ]
  531. }
  532. }
  533. ]
  534. }
  535. },
  536. {
  537. "variable": "resources",
  538. "group": "Resources Configuration",
  539. "label": "",
  540. "schema": {
  541. "type": "dict",
  542. "attrs": [
  543. {
  544. "variable": "limits",
  545. "label": "Limits",
  546. "schema": {
  547. "type": "dict",
  548. "attrs": [
  549. {
  550. "variable": "cpu",
  551. "label": "CPU",
  552. "description": "CPU limit for Distribution.",
  553. "schema": {
  554. "type": "string",
  555. "max_length": 6,
  556. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  557. "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",
  558. "default": "4000m",
  559. "required": true
  560. }
  561. },
  562. {
  563. "variable": "memory",
  564. "label": "Memory",
  565. "description": "Memory limit for Distribution.",
  566. "schema": {
  567. "type": "string",
  568. "max_length": 12,
  569. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  570. "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",
  571. "default": "8Gi",
  572. "required": true
  573. }
  574. }
  575. ]
  576. }
  577. }
  578. ]
  579. }
  580. }
  581. ]
  582. },
  583. "app_readme": "<h1>Distribution</h1>\n<p><a href=\"https://github.com/distribution/distribution\">Distribution</a> is a toolkit to pack, ship, store, and deliver container content</p>\n<blockquote>\n<p>When application is installed, a container will be launched with <strong>root</strong> privileges.\nThis is required in order to apply the correct permissions to the <code>Distribution</code> directories.\nAfterward, the <code>Distribution</code> container will run as a <strong>non</strong>-root user (Default: <code>568</code>).\nAll mounted storage(s) will be <code>chown</code>ed only if the parent directory does not match the configured user.</p>\n</blockquote>",
  584. "detailed_readme": "<h1>Distribution</h1>\n<p><a href=\"https://github.com/distribution/distribution\">Distribution</a> is a toolkit to pack, ship, store, and deliver container content</p>\n<blockquote>\n<p>When application is installed, a container will be launched with <strong>root</strong> privileges.\nThis is required in order to apply the correct permissions to the <code>Distribution</code> directories.\nAfterward, the <code>Distribution</code> container will run as a <strong>non</strong>-root user (Default: <code>568</code>).\nAll mounted storage(s) will be <code>chown</code>ed only if the parent directory does not match the configured user.</p>\n</blockquote>",
  585. "changelog": null
  586. }
  587. }