app_versions.json 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. {
  2. "1.2.5": {
  3. "healthy": true,
  4. "supported": true,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/unifi-controller/1.2.5",
  7. "last_update": "2023-12-22 07:42:55",
  8. "required_features": [
  9. "definitions/certificate",
  10. "definitions/timezone",
  11. "normalize/ixVolume"
  12. ],
  13. "human_version": "8.0.24_1.2.5",
  14. "version": "1.2.5",
  15. "chart_metadata": {
  16. "name": "unifi-controller",
  17. "description": "Unifi Controller is a network management controller for Unifi Equipment.",
  18. "annotations": {
  19. "title": "Unifi Controller"
  20. },
  21. "type": "application",
  22. "version": "1.2.5",
  23. "apiVersion": "v2",
  24. "appVersion": "8.0.24",
  25. "kubeVersion": ">=1.16.0-0",
  26. "maintainers": [
  27. {
  28. "name": "truenas",
  29. "url": "https://www.truenas.com/",
  30. "email": "dev@ixsystems.com"
  31. }
  32. ],
  33. "dependencies": [
  34. {
  35. "name": "common",
  36. "repository": "file://../../../common",
  37. "version": "1.2.5"
  38. }
  39. ],
  40. "home": "https://github.com/goofball222/unifi",
  41. "icon": "https://media.sys.truenas.net/apps/unifi-controller/icons/icon.png",
  42. "sources": [
  43. "https://github.com/goofball222/unifi",
  44. "https://github.com/truenas/charts/tree/master/library/ix-dev/community/unifi-controller",
  45. "https://hub.docker.com/r/goofball222/unifi"
  46. ],
  47. "keywords": [
  48. "network",
  49. "controller",
  50. "unifi"
  51. ]
  52. },
  53. "app_metadata": {
  54. "runAsContext": [
  55. {
  56. "userName": "unifi",
  57. "groupName": "unifi",
  58. "gid": 999,
  59. "uid": 999,
  60. "description": "Unifi runs as a non-root user."
  61. }
  62. ],
  63. "capabilities": [],
  64. "hostMounts": []
  65. },
  66. "schema": {
  67. "groups": [
  68. {
  69. "name": "Unifi Controller Configuration",
  70. "description": "Configure Unifi Controller"
  71. },
  72. {
  73. "name": "Network Configuration",
  74. "description": "Configure Network for Unifi Controller"
  75. },
  76. {
  77. "name": "Storage Configuration",
  78. "description": "Configure Storage for Unifi Controller"
  79. },
  80. {
  81. "name": "Resources Configuration",
  82. "description": "Configure Resources for Unifi Controller"
  83. }
  84. ],
  85. "portals": {
  86. "web_portal": {
  87. "protocols": [
  88. "$kubernetes-resource_configmap_portal_protocol"
  89. ],
  90. "host": [
  91. "$kubernetes-resource_configmap_portal_host"
  92. ],
  93. "ports": [
  94. "$kubernetes-resource_configmap_portal_port"
  95. ],
  96. "path": "$kubernetes-resource_configmap_portal_path"
  97. }
  98. },
  99. "questions": [
  100. {
  101. "variable": "TZ",
  102. "group": "Unifi Controller Configuration",
  103. "label": "Timezone",
  104. "schema": {
  105. "type": "string",
  106. "default": "America/Los_Angeles",
  107. "required": true,
  108. "$ref": [
  109. "definitions/timezone"
  110. ],
  111. "enum": [
  112. {
  113. "value": "Asia/Damascus",
  114. "description": "'Asia/Damascus' timezone"
  115. },
  116. {
  117. "value": "Asia/Saigon",
  118. "description": "'Asia/Saigon' timezone"
  119. }
  120. ]
  121. }
  122. },
  123. {
  124. "variable": "unifiConfig",
  125. "label": "",
  126. "group": "Unifi Controller Configuration",
  127. "schema": {
  128. "type": "dict",
  129. "attrs": [
  130. {
  131. "variable": "additionalEnvs",
  132. "label": "Additional Environment Variables",
  133. "description": "Configure additional environment variables for Unifi Controller.",
  134. "schema": {
  135. "type": "list",
  136. "default": [],
  137. "items": [
  138. {
  139. "variable": "env",
  140. "label": "Environment Variable",
  141. "schema": {
  142. "type": "dict",
  143. "attrs": [
  144. {
  145. "variable": "name",
  146. "label": "Name",
  147. "schema": {
  148. "type": "string",
  149. "required": true
  150. }
  151. },
  152. {
  153. "variable": "value",
  154. "label": "Value",
  155. "schema": {
  156. "type": "string",
  157. "required": true
  158. }
  159. }
  160. ]
  161. }
  162. }
  163. ]
  164. }
  165. }
  166. ]
  167. }
  168. },
  169. {
  170. "variable": "unifiNetwork",
  171. "label": "",
  172. "group": "Network Configuration",
  173. "schema": {
  174. "type": "dict",
  175. "attrs": [
  176. {
  177. "variable": "webHttpsPort",
  178. "label": "Web HTTPS Port",
  179. "description": "The HTTPS port for the Unifi Controller Web UI.",
  180. "schema": {
  181. "type": "int",
  182. "default": 30072,
  183. "min": 9000,
  184. "max": 65535,
  185. "required": true
  186. }
  187. },
  188. {
  189. "variable": "enableWebHttp",
  190. "label": "Enable Web HTTP",
  191. "description": "Enable HTTP for the Unifi Controller Web UI.",
  192. "schema": {
  193. "type": "boolean",
  194. "default": false
  195. }
  196. },
  197. {
  198. "variable": "webHttpPort",
  199. "label": "Web HTTP Port",
  200. "description": "The HTTP port for the Unifi Controller Web UI.",
  201. "schema": {
  202. "type": "int",
  203. "default": 30073,
  204. "show_if": [
  205. [
  206. "enableWebHttp",
  207. "=",
  208. true
  209. ]
  210. ],
  211. "min": 9000,
  212. "max": 65535,
  213. "required": true
  214. }
  215. },
  216. {
  217. "variable": "portalHttpsPort",
  218. "label": "Portal HTTPS Port",
  219. "description": "The HTTPS port for the Unifi Controller Portal.",
  220. "schema": {
  221. "type": "int",
  222. "default": 30074,
  223. "min": 9000,
  224. "max": 65535,
  225. "required": true
  226. }
  227. },
  228. {
  229. "variable": "enablePortalHttp",
  230. "label": "Enable Portal HTTP",
  231. "description": "Enable HTTP for the Unifi Controller Portal.",
  232. "schema": {
  233. "type": "boolean",
  234. "default": false
  235. }
  236. },
  237. {
  238. "variable": "portalHttpPort",
  239. "label": "Portal HTTP Port",
  240. "description": "The HTTP port for the Unifi Controller Portal.",
  241. "schema": {
  242. "type": "int",
  243. "default": 30075,
  244. "show_if": [
  245. [
  246. "enablePortalHttp",
  247. "=",
  248. true
  249. ]
  250. ],
  251. "min": 9000,
  252. "max": 65535,
  253. "required": true
  254. }
  255. },
  256. {
  257. "variable": "certificateID",
  258. "label": "Certificate",
  259. "description": "The certificate to use for Unifi Controller",
  260. "schema": {
  261. "type": "int",
  262. "null": true,
  263. "$ref": [
  264. "definitions/certificate"
  265. ],
  266. "enum": [
  267. {
  268. "value": null,
  269. "description": "No Certificate"
  270. }
  271. ],
  272. "default": null
  273. }
  274. },
  275. {
  276. "variable": "hostNetwork",
  277. "label": "Host Network",
  278. "description": "Bind to the host network. </br>\nThis might be required for specific features like STUN.\n",
  279. "schema": {
  280. "type": "boolean",
  281. "default": false
  282. }
  283. }
  284. ]
  285. }
  286. },
  287. {
  288. "variable": "unifiStorage",
  289. "label": "",
  290. "group": "Storage Configuration",
  291. "schema": {
  292. "type": "dict",
  293. "attrs": [
  294. {
  295. "variable": "data",
  296. "label": "Unifi Controller Data Storage",
  297. "description": "The path to store Unifi Controller Data.",
  298. "schema": {
  299. "type": "dict",
  300. "attrs": [
  301. {
  302. "variable": "type",
  303. "label": "Type",
  304. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  305. "schema": {
  306. "type": "string",
  307. "required": true,
  308. "immutable": true,
  309. "default": "ixVolume",
  310. "enum": [
  311. {
  312. "value": "hostPath",
  313. "description": "Host Path (Path that already exists on the system)"
  314. },
  315. {
  316. "value": "ixVolume",
  317. "description": "ixVolume (Dataset created automatically by the system)"
  318. }
  319. ]
  320. }
  321. },
  322. {
  323. "variable": "datasetName",
  324. "label": "Dataset Name",
  325. "schema": {
  326. "type": "string",
  327. "show_if": [
  328. [
  329. "type",
  330. "=",
  331. "ixVolume"
  332. ]
  333. ],
  334. "required": true,
  335. "hidden": true,
  336. "immutable": true,
  337. "default": "data",
  338. "$ref": [
  339. "normalize/ixVolume"
  340. ]
  341. }
  342. },
  343. {
  344. "variable": "hostPath",
  345. "label": "Host Path",
  346. "schema": {
  347. "type": "hostpath",
  348. "show_if": [
  349. [
  350. "type",
  351. "=",
  352. "hostPath"
  353. ]
  354. ],
  355. "required": true
  356. }
  357. }
  358. ]
  359. }
  360. },
  361. {
  362. "variable": "additionalStorages",
  363. "label": "Additional Storage",
  364. "description": "Additional storage for Unifi Controller.",
  365. "schema": {
  366. "type": "list",
  367. "default": [],
  368. "items": [
  369. {
  370. "variable": "storageEntry",
  371. "label": "Storage Entry",
  372. "schema": {
  373. "type": "dict",
  374. "attrs": [
  375. {
  376. "variable": "type",
  377. "label": "Type",
  378. "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",
  379. "schema": {
  380. "type": "string",
  381. "required": true,
  382. "default": "ixVolume",
  383. "immutable": true,
  384. "enum": [
  385. {
  386. "value": "hostPath",
  387. "description": "Host Path (Path that already exists on the system)"
  388. },
  389. {
  390. "value": "ixVolume",
  391. "description": "ixVolume (Dataset created automatically by the system)"
  392. },
  393. {
  394. "value": "smb-pv-pvc",
  395. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  396. }
  397. ]
  398. }
  399. },
  400. {
  401. "variable": "mountPath",
  402. "label": "Mount Path",
  403. "description": "The path inside the container to mount the storage.",
  404. "schema": {
  405. "type": "path",
  406. "required": true
  407. }
  408. },
  409. {
  410. "variable": "hostPath",
  411. "label": "Host Path",
  412. "description": "The host path to use for storage.",
  413. "schema": {
  414. "type": "hostpath",
  415. "show_if": [
  416. [
  417. "type",
  418. "=",
  419. "hostPath"
  420. ]
  421. ],
  422. "required": true
  423. }
  424. },
  425. {
  426. "variable": "datasetName",
  427. "label": "Dataset Name",
  428. "description": "The name of the dataset to use for storage.",
  429. "schema": {
  430. "type": "string",
  431. "show_if": [
  432. [
  433. "type",
  434. "=",
  435. "ixVolume"
  436. ]
  437. ],
  438. "required": true,
  439. "immutable": true,
  440. "default": "storage_entry",
  441. "$ref": [
  442. "normalize/ixVolume"
  443. ]
  444. }
  445. },
  446. {
  447. "variable": "server",
  448. "label": "Server",
  449. "description": "The server 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": "share",
  464. "label": "Share",
  465. "description": "The share name for the SMB share.",
  466. "schema": {
  467. "type": "string",
  468. "show_if": [
  469. [
  470. "type",
  471. "=",
  472. "smb-pv-pvc"
  473. ]
  474. ],
  475. "required": true
  476. }
  477. },
  478. {
  479. "variable": "domain",
  480. "label": "Domain (Optional)",
  481. "description": "The domain for the SMB share.",
  482. "schema": {
  483. "type": "string",
  484. "show_if": [
  485. [
  486. "type",
  487. "=",
  488. "smb-pv-pvc"
  489. ]
  490. ]
  491. }
  492. },
  493. {
  494. "variable": "username",
  495. "label": "Username",
  496. "description": "The username 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. }
  508. },
  509. {
  510. "variable": "password",
  511. "label": "Password",
  512. "description": "The password for the SMB share.",
  513. "schema": {
  514. "type": "string",
  515. "show_if": [
  516. [
  517. "type",
  518. "=",
  519. "smb-pv-pvc"
  520. ]
  521. ],
  522. "required": true,
  523. "private": true
  524. }
  525. },
  526. {
  527. "variable": "size",
  528. "label": "Size (in Gi)",
  529. "description": "The size of the volume quota.",
  530. "schema": {
  531. "type": "int",
  532. "show_if": [
  533. [
  534. "type",
  535. "=",
  536. "smb-pv-pvc"
  537. ]
  538. ],
  539. "required": true,
  540. "min": 1,
  541. "default": 1
  542. }
  543. }
  544. ]
  545. }
  546. }
  547. ]
  548. }
  549. }
  550. ]
  551. }
  552. },
  553. {
  554. "variable": "resources",
  555. "group": "Resources Configuration",
  556. "label": "",
  557. "schema": {
  558. "type": "dict",
  559. "attrs": [
  560. {
  561. "variable": "limits",
  562. "label": "Limits",
  563. "schema": {
  564. "type": "dict",
  565. "attrs": [
  566. {
  567. "variable": "cpu",
  568. "label": "CPU",
  569. "description": "CPU limit for Unifi Controller.",
  570. "schema": {
  571. "type": "string",
  572. "max_length": 6,
  573. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  574. "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",
  575. "default": "4000m",
  576. "required": true
  577. }
  578. },
  579. {
  580. "variable": "memory",
  581. "label": "Memory",
  582. "description": "Memory limit for Unifi Controller.",
  583. "schema": {
  584. "type": "string",
  585. "max_length": 12,
  586. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  587. "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",
  588. "default": "8Gi",
  589. "required": true
  590. }
  591. }
  592. ]
  593. }
  594. }
  595. ]
  596. }
  597. }
  598. ]
  599. },
  600. "app_readme": "<h1>Unifi Controller</h1>\n<p><a href=\"https://github.com/goofball222/unifi\">Unifi Controller</a> is a network management controller for Unifi Equipment.</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>Unifi Controller</code> directories.\nAfterward, the <code>Unifi Controller</code> container will run as a <strong>non</strong>-root user (<code>999</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>",
  601. "detailed_readme": "<h1>Unifi Controller</h1>\n<p><a href=\"https://github.com/goofball222/unifi\">Unifi Controller</a> is a network management controller for Unifi Equipment.</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>Unifi Controller</code> directories.\nAfterward, the <code>Unifi Controller</code> container will run as a <strong>non</strong>-root user (<code>999</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>",
  602. "changelog": null
  603. }
  604. }