app_versions.json 136 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062
  1. {
  2. "2.0.3": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/charts/pihole/2.0.3",
  7. "last_update": "2024-02-17 08:55:44",
  8. "required_features": [
  9. "normalize/acl",
  10. "definitions/timezone",
  11. "normalize/ixVolume"
  12. ],
  13. "human_version": "2023.11.0_2.0.3",
  14. "version": "2.0.3",
  15. "chart_metadata": {
  16. "name": "pihole",
  17. "description": "DNS and Ad-filtering for your network.",
  18. "annotations": {
  19. "title": "Pi-hole"
  20. },
  21. "type": "application",
  22. "version": "2.0.3",
  23. "apiVersion": "v2",
  24. "appVersion": "2023.11.0",
  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.9"
  38. }
  39. ],
  40. "home": "https://pi-hole.net/",
  41. "icon": "https://media.sys.truenas.net/apps/pihole/icons/icon.png",
  42. "sources": [
  43. "https://pi-hole.net/",
  44. "https://github.com/truenas/charts/tree/master/charts/pihole"
  45. ],
  46. "keywords": [
  47. "networking",
  48. "dns"
  49. ]
  50. },
  51. "app_metadata": {
  52. "runAsContext": [
  53. {
  54. "userName": "root",
  55. "groupName": "root",
  56. "gid": 0,
  57. "uid": 0,
  58. "description": "Pi-hole runs as root user."
  59. }
  60. ],
  61. "capabilities": [
  62. {
  63. "name": "CHOWN",
  64. "description": "Pi-hole is able to chown files."
  65. },
  66. {
  67. "name": "FOWNER",
  68. "description": "Pi-hole is able to bypass permission checks for it's sub-processes."
  69. },
  70. {
  71. "name": "DAC_OVERRIDE",
  72. "description": "Pi-hole is able to bypass permission checks."
  73. },
  74. {
  75. "name": "SETGID",
  76. "description": "Pi-hole is able to set group ID for it's sub-processes."
  77. },
  78. {
  79. "name": "SETUID",
  80. "description": "Pi-hole is able to set user ID for it's sub-processes."
  81. },
  82. {
  83. "name": "SETFCAP",
  84. "description": "Pi-hole is able to set file capabilities."
  85. },
  86. {
  87. "name": "SETPCAP",
  88. "description": "Pi-hole is able to set process capabilities."
  89. },
  90. {
  91. "name": "NET_ADMIN",
  92. "description": "Pi-hole is able to perform various network-related operations."
  93. },
  94. {
  95. "name": "NET_BIND_SERVICE",
  96. "description": "Pi-hole is able to bind to a privileged port."
  97. },
  98. {
  99. "name": "KILL",
  100. "description": "Pi-hole is able to kill processes."
  101. }
  102. ],
  103. "hostMounts": []
  104. },
  105. "schema": {
  106. "groups": [
  107. {
  108. "name": "Pi-Hole Configuration",
  109. "description": "Configure Pi-Hole"
  110. },
  111. {
  112. "name": "Advanced Pod Configuration",
  113. "description": "Configure Advanced Pod Options for Pi-Hole"
  114. },
  115. {
  116. "name": "Network Configuration",
  117. "description": "Configure Network for Pi-Hole"
  118. },
  119. {
  120. "name": "Storage Configuration",
  121. "description": "Configure Storage for Pi-Hole"
  122. },
  123. {
  124. "name": "Resources Configuration",
  125. "description": "Configure Resources for Pi-Hole"
  126. }
  127. ],
  128. "portals": {
  129. "web_portal": {
  130. "protocols": [
  131. "$kubernetes-resource_configmap_portal_protocol"
  132. ],
  133. "host": [
  134. "$kubernetes-resource_configmap_portal_host"
  135. ],
  136. "ports": [
  137. "$kubernetes-resource_configmap_portal_port"
  138. ],
  139. "path": "$kubernetes-resource_configmap_portal_path"
  140. }
  141. },
  142. "questions": [
  143. {
  144. "variable": "TZ",
  145. "group": "Pi-Hole Configuration",
  146. "label": "Timezone",
  147. "schema": {
  148. "type": "string",
  149. "default": "America/Los_Angeles",
  150. "required": true,
  151. "$ref": [
  152. "definitions/timezone"
  153. ],
  154. "enum": [
  155. {
  156. "value": "Asia/Damascus",
  157. "description": "'Asia/Damascus' timezone"
  158. },
  159. {
  160. "value": "Asia/Saigon",
  161. "description": "'Asia/Saigon' timezone"
  162. }
  163. ]
  164. }
  165. },
  166. {
  167. "variable": "piholeConfig",
  168. "label": "",
  169. "group": "Pi-Hole Configuration",
  170. "schema": {
  171. "type": "dict",
  172. "attrs": [
  173. {
  174. "variable": "webPassword",
  175. "label": "Web Password",
  176. "description": "The password for the Pi-Hole Web UI.",
  177. "schema": {
  178. "type": "string",
  179. "required": true,
  180. "private": true
  181. }
  182. },
  183. {
  184. "variable": "additionalEnvs",
  185. "label": "Additional Environment Variables",
  186. "description": "Configure additional environment variables for Pi-Hole.",
  187. "schema": {
  188. "type": "list",
  189. "default": [],
  190. "items": [
  191. {
  192. "variable": "env",
  193. "label": "Environment Variable",
  194. "schema": {
  195. "type": "dict",
  196. "attrs": [
  197. {
  198. "variable": "name",
  199. "label": "Name",
  200. "schema": {
  201. "type": "string",
  202. "required": true
  203. }
  204. },
  205. {
  206. "variable": "value",
  207. "label": "Value",
  208. "schema": {
  209. "type": "string",
  210. "required": true
  211. }
  212. }
  213. ]
  214. }
  215. }
  216. ]
  217. }
  218. }
  219. ]
  220. }
  221. },
  222. {
  223. "variable": "podOptions",
  224. "label": "",
  225. "group": "Advanced Pod Configuration",
  226. "schema": {
  227. "type": "dict",
  228. "attrs": [
  229. {
  230. "variable": "dnsConfig",
  231. "label": "Advanced DNS Configuration",
  232. "schema": {
  233. "type": "dict",
  234. "attrs": [
  235. {
  236. "variable": "options",
  237. "label": "DNS Options",
  238. "schema": {
  239. "type": "list",
  240. "items": [
  241. {
  242. "variable": "optionsEntry",
  243. "label": "DNS Option Entry",
  244. "schema": {
  245. "type": "dict",
  246. "attrs": [
  247. {
  248. "variable": "name",
  249. "label": "Option Name",
  250. "schema": {
  251. "type": "string",
  252. "required": true
  253. }
  254. },
  255. {
  256. "variable": "value",
  257. "label": "Option Value",
  258. "schema": {
  259. "type": "string",
  260. "required": true
  261. }
  262. }
  263. ]
  264. }
  265. }
  266. ]
  267. }
  268. }
  269. ]
  270. }
  271. }
  272. ]
  273. }
  274. },
  275. {
  276. "variable": "piholeNetwork",
  277. "label": "",
  278. "group": "Network Configuration",
  279. "schema": {
  280. "type": "dict",
  281. "attrs": [
  282. {
  283. "variable": "webPort",
  284. "label": "Web Port",
  285. "description": "The port for the Pi-Hole Web UI.",
  286. "schema": {
  287. "type": "int",
  288. "default": 20720,
  289. "min": 9000,
  290. "max": 65535,
  291. "required": true
  292. }
  293. },
  294. {
  295. "variable": "dhcp",
  296. "label": "DHCP Configuration",
  297. "schema": {
  298. "type": "dict",
  299. "attrs": [
  300. {
  301. "variable": "enabled",
  302. "label": "Enable DHCP",
  303. "description": "Enable DHCP for Pi-Hole.",
  304. "schema": {
  305. "type": "boolean",
  306. "default": false
  307. }
  308. },
  309. {
  310. "variable": "start",
  311. "label": "DHCP Start",
  312. "description": "The start of the DHCP range.",
  313. "schema": {
  314. "type": "ipaddr",
  315. "cidr": false,
  316. "show_if": [
  317. [
  318. "enabled",
  319. "=",
  320. true
  321. ]
  322. ],
  323. "required": true
  324. }
  325. },
  326. {
  327. "variable": "end",
  328. "label": "DHCP End",
  329. "description": "The end of the DHCP range.",
  330. "schema": {
  331. "type": "ipaddr",
  332. "cidr": false,
  333. "show_if": [
  334. [
  335. "enabled",
  336. "=",
  337. true
  338. ]
  339. ],
  340. "required": true
  341. }
  342. },
  343. {
  344. "variable": "gateway",
  345. "label": "DHCP Gateway",
  346. "description": "The gateway for the DHCP range.",
  347. "schema": {
  348. "type": "ipaddr",
  349. "cidr": false,
  350. "show_if": [
  351. [
  352. "enabled",
  353. "=",
  354. true
  355. ]
  356. ],
  357. "required": true
  358. }
  359. }
  360. ]
  361. }
  362. }
  363. ]
  364. }
  365. },
  366. {
  367. "variable": "piholeStorage",
  368. "label": "",
  369. "group": "Storage Configuration",
  370. "schema": {
  371. "type": "dict",
  372. "attrs": [
  373. {
  374. "variable": "config",
  375. "label": "Pi-Hole Config Storage",
  376. "description": "The path to store Pi-Hole Configuration.",
  377. "schema": {
  378. "type": "dict",
  379. "attrs": [
  380. {
  381. "variable": "type",
  382. "label": "Type",
  383. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  384. "schema": {
  385. "type": "string",
  386. "required": true,
  387. "immutable": true,
  388. "default": "ixVolume",
  389. "enum": [
  390. {
  391. "value": "hostPath",
  392. "description": "Host Path (Path that already exists on the system)"
  393. },
  394. {
  395. "value": "ixVolume",
  396. "description": "ixVolume (Dataset created automatically by the system)"
  397. }
  398. ]
  399. }
  400. },
  401. {
  402. "variable": "ixVolumeConfig",
  403. "label": "ixVolume Configuration",
  404. "description": "The configuration for the ixVolume dataset.",
  405. "schema": {
  406. "type": "dict",
  407. "show_if": [
  408. [
  409. "type",
  410. "=",
  411. "ixVolume"
  412. ]
  413. ],
  414. "$ref": [
  415. "normalize/ixVolume"
  416. ],
  417. "attrs": [
  418. {
  419. "variable": "aclEnable",
  420. "label": "Enable ACL",
  421. "description": "Enable ACL for the dataset.",
  422. "schema": {
  423. "type": "boolean",
  424. "default": false
  425. }
  426. },
  427. {
  428. "variable": "datasetName",
  429. "label": "Dataset Name",
  430. "description": "The name of the dataset to use for storage.",
  431. "schema": {
  432. "type": "string",
  433. "required": true,
  434. "immutable": true,
  435. "hidden": true,
  436. "default": "config"
  437. }
  438. },
  439. {
  440. "variable": "aclEntries",
  441. "label": "ACL Configuration",
  442. "schema": {
  443. "type": "dict",
  444. "show_if": [
  445. [
  446. "aclEnable",
  447. "=",
  448. true
  449. ]
  450. ],
  451. "attrs": [
  452. {
  453. "variable": "path",
  454. "label": "Path",
  455. "description": "Path to perform ACL",
  456. "schema": {
  457. "type": "string",
  458. "hidden": true
  459. }
  460. },
  461. {
  462. "variable": "entries",
  463. "label": "ACL Entries",
  464. "description": "ACL Entries",
  465. "schema": {
  466. "type": "list",
  467. "items": [
  468. {
  469. "variable": "aclEntry",
  470. "label": "ACL Entry",
  471. "schema": {
  472. "type": "dict",
  473. "attrs": [
  474. {
  475. "variable": "id_type",
  476. "label": "ID Type",
  477. "schema": {
  478. "type": "string",
  479. "enum": [
  480. {
  481. "value": "USER",
  482. "description": "Entry is for a USER"
  483. },
  484. {
  485. "value": "GROUP",
  486. "description": "Entry is for a GROUP"
  487. }
  488. ],
  489. "default": "USER"
  490. }
  491. },
  492. {
  493. "variable": "id",
  494. "label": "ID",
  495. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  496. "schema": {
  497. "type": "int",
  498. "required": true,
  499. "min": 0
  500. }
  501. },
  502. {
  503. "variable": "access",
  504. "label": "Access",
  505. "schema": {
  506. "type": "string",
  507. "enum": [
  508. {
  509. "value": "READ",
  510. "description": "Read Access"
  511. },
  512. {
  513. "value": "MODIFY",
  514. "description": "Modify Access"
  515. },
  516. {
  517. "value": "FULL_CONTROL",
  518. "description": "FULL_CONTROL Access"
  519. }
  520. ]
  521. }
  522. }
  523. ]
  524. }
  525. }
  526. ]
  527. }
  528. }
  529. ]
  530. }
  531. }
  532. ]
  533. }
  534. },
  535. {
  536. "variable": "hostPathConfig",
  537. "label": "Host Path Config",
  538. "schema": {
  539. "type": "dict",
  540. "show_if": [
  541. [
  542. "type",
  543. "=",
  544. "hostPath"
  545. ]
  546. ],
  547. "attrs": [
  548. {
  549. "variable": "aclEnable",
  550. "label": "Enable ACL",
  551. "description": "Enable ACL for the dataset.",
  552. "schema": {
  553. "type": "boolean",
  554. "default": false
  555. }
  556. },
  557. {
  558. "variable": "acl",
  559. "label": "ACL Configuration",
  560. "schema": {
  561. "type": "dict",
  562. "show_if": [
  563. [
  564. "aclEnable",
  565. "=",
  566. true
  567. ]
  568. ],
  569. "attrs": [
  570. {
  571. "variable": "path",
  572. "label": "Host Path",
  573. "description": "Host Path to perform ACL",
  574. "schema": {
  575. "type": "hostpath",
  576. "required": true,
  577. "empty": false
  578. }
  579. },
  580. {
  581. "variable": "entries",
  582. "label": "ACL Entries",
  583. "description": "ACL Entries",
  584. "schema": {
  585. "type": "list",
  586. "items": [
  587. {
  588. "variable": "aclEntry",
  589. "label": "ACL Entry",
  590. "schema": {
  591. "type": "dict",
  592. "attrs": [
  593. {
  594. "variable": "id_type",
  595. "label": "ID Type",
  596. "schema": {
  597. "type": "string",
  598. "enum": [
  599. {
  600. "value": "USER",
  601. "description": "Entry is for a USER"
  602. },
  603. {
  604. "value": "GROUP",
  605. "description": "Entry is for a GROUP"
  606. }
  607. ],
  608. "default": "USER"
  609. }
  610. },
  611. {
  612. "variable": "id",
  613. "label": "ID",
  614. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  615. "schema": {
  616. "type": "int",
  617. "required": true,
  618. "min": 0
  619. }
  620. },
  621. {
  622. "variable": "access",
  623. "label": "Access",
  624. "schema": {
  625. "type": "string",
  626. "enum": [
  627. {
  628. "value": "READ",
  629. "description": "Read Access"
  630. },
  631. {
  632. "value": "MODIFY",
  633. "description": "Modify Access"
  634. },
  635. {
  636. "value": "FULL_CONTROL",
  637. "description": "FULL_CONTROL Access"
  638. }
  639. ]
  640. }
  641. }
  642. ]
  643. }
  644. }
  645. ]
  646. }
  647. },
  648. {
  649. "variable": "options",
  650. "label": "ACL Options",
  651. "schema": {
  652. "type": "dict",
  653. "attrs": [
  654. {
  655. "variable": "force",
  656. "label": "Force Flag",
  657. "description": "Enabling `Force` applies ACL even if the path has existing data",
  658. "schema": {
  659. "type": "boolean",
  660. "default": false
  661. }
  662. }
  663. ]
  664. }
  665. }
  666. ],
  667. "$ref": [
  668. "normalize/acl"
  669. ]
  670. }
  671. },
  672. {
  673. "variable": "hostPath",
  674. "label": "Host Path",
  675. "description": "The host path to use for storage.",
  676. "schema": {
  677. "type": "hostpath",
  678. "show_if": [
  679. [
  680. "aclEnable",
  681. "=",
  682. false
  683. ]
  684. ],
  685. "required": true
  686. }
  687. }
  688. ]
  689. }
  690. }
  691. ]
  692. }
  693. },
  694. {
  695. "variable": "dnsmasq",
  696. "label": "Pi-Hole DNSmasq Storage",
  697. "description": "The path to store Pi-Hole DNSmasq.",
  698. "schema": {
  699. "type": "dict",
  700. "attrs": [
  701. {
  702. "variable": "type",
  703. "label": "Type",
  704. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  705. "schema": {
  706. "type": "string",
  707. "required": true,
  708. "immutable": true,
  709. "default": "ixVolume",
  710. "enum": [
  711. {
  712. "value": "hostPath",
  713. "description": "Host Path (Path that already exists on the system)"
  714. },
  715. {
  716. "value": "ixVolume",
  717. "description": "ixVolume (Dataset created automatically by the system)"
  718. }
  719. ]
  720. }
  721. },
  722. {
  723. "variable": "ixVolumeConfig",
  724. "label": "ixVolume Configuration",
  725. "description": "The configuration for the ixVolume dataset.",
  726. "schema": {
  727. "type": "dict",
  728. "show_if": [
  729. [
  730. "type",
  731. "=",
  732. "ixVolume"
  733. ]
  734. ],
  735. "$ref": [
  736. "normalize/ixVolume"
  737. ],
  738. "attrs": [
  739. {
  740. "variable": "aclEnable",
  741. "label": "Enable ACL",
  742. "description": "Enable ACL for the dataset.",
  743. "schema": {
  744. "type": "boolean",
  745. "default": false
  746. }
  747. },
  748. {
  749. "variable": "datasetName",
  750. "label": "Dataset Name",
  751. "description": "The name of the dataset to use for storage.",
  752. "schema": {
  753. "type": "string",
  754. "required": true,
  755. "immutable": true,
  756. "hidden": true,
  757. "default": "dnsmasq"
  758. }
  759. },
  760. {
  761. "variable": "aclEntries",
  762. "label": "ACL Configuration",
  763. "schema": {
  764. "type": "dict",
  765. "show_if": [
  766. [
  767. "aclEnable",
  768. "=",
  769. true
  770. ]
  771. ],
  772. "attrs": [
  773. {
  774. "variable": "path",
  775. "label": "Path",
  776. "description": "Path to perform ACL",
  777. "schema": {
  778. "type": "string",
  779. "hidden": true
  780. }
  781. },
  782. {
  783. "variable": "entries",
  784. "label": "ACL Entries",
  785. "description": "ACL Entries",
  786. "schema": {
  787. "type": "list",
  788. "items": [
  789. {
  790. "variable": "aclEntry",
  791. "label": "ACL Entry",
  792. "schema": {
  793. "type": "dict",
  794. "attrs": [
  795. {
  796. "variable": "id_type",
  797. "label": "ID Type",
  798. "schema": {
  799. "type": "string",
  800. "enum": [
  801. {
  802. "value": "USER",
  803. "description": "Entry is for a USER"
  804. },
  805. {
  806. "value": "GROUP",
  807. "description": "Entry is for a GROUP"
  808. }
  809. ],
  810. "default": "USER"
  811. }
  812. },
  813. {
  814. "variable": "id",
  815. "label": "ID",
  816. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  817. "schema": {
  818. "type": "int",
  819. "required": true,
  820. "min": 0
  821. }
  822. },
  823. {
  824. "variable": "access",
  825. "label": "Access",
  826. "schema": {
  827. "type": "string",
  828. "enum": [
  829. {
  830. "value": "READ",
  831. "description": "Read Access"
  832. },
  833. {
  834. "value": "MODIFY",
  835. "description": "Modify Access"
  836. },
  837. {
  838. "value": "FULL_CONTROL",
  839. "description": "FULL_CONTROL Access"
  840. }
  841. ]
  842. }
  843. }
  844. ]
  845. }
  846. }
  847. ]
  848. }
  849. }
  850. ]
  851. }
  852. }
  853. ]
  854. }
  855. },
  856. {
  857. "variable": "hostPathConfig",
  858. "label": "Host Path Config",
  859. "schema": {
  860. "type": "dict",
  861. "show_if": [
  862. [
  863. "type",
  864. "=",
  865. "hostPath"
  866. ]
  867. ],
  868. "attrs": [
  869. {
  870. "variable": "aclEnable",
  871. "label": "Enable ACL",
  872. "description": "Enable ACL for the dataset.",
  873. "schema": {
  874. "type": "boolean",
  875. "default": false
  876. }
  877. },
  878. {
  879. "variable": "acl",
  880. "label": "ACL Configuration",
  881. "schema": {
  882. "type": "dict",
  883. "show_if": [
  884. [
  885. "aclEnable",
  886. "=",
  887. true
  888. ]
  889. ],
  890. "attrs": [
  891. {
  892. "variable": "path",
  893. "label": "Host Path",
  894. "description": "Host Path to perform ACL",
  895. "schema": {
  896. "type": "hostpath",
  897. "required": true,
  898. "empty": false
  899. }
  900. },
  901. {
  902. "variable": "entries",
  903. "label": "ACL Entries",
  904. "description": "ACL Entries",
  905. "schema": {
  906. "type": "list",
  907. "items": [
  908. {
  909. "variable": "aclEntry",
  910. "label": "ACL Entry",
  911. "schema": {
  912. "type": "dict",
  913. "attrs": [
  914. {
  915. "variable": "id_type",
  916. "label": "ID Type",
  917. "schema": {
  918. "type": "string",
  919. "enum": [
  920. {
  921. "value": "USER",
  922. "description": "Entry is for a USER"
  923. },
  924. {
  925. "value": "GROUP",
  926. "description": "Entry is for a GROUP"
  927. }
  928. ],
  929. "default": "USER"
  930. }
  931. },
  932. {
  933. "variable": "id",
  934. "label": "ID",
  935. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  936. "schema": {
  937. "type": "int",
  938. "required": true,
  939. "min": 0
  940. }
  941. },
  942. {
  943. "variable": "access",
  944. "label": "Access",
  945. "schema": {
  946. "type": "string",
  947. "enum": [
  948. {
  949. "value": "READ",
  950. "description": "Read Access"
  951. },
  952. {
  953. "value": "MODIFY",
  954. "description": "Modify Access"
  955. },
  956. {
  957. "value": "FULL_CONTROL",
  958. "description": "FULL_CONTROL Access"
  959. }
  960. ]
  961. }
  962. }
  963. ]
  964. }
  965. }
  966. ]
  967. }
  968. },
  969. {
  970. "variable": "options",
  971. "label": "ACL Options",
  972. "schema": {
  973. "type": "dict",
  974. "attrs": [
  975. {
  976. "variable": "force",
  977. "label": "Force Flag",
  978. "description": "Enabling `Force` applies ACL even if the path has existing data",
  979. "schema": {
  980. "type": "boolean",
  981. "default": false
  982. }
  983. }
  984. ]
  985. }
  986. }
  987. ],
  988. "$ref": [
  989. "normalize/acl"
  990. ]
  991. }
  992. },
  993. {
  994. "variable": "hostPath",
  995. "label": "Host Path",
  996. "description": "The host path to use for storage.",
  997. "schema": {
  998. "type": "hostpath",
  999. "show_if": [
  1000. [
  1001. "aclEnable",
  1002. "=",
  1003. false
  1004. ]
  1005. ],
  1006. "required": true
  1007. }
  1008. }
  1009. ]
  1010. }
  1011. }
  1012. ]
  1013. }
  1014. },
  1015. {
  1016. "variable": "additionalStorages",
  1017. "label": "Additional Storage",
  1018. "description": "Additional storage for Pi-Hole.",
  1019. "schema": {
  1020. "type": "list",
  1021. "default": [],
  1022. "items": [
  1023. {
  1024. "variable": "storageEntry",
  1025. "label": "Storage Entry",
  1026. "schema": {
  1027. "type": "dict",
  1028. "attrs": [
  1029. {
  1030. "variable": "type",
  1031. "label": "Type",
  1032. "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",
  1033. "schema": {
  1034. "type": "string",
  1035. "required": true,
  1036. "default": "ixVolume",
  1037. "immutable": true,
  1038. "enum": [
  1039. {
  1040. "value": "hostPath",
  1041. "description": "Host Path (Path that already exists on the system)"
  1042. },
  1043. {
  1044. "value": "ixVolume",
  1045. "description": "ixVolume (Dataset created automatically by the system)"
  1046. },
  1047. {
  1048. "value": "smb-pv-pvc",
  1049. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  1050. }
  1051. ]
  1052. }
  1053. },
  1054. {
  1055. "variable": "readOnly",
  1056. "label": "Read Only",
  1057. "description": "Mount the volume as read only.",
  1058. "schema": {
  1059. "type": "boolean",
  1060. "default": false
  1061. }
  1062. },
  1063. {
  1064. "variable": "mountPath",
  1065. "label": "Mount Path",
  1066. "description": "The path inside the container to mount the storage.",
  1067. "schema": {
  1068. "type": "path",
  1069. "required": true
  1070. }
  1071. },
  1072. {
  1073. "variable": "hostPathConfig",
  1074. "label": "Host Path Config",
  1075. "schema": {
  1076. "type": "dict",
  1077. "show_if": [
  1078. [
  1079. "type",
  1080. "=",
  1081. "hostPath"
  1082. ]
  1083. ],
  1084. "attrs": [
  1085. {
  1086. "variable": "aclEnable",
  1087. "label": "Enable ACL",
  1088. "description": "Enable ACL for the dataset.",
  1089. "schema": {
  1090. "type": "boolean",
  1091. "default": false
  1092. }
  1093. },
  1094. {
  1095. "variable": "acl",
  1096. "label": "ACL Configuration",
  1097. "schema": {
  1098. "type": "dict",
  1099. "show_if": [
  1100. [
  1101. "aclEnable",
  1102. "=",
  1103. true
  1104. ]
  1105. ],
  1106. "attrs": [
  1107. {
  1108. "variable": "path",
  1109. "label": "Host Path",
  1110. "description": "Host Path to perform ACL",
  1111. "schema": {
  1112. "type": "hostpath",
  1113. "required": true,
  1114. "empty": false
  1115. }
  1116. },
  1117. {
  1118. "variable": "entries",
  1119. "label": "ACL Entries",
  1120. "description": "ACL Entries",
  1121. "schema": {
  1122. "type": "list",
  1123. "items": [
  1124. {
  1125. "variable": "aclEntry",
  1126. "label": "ACL Entry",
  1127. "schema": {
  1128. "type": "dict",
  1129. "attrs": [
  1130. {
  1131. "variable": "id_type",
  1132. "label": "ID Type",
  1133. "schema": {
  1134. "type": "string",
  1135. "enum": [
  1136. {
  1137. "value": "USER",
  1138. "description": "Entry is for a USER"
  1139. },
  1140. {
  1141. "value": "GROUP",
  1142. "description": "Entry is for a GROUP"
  1143. }
  1144. ],
  1145. "default": "USER"
  1146. }
  1147. },
  1148. {
  1149. "variable": "id",
  1150. "label": "ID",
  1151. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1152. "schema": {
  1153. "type": "int",
  1154. "required": true,
  1155. "min": 0
  1156. }
  1157. },
  1158. {
  1159. "variable": "access",
  1160. "label": "Access",
  1161. "schema": {
  1162. "type": "string",
  1163. "enum": [
  1164. {
  1165. "value": "READ",
  1166. "description": "Read Access"
  1167. },
  1168. {
  1169. "value": "MODIFY",
  1170. "description": "Modify Access"
  1171. },
  1172. {
  1173. "value": "FULL_CONTROL",
  1174. "description": "FULL_CONTROL Access"
  1175. }
  1176. ]
  1177. }
  1178. }
  1179. ]
  1180. }
  1181. }
  1182. ]
  1183. }
  1184. },
  1185. {
  1186. "variable": "options",
  1187. "label": "ACL Options",
  1188. "schema": {
  1189. "type": "dict",
  1190. "attrs": [
  1191. {
  1192. "variable": "force",
  1193. "label": "Force Flag",
  1194. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1195. "schema": {
  1196. "type": "boolean",
  1197. "default": false
  1198. }
  1199. }
  1200. ]
  1201. }
  1202. }
  1203. ],
  1204. "$ref": [
  1205. "normalize/acl"
  1206. ]
  1207. }
  1208. },
  1209. {
  1210. "variable": "hostPath",
  1211. "label": "Host Path",
  1212. "description": "The host path to use for storage.",
  1213. "schema": {
  1214. "type": "hostpath",
  1215. "show_if": [
  1216. [
  1217. "aclEnable",
  1218. "=",
  1219. false
  1220. ]
  1221. ],
  1222. "required": true
  1223. }
  1224. }
  1225. ]
  1226. }
  1227. },
  1228. {
  1229. "variable": "ixVolumeConfig",
  1230. "label": "ixVolume Configuration",
  1231. "description": "The configuration for the ixVolume dataset.",
  1232. "schema": {
  1233. "type": "dict",
  1234. "show_if": [
  1235. [
  1236. "type",
  1237. "=",
  1238. "ixVolume"
  1239. ]
  1240. ],
  1241. "$ref": [
  1242. "normalize/ixVolume"
  1243. ],
  1244. "attrs": [
  1245. {
  1246. "variable": "aclEnable",
  1247. "label": "Enable ACL",
  1248. "description": "Enable ACL for the dataset.",
  1249. "schema": {
  1250. "type": "boolean",
  1251. "default": false
  1252. }
  1253. },
  1254. {
  1255. "variable": "datasetName",
  1256. "label": "Dataset Name",
  1257. "description": "The name of the dataset to use for storage.",
  1258. "schema": {
  1259. "type": "string",
  1260. "required": true,
  1261. "immutable": true,
  1262. "default": "storage_entry"
  1263. }
  1264. },
  1265. {
  1266. "variable": "aclEntries",
  1267. "label": "ACL Configuration",
  1268. "schema": {
  1269. "type": "dict",
  1270. "show_if": [
  1271. [
  1272. "aclEnable",
  1273. "=",
  1274. true
  1275. ]
  1276. ],
  1277. "attrs": [
  1278. {
  1279. "variable": "path",
  1280. "label": "Path",
  1281. "description": "Path to perform ACL",
  1282. "schema": {
  1283. "type": "string",
  1284. "hidden": true
  1285. }
  1286. },
  1287. {
  1288. "variable": "entries",
  1289. "label": "ACL Entries",
  1290. "description": "ACL Entries",
  1291. "schema": {
  1292. "type": "list",
  1293. "items": [
  1294. {
  1295. "variable": "aclEntry",
  1296. "label": "ACL Entry",
  1297. "schema": {
  1298. "type": "dict",
  1299. "attrs": [
  1300. {
  1301. "variable": "id_type",
  1302. "label": "ID Type",
  1303. "schema": {
  1304. "type": "string",
  1305. "enum": [
  1306. {
  1307. "value": "USER",
  1308. "description": "Entry is for a USER"
  1309. },
  1310. {
  1311. "value": "GROUP",
  1312. "description": "Entry is for a GROUP"
  1313. }
  1314. ],
  1315. "default": "USER"
  1316. }
  1317. },
  1318. {
  1319. "variable": "id",
  1320. "label": "ID",
  1321. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1322. "schema": {
  1323. "type": "int",
  1324. "required": true,
  1325. "min": 0
  1326. }
  1327. },
  1328. {
  1329. "variable": "access",
  1330. "label": "Access",
  1331. "schema": {
  1332. "type": "string",
  1333. "enum": [
  1334. {
  1335. "value": "READ",
  1336. "description": "Read Access"
  1337. },
  1338. {
  1339. "value": "MODIFY",
  1340. "description": "Modify Access"
  1341. },
  1342. {
  1343. "value": "FULL_CONTROL",
  1344. "description": "FULL_CONTROL Access"
  1345. }
  1346. ]
  1347. }
  1348. }
  1349. ]
  1350. }
  1351. }
  1352. ]
  1353. }
  1354. }
  1355. ]
  1356. }
  1357. }
  1358. ]
  1359. }
  1360. },
  1361. {
  1362. "variable": "smbConfig",
  1363. "label": "SMB Share Configuration",
  1364. "description": "The configuration for the SMB Share.",
  1365. "schema": {
  1366. "type": "dict",
  1367. "show_if": [
  1368. [
  1369. "type",
  1370. "=",
  1371. "smb-pv-pvc"
  1372. ]
  1373. ],
  1374. "attrs": [
  1375. {
  1376. "variable": "server",
  1377. "label": "Server",
  1378. "description": "The server for the SMB share.",
  1379. "schema": {
  1380. "type": "string",
  1381. "required": true
  1382. }
  1383. },
  1384. {
  1385. "variable": "share",
  1386. "label": "Share",
  1387. "description": "The share name for the SMB share.",
  1388. "schema": {
  1389. "type": "string",
  1390. "required": true
  1391. }
  1392. },
  1393. {
  1394. "variable": "domain",
  1395. "label": "Domain (Optional)",
  1396. "description": "The domain for the SMB share.",
  1397. "schema": {
  1398. "type": "string"
  1399. }
  1400. },
  1401. {
  1402. "variable": "username",
  1403. "label": "Username",
  1404. "description": "The username for the SMB share.",
  1405. "schema": {
  1406. "type": "string",
  1407. "required": true
  1408. }
  1409. },
  1410. {
  1411. "variable": "password",
  1412. "label": "Password",
  1413. "description": "The password for the SMB share.",
  1414. "schema": {
  1415. "type": "string",
  1416. "required": true,
  1417. "private": true
  1418. }
  1419. },
  1420. {
  1421. "variable": "size",
  1422. "label": "Size (in Gi)",
  1423. "description": "The size of the volume quota.",
  1424. "schema": {
  1425. "type": "int",
  1426. "required": true,
  1427. "min": 1,
  1428. "default": 1
  1429. }
  1430. }
  1431. ]
  1432. }
  1433. }
  1434. ]
  1435. }
  1436. }
  1437. ]
  1438. }
  1439. }
  1440. ]
  1441. }
  1442. },
  1443. {
  1444. "variable": "resources",
  1445. "group": "Resources Configuration",
  1446. "label": "",
  1447. "schema": {
  1448. "type": "dict",
  1449. "attrs": [
  1450. {
  1451. "variable": "limits",
  1452. "label": "Limits",
  1453. "schema": {
  1454. "type": "dict",
  1455. "attrs": [
  1456. {
  1457. "variable": "cpu",
  1458. "label": "CPU",
  1459. "description": "CPU limit for Pi-Hole.",
  1460. "schema": {
  1461. "type": "string",
  1462. "max_length": 6,
  1463. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  1464. "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",
  1465. "default": "4000m",
  1466. "required": true
  1467. }
  1468. },
  1469. {
  1470. "variable": "memory",
  1471. "label": "Memory",
  1472. "description": "Memory limit for Pi-Hole.",
  1473. "schema": {
  1474. "type": "string",
  1475. "max_length": 12,
  1476. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  1477. "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",
  1478. "default": "8Gi",
  1479. "required": true
  1480. }
  1481. }
  1482. ]
  1483. }
  1484. }
  1485. ]
  1486. }
  1487. }
  1488. ]
  1489. },
  1490. "app_readme": "<h1>Pi-hole</h1>\n<p><a href=\"https://pi-hole.net/\">Pi-hole</a> is a black hole for Internet advertisements</p>",
  1491. "detailed_readme": "<h1>Pi-hole</h1>\n<p><a href=\"https://pi-hole.net/\">Pi-hole</a> is a black hole for Internet advertisements</p>",
  1492. "changelog": null
  1493. },
  1494. "1.0.25": {
  1495. "healthy": true,
  1496. "supported": true,
  1497. "healthy_error": null,
  1498. "location": "/__w/charts/charts/charts/pihole/1.0.25",
  1499. "last_update": "2024-02-17 08:55:44",
  1500. "required_features": [
  1501. "definitions/timezone",
  1502. "normalize/ixVolume"
  1503. ],
  1504. "human_version": "2023.11.0_1.0.25",
  1505. "version": "1.0.25",
  1506. "chart_metadata": {
  1507. "name": "pihole",
  1508. "description": "DNS and Ad-filtering for your network.",
  1509. "annotations": {
  1510. "title": "Pi-hole"
  1511. },
  1512. "type": "application",
  1513. "version": "1.0.25",
  1514. "apiVersion": "v2",
  1515. "appVersion": "2023.11.0",
  1516. "kubeVersion": ">=1.16.0-0",
  1517. "maintainers": [
  1518. {
  1519. "name": "truenas",
  1520. "url": "https://www.truenas.com/",
  1521. "email": "dev@ixsystems.com"
  1522. }
  1523. ],
  1524. "dependencies": [
  1525. {
  1526. "name": "common",
  1527. "repository": "file://../../../common/2304.0.1",
  1528. "version": "2304.0.1"
  1529. }
  1530. ],
  1531. "home": "https://pi-hole.net/",
  1532. "icon": "https://media.sys.truenas.net/apps/pihole/icons/icon.png",
  1533. "sources": [
  1534. "https://pi-hole.net/",
  1535. "https://github.com/truenas/charts/tree/master/charts/pihole"
  1536. ],
  1537. "keywords": [
  1538. "networking",
  1539. "dns"
  1540. ]
  1541. },
  1542. "app_metadata": {
  1543. "runAsContext": [
  1544. {
  1545. "userName": "root",
  1546. "groupName": "root",
  1547. "gid": 0,
  1548. "uid": 0,
  1549. "description": "Pi-hole runs as root user."
  1550. }
  1551. ],
  1552. "capabilities": [
  1553. {
  1554. "name": "CHOWN",
  1555. "description": "Pi-hole is able to chown files."
  1556. },
  1557. {
  1558. "name": "FOWNER",
  1559. "description": "Pi-hole is able to bypass permission checks for it's sub-processes."
  1560. },
  1561. {
  1562. "name": "SYS_CHROOT",
  1563. "description": "Pi-hole is able to use chroot."
  1564. },
  1565. {
  1566. "name": "MKNOD",
  1567. "description": "Pi-hole is able to create device nodes."
  1568. },
  1569. {
  1570. "name": "DAC_OVERRIDE",
  1571. "description": "Pi-hole is able to bypass permission checks."
  1572. },
  1573. {
  1574. "name": "FSETID",
  1575. "description": "Pi-hole is able to set file capabilities."
  1576. },
  1577. {
  1578. "name": "KILL",
  1579. "description": "Pi-hole is able to kill processes."
  1580. },
  1581. {
  1582. "name": "SETGID",
  1583. "description": "Pi-hole is able to set group ID for it's sub-processes."
  1584. },
  1585. {
  1586. "name": "SETUID",
  1587. "description": "Pi-hole is able to set user ID for it's sub-processes."
  1588. },
  1589. {
  1590. "name": "SETPCAP",
  1591. "description": "Pi-hole is able to set process capabilities."
  1592. },
  1593. {
  1594. "name": "NET_BIND_SERVICE",
  1595. "description": "Pi-hole is able to bind to privileged ports."
  1596. },
  1597. {
  1598. "name": "SETFCAP",
  1599. "description": "Pi-hole is able to set file capabilities."
  1600. },
  1601. {
  1602. "name": "NET_RAW",
  1603. "description": "Pi-hole is able to use raw sockets."
  1604. },
  1605. {
  1606. "name": "NET_ADMIN",
  1607. "description": "Pi-hole is able to perform various network-related operations."
  1608. },
  1609. {
  1610. "name": "AUDIT_WRITE",
  1611. "description": "Pi-hole is able to write to audit log."
  1612. }
  1613. ],
  1614. "hostMounts": []
  1615. },
  1616. "schema": {
  1617. "groups": [
  1618. {
  1619. "name": "Configuration",
  1620. "description": "Pihole application configuration"
  1621. },
  1622. {
  1623. "name": "Storage",
  1624. "description": "Configure storage for pihole"
  1625. },
  1626. {
  1627. "name": "Networking",
  1628. "description": "Networking Configuration for pihole"
  1629. },
  1630. {
  1631. "name": "Advanced DNS Settings",
  1632. "description": "Configure DNS settings"
  1633. },
  1634. {
  1635. "name": "Resource Limits",
  1636. "description": "Set CPU/memory limits for Kubernetes Pod"
  1637. }
  1638. ],
  1639. "portals": {
  1640. "web_portal": {
  1641. "protocols": [
  1642. "http"
  1643. ],
  1644. "host": [
  1645. "$node_ip"
  1646. ],
  1647. "ports": [
  1648. "$variable-web_port"
  1649. ],
  1650. "path": "/admin/"
  1651. }
  1652. },
  1653. "questions": [
  1654. {
  1655. "variable": "web_port",
  1656. "label": "Web Port for pihole",
  1657. "group": "Networking",
  1658. "schema": {
  1659. "type": "int",
  1660. "min": 8000,
  1661. "max": 65535,
  1662. "default": 20720,
  1663. "required": true
  1664. }
  1665. },
  1666. {
  1667. "variable": "dhcp",
  1668. "label": "Enable DHCP",
  1669. "group": "Networking",
  1670. "schema": {
  1671. "type": "boolean",
  1672. "default": false,
  1673. "show_subquestions_if": true,
  1674. "subquestions": [
  1675. {
  1676. "variable": "dhcp_start",
  1677. "label": "DHCP Start Address",
  1678. "group": "Networking",
  1679. "schema": {
  1680. "type": "ipaddr",
  1681. "cidr": false,
  1682. "required": true
  1683. }
  1684. },
  1685. {
  1686. "variable": "dhcp_end",
  1687. "label": "DHCP End Address",
  1688. "group": "Networking",
  1689. "schema": {
  1690. "type": "ipaddr",
  1691. "cidr": false,
  1692. "required": true
  1693. }
  1694. },
  1695. {
  1696. "variable": "dhcp_gateway",
  1697. "label": "Gateway",
  1698. "group": "Networking",
  1699. "schema": {
  1700. "type": "ipaddr",
  1701. "cidr": false,
  1702. "required": true
  1703. }
  1704. }
  1705. ]
  1706. }
  1707. },
  1708. {
  1709. "variable": "dnsConfig",
  1710. "label": "DNS Configuration",
  1711. "group": "Advanced DNS Settings",
  1712. "schema": {
  1713. "type": "dict",
  1714. "attrs": [
  1715. {
  1716. "variable": "options",
  1717. "label": "DNS Options",
  1718. "schema": {
  1719. "type": "list",
  1720. "items": [
  1721. {
  1722. "variable": "optionsEntry",
  1723. "label": "Option Entry Configuration",
  1724. "schema": {
  1725. "type": "dict",
  1726. "attrs": [
  1727. {
  1728. "variable": "name",
  1729. "label": "Option Name",
  1730. "schema": {
  1731. "type": "string",
  1732. "required": true
  1733. }
  1734. },
  1735. {
  1736. "variable": "value",
  1737. "label": "Option Value",
  1738. "schema": {
  1739. "type": "string",
  1740. "required": true
  1741. }
  1742. }
  1743. ]
  1744. }
  1745. }
  1746. ]
  1747. }
  1748. }
  1749. ]
  1750. }
  1751. },
  1752. {
  1753. "variable": "ownerUID",
  1754. "label": "Storage User ID",
  1755. "description": "User ID of the dnsmasq volume being used (application will chown the volume path with specified UID)",
  1756. "group": "Configuration",
  1757. "schema": {
  1758. "type": "int",
  1759. "default": 568,
  1760. "min": 1,
  1761. "max": 65535
  1762. }
  1763. },
  1764. {
  1765. "variable": "ownerGID",
  1766. "label": "Storage Group ID",
  1767. "description": "Group ID of the dnsmasq volume being used (application will chown the volume path with specified GID)",
  1768. "group": "Configuration",
  1769. "schema": {
  1770. "type": "int",
  1771. "default": 568,
  1772. "min": 1,
  1773. "max": 65535
  1774. }
  1775. },
  1776. {
  1777. "variable": "password",
  1778. "label": "Admin password",
  1779. "group": "Configuration",
  1780. "schema": {
  1781. "type": "string",
  1782. "private": true,
  1783. "required": true,
  1784. "empty": false,
  1785. "immutable": true
  1786. }
  1787. },
  1788. {
  1789. "variable": "timezone",
  1790. "label": "Configure timezone",
  1791. "group": "Configuration",
  1792. "description": "Configure timezone for pihole",
  1793. "schema": {
  1794. "type": "string",
  1795. "$ref": [
  1796. "definitions/timezone"
  1797. ],
  1798. "enum": [
  1799. {
  1800. "value": "Asia/Damascus",
  1801. "description": "'Asia/Damascus' timezone"
  1802. },
  1803. {
  1804. "value": "Asia/Saigon",
  1805. "description": "'Asia/Saigon' timezone"
  1806. }
  1807. ],
  1808. "default": "America/Los_Angeles"
  1809. }
  1810. },
  1811. {
  1812. "variable": "environmentVariables",
  1813. "label": "Pihole environment",
  1814. "group": "Configuration",
  1815. "schema": {
  1816. "type": "list",
  1817. "default": [],
  1818. "items": [
  1819. {
  1820. "variable": "environmentVariable",
  1821. "label": "Environment Variable",
  1822. "schema": {
  1823. "type": "dict",
  1824. "attrs": [
  1825. {
  1826. "variable": "name",
  1827. "label": "Name",
  1828. "schema": {
  1829. "type": "string"
  1830. }
  1831. },
  1832. {
  1833. "variable": "value",
  1834. "label": "Value",
  1835. "schema": {
  1836. "type": "string"
  1837. }
  1838. }
  1839. ]
  1840. }
  1841. }
  1842. ]
  1843. }
  1844. },
  1845. {
  1846. "variable": "appVolumeMounts",
  1847. "label": "Pihole Storage",
  1848. "group": "Storage",
  1849. "schema": {
  1850. "type": "dict",
  1851. "attrs": [
  1852. {
  1853. "variable": "config",
  1854. "label": "Configuration Volume",
  1855. "schema": {
  1856. "type": "dict",
  1857. "attrs": [
  1858. {
  1859. "variable": "datasetName",
  1860. "label": "Configuration Volume Dataset Name",
  1861. "schema": {
  1862. "type": "string",
  1863. "hidden": true,
  1864. "$ref": [
  1865. "normalize/ixVolume"
  1866. ],
  1867. "show_if": [
  1868. [
  1869. "hostPathEnabled",
  1870. "=",
  1871. false
  1872. ]
  1873. ],
  1874. "default": "ix-pihole_config",
  1875. "editable": false
  1876. }
  1877. },
  1878. {
  1879. "variable": "mountPath",
  1880. "label": "Configuration Mount Path",
  1881. "description": "Path where the volume will be mounted inside the pod",
  1882. "schema": {
  1883. "type": "path",
  1884. "hidden": true,
  1885. "editable": true,
  1886. "default": "/etc/pihole"
  1887. }
  1888. },
  1889. {
  1890. "variable": "hostPathEnabled",
  1891. "label": "Enable Custom Host Path for Pihole Configuration Volume",
  1892. "schema": {
  1893. "type": "boolean",
  1894. "default": false,
  1895. "show_subquestions_if": true,
  1896. "subquestions": [
  1897. {
  1898. "variable": "hostPath",
  1899. "label": "Host Path for Pihole Configuration Volume",
  1900. "schema": {
  1901. "type": "hostpath",
  1902. "required": true
  1903. }
  1904. }
  1905. ]
  1906. }
  1907. }
  1908. ]
  1909. }
  1910. },
  1911. {
  1912. "variable": "dnsmasq",
  1913. "label": "DNSMASQ Volume for pihole",
  1914. "schema": {
  1915. "type": "dict",
  1916. "attrs": [
  1917. {
  1918. "variable": "datasetName",
  1919. "label": "DNSMASQ Volume Dataset Name",
  1920. "schema": {
  1921. "type": "string",
  1922. "hidden": true,
  1923. "$ref": [
  1924. "normalize/ixVolume"
  1925. ],
  1926. "show_if": [
  1927. [
  1928. "hostPathEnabled",
  1929. "=",
  1930. false
  1931. ]
  1932. ],
  1933. "default": "ix-pihole_dnsmasq",
  1934. "editable": false
  1935. }
  1936. },
  1937. {
  1938. "variable": "mountPath",
  1939. "label": "DNSMASQ Mount Path",
  1940. "description": "Path where the volume will be mounted inside the pod",
  1941. "schema": {
  1942. "type": "path",
  1943. "hidden": true,
  1944. "editable": true,
  1945. "default": "/etc/dnsmasq.d"
  1946. }
  1947. },
  1948. {
  1949. "variable": "hostPathEnabled",
  1950. "label": "Enable Custom Host Path for Pihole DNSMASQ Volume",
  1951. "schema": {
  1952. "type": "boolean",
  1953. "default": false,
  1954. "show_subquestions_if": true,
  1955. "subquestions": [
  1956. {
  1957. "variable": "hostPath",
  1958. "label": "Host Path for Pihole DNSMASQ Volume",
  1959. "schema": {
  1960. "type": "hostpath",
  1961. "required": true
  1962. }
  1963. }
  1964. ]
  1965. }
  1966. }
  1967. ]
  1968. }
  1969. }
  1970. ]
  1971. }
  1972. },
  1973. {
  1974. "variable": "extraAppVolumeMounts",
  1975. "label": "Extra Host Path Volumes",
  1976. "group": "Storage",
  1977. "schema": {
  1978. "type": "list",
  1979. "items": [
  1980. {
  1981. "variable": "extraAppVolume",
  1982. "label": "Host Path Volume",
  1983. "description": "Add an extra host path volume for Pihole application",
  1984. "schema": {
  1985. "type": "dict",
  1986. "attrs": [
  1987. {
  1988. "variable": "mountPath",
  1989. "label": "Mount Path in Pod",
  1990. "description": "Path where the volume will be mounted inside the pod",
  1991. "schema": {
  1992. "type": "path",
  1993. "required": true
  1994. }
  1995. },
  1996. {
  1997. "variable": "hostPath",
  1998. "label": "Host Path",
  1999. "description": "Host path",
  2000. "schema": {
  2001. "type": "hostpath",
  2002. "required": true
  2003. }
  2004. }
  2005. ]
  2006. }
  2007. }
  2008. ]
  2009. }
  2010. },
  2011. {
  2012. "variable": "enableResourceLimits",
  2013. "label": "Enable Pod resource limits",
  2014. "group": "Resource Limits",
  2015. "schema": {
  2016. "type": "boolean",
  2017. "default": false
  2018. }
  2019. },
  2020. {
  2021. "variable": "cpuLimit",
  2022. "label": "CPU Limit",
  2023. "description": "CPU resource limit allow plain integer values with suffix m(milli) e.g 1000m, 100.",
  2024. "group": "Resource Limits",
  2025. "schema": {
  2026. "type": "string",
  2027. "show_if": [
  2028. [
  2029. "enableResourceLimits",
  2030. "=",
  2031. true
  2032. ]
  2033. ],
  2034. "valid_chars": "^\\d+(?:\\.\\d+(?!.*m$)|m?$)",
  2035. "default": "4000m"
  2036. }
  2037. },
  2038. {
  2039. "variable": "memLimit",
  2040. "label": "Memory Limit",
  2041. "group": "Resource Limits",
  2042. "description": "Memory limits is specified by number of bytes. Followed by quantity suffix like E,P,T,G,M,k and Ei,Pi,Ti,Mi,Gi,Ki can also be used. e.g 129e6, 129M, 128974848000m, 123Mi",
  2043. "schema": {
  2044. "type": "string",
  2045. "show_if": [
  2046. [
  2047. "enableResourceLimits",
  2048. "=",
  2049. true
  2050. ]
  2051. ],
  2052. "valid_chars": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$",
  2053. "default": "8Gi"
  2054. }
  2055. }
  2056. ]
  2057. },
  2058. "app_readme": "<h1>Pihole</h1>\n<p>DNS and Ad-filtering for your network.</p>",
  2059. "detailed_readme": "<h1>Pihole</h1>\n<p>DNS and Ad-filtering for your network.</p>",
  2060. "changelog": null
  2061. }
  2062. }