app_versions.json 34 KB

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