app_versions.json 137 KB

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