app_versions.json 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. {
  2. "1.1.2": {
  3. "healthy": true,
  4. "supported": true,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/distribution/1.1.2",
  7. "last_update": "2023-11-14 10:11:57",
  8. "required_features": [
  9. "definitions/certificate",
  10. "normalize/ixVolume"
  11. ],
  12. "human_version": "2.8.3_1.1.2",
  13. "version": "1.1.2",
  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.2",
  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.2"
  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. "immutable": true,
  339. "required": true
  340. }
  341. }
  342. ]
  343. }
  344. },
  345. {
  346. "variable": "additionalStorages",
  347. "label": "Additional Storage",
  348. "description": "Additional storage for Distribution.",
  349. "schema": {
  350. "type": "list",
  351. "default": [],
  352. "items": [
  353. {
  354. "variable": "storageEntry",
  355. "label": "Storage Entry",
  356. "schema": {
  357. "type": "dict",
  358. "attrs": [
  359. {
  360. "variable": "type",
  361. "label": "Type",
  362. "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",
  363. "schema": {
  364. "type": "string",
  365. "required": true,
  366. "default": "ixVolume",
  367. "immutable": true,
  368. "enum": [
  369. {
  370. "value": "hostPath",
  371. "description": "Host Path (Path that already exists on the system)"
  372. },
  373. {
  374. "value": "ixVolume",
  375. "description": "ixVolume (Dataset created automatically by the system)"
  376. },
  377. {
  378. "value": "smb-pv-pvc",
  379. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  380. }
  381. ]
  382. }
  383. },
  384. {
  385. "variable": "mountPath",
  386. "label": "Mount Path",
  387. "description": "The path inside the container to mount the storage.",
  388. "schema": {
  389. "type": "path",
  390. "required": true
  391. }
  392. },
  393. {
  394. "variable": "hostPath",
  395. "label": "Host Path",
  396. "description": "The host path to use for storage.",
  397. "schema": {
  398. "type": "hostpath",
  399. "show_if": [
  400. [
  401. "type",
  402. "=",
  403. "hostPath"
  404. ]
  405. ],
  406. "required": true
  407. }
  408. },
  409. {
  410. "variable": "datasetName",
  411. "label": "Dataset Name",
  412. "description": "The name of the dataset to use for storage.",
  413. "schema": {
  414. "type": "string",
  415. "show_if": [
  416. [
  417. "type",
  418. "=",
  419. "ixVolume"
  420. ]
  421. ],
  422. "required": true,
  423. "immutable": true,
  424. "default": "storage_entry",
  425. "$ref": [
  426. "normalize/ixVolume"
  427. ]
  428. }
  429. },
  430. {
  431. "variable": "server",
  432. "label": "Server",
  433. "description": "The server for the SMB share.",
  434. "schema": {
  435. "type": "string",
  436. "show_if": [
  437. [
  438. "type",
  439. "=",
  440. "smb-pv-pvc"
  441. ]
  442. ],
  443. "required": true
  444. }
  445. },
  446. {
  447. "variable": "share",
  448. "label": "Share",
  449. "description": "The share name for the SMB share.",
  450. "schema": {
  451. "type": "string",
  452. "show_if": [
  453. [
  454. "type",
  455. "=",
  456. "smb-pv-pvc"
  457. ]
  458. ],
  459. "required": true
  460. }
  461. },
  462. {
  463. "variable": "domain",
  464. "label": "Domain (Optional)",
  465. "description": "The domain for the SMB share.",
  466. "schema": {
  467. "type": "string",
  468. "show_if": [
  469. [
  470. "type",
  471. "=",
  472. "smb-pv-pvc"
  473. ]
  474. ]
  475. }
  476. },
  477. {
  478. "variable": "username",
  479. "label": "Username",
  480. "description": "The username for the SMB share.",
  481. "schema": {
  482. "type": "string",
  483. "show_if": [
  484. [
  485. "type",
  486. "=",
  487. "smb-pv-pvc"
  488. ]
  489. ],
  490. "required": true
  491. }
  492. },
  493. {
  494. "variable": "password",
  495. "label": "Password",
  496. "description": "The password for the SMB share.",
  497. "schema": {
  498. "type": "string",
  499. "show_if": [
  500. [
  501. "type",
  502. "=",
  503. "smb-pv-pvc"
  504. ]
  505. ],
  506. "required": true,
  507. "private": true
  508. }
  509. },
  510. {
  511. "variable": "size",
  512. "label": "Size (in Gi)",
  513. "description": "The size of the volume quota.",
  514. "schema": {
  515. "type": "int",
  516. "show_if": [
  517. [
  518. "type",
  519. "=",
  520. "smb-pv-pvc"
  521. ]
  522. ],
  523. "required": true,
  524. "min": 1,
  525. "default": 1
  526. }
  527. }
  528. ]
  529. }
  530. }
  531. ]
  532. }
  533. }
  534. ]
  535. }
  536. },
  537. {
  538. "variable": "resources",
  539. "group": "Resources Configuration",
  540. "label": "",
  541. "schema": {
  542. "type": "dict",
  543. "attrs": [
  544. {
  545. "variable": "limits",
  546. "label": "Limits",
  547. "schema": {
  548. "type": "dict",
  549. "attrs": [
  550. {
  551. "variable": "cpu",
  552. "label": "CPU",
  553. "description": "CPU limit for Distribution.",
  554. "schema": {
  555. "type": "string",
  556. "max_length": 6,
  557. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  558. "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",
  559. "default": "4000m",
  560. "required": true
  561. }
  562. },
  563. {
  564. "variable": "memory",
  565. "label": "Memory",
  566. "description": "Memory limit for Distribution.",
  567. "schema": {
  568. "type": "string",
  569. "max_length": 12,
  570. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  571. "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",
  572. "default": "8Gi",
  573. "required": true
  574. }
  575. }
  576. ]
  577. }
  578. }
  579. ]
  580. }
  581. }
  582. ]
  583. },
  584. "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>",
  585. "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>",
  586. "changelog": null
  587. }
  588. }