app_versions.json 137 KB

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