app_versions.json 190 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697
  1. {
  2. "2.0.67": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/charts/home-assistant/2.0.67",
  7. "last_update": "2025-03-06 08:27:48",
  8. "required_features": [
  9. "definitions/timezone",
  10. "normalize/ixVolume",
  11. "normalize/acl"
  12. ],
  13. "human_version": "2025.3.0_2.0.67",
  14. "version": "2.0.67",
  15. "chart_metadata": {
  16. "name": "home-assistant",
  17. "description": "Home Assistant is an open source home automation that puts local control and privacy first.",
  18. "annotations": {
  19. "title": "Home Assistant"
  20. },
  21. "type": "application",
  22. "version": "2.0.67",
  23. "apiVersion": "v2",
  24. "appVersion": "2025.3.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://www.home-assistant.io/",
  41. "icon": "https://media.sys.truenas.net/apps/home-assistant/icons/icon.png",
  42. "sources": [
  43. "https://github.com/home-assistant/home-assistant",
  44. "https://github.com/truenas/charts/tree/master/charts/home-assistant"
  45. ],
  46. "keywords": [
  47. "home-automation"
  48. ]
  49. },
  50. "app_metadata": {
  51. "runAsContext": [
  52. {
  53. "userName": "root",
  54. "groupName": "root",
  55. "gid": 0,
  56. "uid": 0,
  57. "description": "Home-Assistant runs as root user."
  58. },
  59. {
  60. "userName": "postgres",
  61. "groupName": "postgres",
  62. "gid": 999,
  63. "uid": 999,
  64. "description": "Postgres runs as a non-root user."
  65. }
  66. ],
  67. "capabilities": [
  68. {
  69. "name": "CHOWN",
  70. "description": "Home Assistant is able to change file ownership."
  71. },
  72. {
  73. "name": "FOWNER",
  74. "description": "Home Assistant is able to change file ownership."
  75. },
  76. {
  77. "name": "DAC_OVERRIDE",
  78. "description": "Home Assistant is able to bypass file permissions."
  79. },
  80. {
  81. "name": "NET_BIND_SERVICE",
  82. "description": "Home Assistant is able to bind to privileged ports."
  83. },
  84. {
  85. "name": "NET_RAW",
  86. "description": "Home Assistant is able to use raw sockets."
  87. }
  88. ],
  89. "hostMounts": []
  90. },
  91. "schema": {
  92. "groups": [
  93. {
  94. "name": "Home Assistant Configuration",
  95. "description": "Configure Home Assistant"
  96. },
  97. {
  98. "name": "User and Group Configuration",
  99. "description": "Configure User and Group for Home Assistant"
  100. },
  101. {
  102. "name": "Advanced Pod Configuration",
  103. "description": "Configure Advanced Pod Options for Home Assistant"
  104. },
  105. {
  106. "name": "Network Configuration",
  107. "description": "Configure Network for Home Assistant"
  108. },
  109. {
  110. "name": "Storage Configuration",
  111. "description": "Configure Storage for Home Assistant"
  112. },
  113. {
  114. "name": "Resources Configuration",
  115. "description": "Configure Resources for Home Assistant"
  116. }
  117. ],
  118. "portals": {
  119. "web_portal": {
  120. "protocols": [
  121. "$kubernetes-resource_configmap_portal_protocol"
  122. ],
  123. "host": [
  124. "$kubernetes-resource_configmap_portal_host"
  125. ],
  126. "ports": [
  127. "$kubernetes-resource_configmap_portal_port"
  128. ],
  129. "path": "$kubernetes-resource_configmap_portal_path"
  130. }
  131. },
  132. "questions": [
  133. {
  134. "variable": "TZ",
  135. "group": "Home Assistant Configuration",
  136. "label": "Timezone",
  137. "schema": {
  138. "type": "string",
  139. "default": "America/Los_Angeles",
  140. "required": true,
  141. "$ref": [
  142. "definitions/timezone"
  143. ],
  144. "enum": [
  145. {
  146. "value": "Asia/Damascus",
  147. "description": "'Asia/Damascus' timezone"
  148. },
  149. {
  150. "value": "Asia/Saigon",
  151. "description": "'Asia/Saigon' timezone"
  152. }
  153. ]
  154. }
  155. },
  156. {
  157. "variable": "haConfig",
  158. "label": "",
  159. "group": "Home Assistant Configuration",
  160. "schema": {
  161. "type": "dict",
  162. "attrs": [
  163. {
  164. "variable": "allowDevices",
  165. "label": "Allow Devices",
  166. "description": "Allow devices to be added to Home Assistant.\nKeep in mind that this will make the container to run with elevated privileges</br>\nand privilege escalation. Use with caution.\n",
  167. "schema": {
  168. "type": "boolean",
  169. "default": false
  170. }
  171. },
  172. {
  173. "variable": "additionalEnvs",
  174. "label": "Additional Environment Variables",
  175. "description": "Additional environment variables for Home Assistant.",
  176. "schema": {
  177. "type": "list",
  178. "items": [
  179. {
  180. "variable": "name",
  181. "label": "Name",
  182. "schema": {
  183. "type": "string",
  184. "required": true
  185. }
  186. },
  187. {
  188. "variable": "value",
  189. "label": "Value",
  190. "schema": {
  191. "type": "string",
  192. "required": true
  193. }
  194. }
  195. ]
  196. }
  197. }
  198. ]
  199. }
  200. },
  201. {
  202. "variable": "podOptions",
  203. "label": "",
  204. "group": "Advanced Pod Configuration",
  205. "schema": {
  206. "type": "dict",
  207. "attrs": [
  208. {
  209. "variable": "dnsConfig",
  210. "label": "Advanced DNS Configuration",
  211. "schema": {
  212. "type": "dict",
  213. "attrs": [
  214. {
  215. "variable": "options",
  216. "label": "DNS Options",
  217. "schema": {
  218. "type": "list",
  219. "items": [
  220. {
  221. "variable": "optionsEntry",
  222. "label": "DNS Option Entry",
  223. "schema": {
  224. "type": "dict",
  225. "attrs": [
  226. {
  227. "variable": "name",
  228. "label": "Option Name",
  229. "schema": {
  230. "type": "string",
  231. "required": true
  232. }
  233. },
  234. {
  235. "variable": "value",
  236. "label": "Option Value",
  237. "schema": {
  238. "type": "string",
  239. "required": true
  240. }
  241. }
  242. ]
  243. }
  244. }
  245. ]
  246. }
  247. }
  248. ]
  249. }
  250. }
  251. ]
  252. }
  253. },
  254. {
  255. "variable": "haNetwork",
  256. "label": "",
  257. "group": "Network Configuration",
  258. "schema": {
  259. "type": "dict",
  260. "attrs": [
  261. {
  262. "variable": "webPort",
  263. "label": "Web Port",
  264. "description": "The port for the Home Assistant Web UI.",
  265. "schema": {
  266. "type": "int",
  267. "default": 20810,
  268. "show_if": [
  269. [
  270. "hostNetwork",
  271. "=",
  272. false
  273. ]
  274. ],
  275. "min": 9000,
  276. "max": 65535,
  277. "required": true
  278. }
  279. },
  280. {
  281. "variable": "hostNetwork",
  282. "label": "Host Network",
  283. "schema": {
  284. "type": "boolean",
  285. "default": false
  286. }
  287. }
  288. ]
  289. }
  290. },
  291. {
  292. "variable": "haID",
  293. "label": "",
  294. "group": "User and Group Configuration",
  295. "schema": {
  296. "type": "dict",
  297. "attrs": [
  298. {
  299. "variable": "user",
  300. "label": "User ID",
  301. "description": "The user id that Home Assistant files will be owned by.",
  302. "schema": {
  303. "type": "int",
  304. "min": 568,
  305. "default": 568,
  306. "required": true
  307. }
  308. },
  309. {
  310. "variable": "group",
  311. "label": "Group ID",
  312. "description": "The group id that Home Assistant files will be owned by.",
  313. "schema": {
  314. "type": "int",
  315. "min": 568,
  316. "default": 568,
  317. "required": true
  318. }
  319. }
  320. ]
  321. }
  322. },
  323. {
  324. "variable": "haStorage",
  325. "label": "",
  326. "group": "Storage Configuration",
  327. "schema": {
  328. "type": "dict",
  329. "attrs": [
  330. {
  331. "variable": "config",
  332. "label": "Home Assistant Configuration Storage",
  333. "description": "The path to store Home Assistant Configuration.",
  334. "schema": {
  335. "type": "dict",
  336. "attrs": [
  337. {
  338. "variable": "type",
  339. "label": "Type",
  340. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  341. "schema": {
  342. "type": "string",
  343. "required": true,
  344. "immutable": true,
  345. "default": "ixVolume",
  346. "enum": [
  347. {
  348. "value": "hostPath",
  349. "description": "Host Path (Path that already exists on the system)"
  350. },
  351. {
  352. "value": "ixVolume",
  353. "description": "ixVolume (Dataset created automatically by the system)"
  354. }
  355. ]
  356. }
  357. },
  358. {
  359. "variable": "ixVolumeConfig",
  360. "label": "ixVolume Configuration",
  361. "description": "The configuration for the ixVolume dataset.",
  362. "schema": {
  363. "type": "dict",
  364. "show_if": [
  365. [
  366. "type",
  367. "=",
  368. "ixVolume"
  369. ]
  370. ],
  371. "$ref": [
  372. "normalize/ixVolume"
  373. ],
  374. "attrs": [
  375. {
  376. "variable": "aclEnable",
  377. "label": "Enable ACL",
  378. "description": "Enable ACL for the dataset.",
  379. "schema": {
  380. "type": "boolean",
  381. "default": false
  382. }
  383. },
  384. {
  385. "variable": "datasetName",
  386. "label": "Dataset Name",
  387. "description": "The name of the dataset to use for storage.",
  388. "schema": {
  389. "type": "string",
  390. "required": true,
  391. "immutable": true,
  392. "hidden": true,
  393. "default": "config"
  394. }
  395. },
  396. {
  397. "variable": "aclEntries",
  398. "label": "ACL Configuration",
  399. "schema": {
  400. "type": "dict",
  401. "show_if": [
  402. [
  403. "aclEnable",
  404. "=",
  405. true
  406. ]
  407. ],
  408. "attrs": [
  409. {
  410. "variable": "path",
  411. "label": "Path",
  412. "description": "Path to perform ACL",
  413. "schema": {
  414. "type": "string",
  415. "hidden": true
  416. }
  417. },
  418. {
  419. "variable": "entries",
  420. "label": "ACL Entries",
  421. "description": "ACL Entries",
  422. "schema": {
  423. "type": "list",
  424. "items": [
  425. {
  426. "variable": "aclEntry",
  427. "label": "ACL Entry",
  428. "schema": {
  429. "type": "dict",
  430. "attrs": [
  431. {
  432. "variable": "id_type",
  433. "label": "ID Type",
  434. "schema": {
  435. "type": "string",
  436. "enum": [
  437. {
  438. "value": "USER",
  439. "description": "Entry is for a USER"
  440. },
  441. {
  442. "value": "GROUP",
  443. "description": "Entry is for a GROUP"
  444. }
  445. ],
  446. "default": "USER"
  447. }
  448. },
  449. {
  450. "variable": "id",
  451. "label": "ID",
  452. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  453. "schema": {
  454. "type": "int",
  455. "required": true,
  456. "min": 0
  457. }
  458. },
  459. {
  460. "variable": "access",
  461. "label": "Access",
  462. "schema": {
  463. "type": "string",
  464. "enum": [
  465. {
  466. "value": "READ",
  467. "description": "Read Access"
  468. },
  469. {
  470. "value": "MODIFY",
  471. "description": "Modify Access"
  472. },
  473. {
  474. "value": "FULL_CONTROL",
  475. "description": "FULL_CONTROL Access"
  476. }
  477. ]
  478. }
  479. }
  480. ]
  481. }
  482. }
  483. ]
  484. }
  485. }
  486. ]
  487. }
  488. }
  489. ]
  490. }
  491. },
  492. {
  493. "variable": "hostPathConfig",
  494. "label": "Host Path Configuration",
  495. "schema": {
  496. "type": "dict",
  497. "show_if": [
  498. [
  499. "type",
  500. "=",
  501. "hostPath"
  502. ]
  503. ],
  504. "attrs": [
  505. {
  506. "variable": "aclEnable",
  507. "label": "Enable ACL",
  508. "description": "Enable ACL for the dataset.",
  509. "schema": {
  510. "type": "boolean",
  511. "default": false
  512. }
  513. },
  514. {
  515. "variable": "acl",
  516. "label": "ACL Configuration",
  517. "schema": {
  518. "type": "dict",
  519. "show_if": [
  520. [
  521. "aclEnable",
  522. "=",
  523. true
  524. ]
  525. ],
  526. "attrs": [
  527. {
  528. "variable": "path",
  529. "label": "Host Path",
  530. "description": "Host Path to perform ACL",
  531. "schema": {
  532. "type": "hostpath",
  533. "required": true,
  534. "empty": false
  535. }
  536. },
  537. {
  538. "variable": "entries",
  539. "label": "ACL Entries",
  540. "description": "ACL Entries",
  541. "schema": {
  542. "type": "list",
  543. "items": [
  544. {
  545. "variable": "aclEntry",
  546. "label": "ACL Entry",
  547. "schema": {
  548. "type": "dict",
  549. "attrs": [
  550. {
  551. "variable": "id_type",
  552. "label": "ID Type",
  553. "schema": {
  554. "type": "string",
  555. "enum": [
  556. {
  557. "value": "USER",
  558. "description": "Entry is for a USER"
  559. },
  560. {
  561. "value": "GROUP",
  562. "description": "Entry is for a GROUP"
  563. }
  564. ],
  565. "default": "USER"
  566. }
  567. },
  568. {
  569. "variable": "id",
  570. "label": "ID",
  571. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  572. "schema": {
  573. "type": "int",
  574. "required": true,
  575. "min": 0
  576. }
  577. },
  578. {
  579. "variable": "access",
  580. "label": "Access",
  581. "schema": {
  582. "type": "string",
  583. "enum": [
  584. {
  585. "value": "READ",
  586. "description": "Read Access"
  587. },
  588. {
  589. "value": "MODIFY",
  590. "description": "Modify Access"
  591. },
  592. {
  593. "value": "FULL_CONTROL",
  594. "description": "FULL_CONTROL Access"
  595. }
  596. ]
  597. }
  598. }
  599. ]
  600. }
  601. }
  602. ]
  603. }
  604. },
  605. {
  606. "variable": "options",
  607. "label": "ACL Options",
  608. "schema": {
  609. "type": "dict",
  610. "attrs": [
  611. {
  612. "variable": "force",
  613. "label": "Force Flag",
  614. "description": "Enabling `Force` applies ACL even if the path has existing data",
  615. "schema": {
  616. "type": "boolean",
  617. "default": false
  618. }
  619. }
  620. ]
  621. }
  622. }
  623. ],
  624. "$ref": [
  625. "normalize/acl"
  626. ]
  627. }
  628. },
  629. {
  630. "variable": "hostPath",
  631. "label": "Host Path",
  632. "description": "The host path to use for storage.",
  633. "schema": {
  634. "type": "hostpath",
  635. "show_if": [
  636. [
  637. "aclEnable",
  638. "=",
  639. false
  640. ]
  641. ],
  642. "required": true
  643. }
  644. }
  645. ]
  646. }
  647. }
  648. ]
  649. }
  650. },
  651. {
  652. "variable": "media",
  653. "label": "Home Assistant Media Storage",
  654. "description": "The path to store Home Assistant Media.",
  655. "schema": {
  656. "type": "dict",
  657. "attrs": [
  658. {
  659. "variable": "type",
  660. "label": "Type",
  661. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  662. "schema": {
  663. "type": "string",
  664. "required": true,
  665. "immutable": true,
  666. "default": "ixVolume",
  667. "enum": [
  668. {
  669. "value": "hostPath",
  670. "description": "Host Path (Path that already exists on the system)"
  671. },
  672. {
  673. "value": "ixVolume",
  674. "description": "ixVolume (Dataset created automatically by the system)"
  675. }
  676. ]
  677. }
  678. },
  679. {
  680. "variable": "ixVolumeConfig",
  681. "label": "ixVolume Configuration",
  682. "description": "The configuration for the ixVolume dataset.",
  683. "schema": {
  684. "type": "dict",
  685. "show_if": [
  686. [
  687. "type",
  688. "=",
  689. "ixVolume"
  690. ]
  691. ],
  692. "$ref": [
  693. "normalize/ixVolume"
  694. ],
  695. "attrs": [
  696. {
  697. "variable": "aclEnable",
  698. "label": "Enable ACL",
  699. "description": "Enable ACL for the dataset.",
  700. "schema": {
  701. "type": "boolean",
  702. "default": false
  703. }
  704. },
  705. {
  706. "variable": "datasetName",
  707. "label": "Dataset Name",
  708. "description": "The name of the dataset to use for storage.",
  709. "schema": {
  710. "type": "string",
  711. "required": true,
  712. "immutable": true,
  713. "hidden": true,
  714. "default": "media"
  715. }
  716. },
  717. {
  718. "variable": "aclEntries",
  719. "label": "ACL Configuration",
  720. "schema": {
  721. "type": "dict",
  722. "show_if": [
  723. [
  724. "aclEnable",
  725. "=",
  726. true
  727. ]
  728. ],
  729. "attrs": [
  730. {
  731. "variable": "path",
  732. "label": "Path",
  733. "description": "Path to perform ACL",
  734. "schema": {
  735. "type": "string",
  736. "hidden": true
  737. }
  738. },
  739. {
  740. "variable": "entries",
  741. "label": "ACL Entries",
  742. "description": "ACL Entries",
  743. "schema": {
  744. "type": "list",
  745. "items": [
  746. {
  747. "variable": "aclEntry",
  748. "label": "ACL Entry",
  749. "schema": {
  750. "type": "dict",
  751. "attrs": [
  752. {
  753. "variable": "id_type",
  754. "label": "ID Type",
  755. "schema": {
  756. "type": "string",
  757. "enum": [
  758. {
  759. "value": "USER",
  760. "description": "Entry is for a USER"
  761. },
  762. {
  763. "value": "GROUP",
  764. "description": "Entry is for a GROUP"
  765. }
  766. ],
  767. "default": "USER"
  768. }
  769. },
  770. {
  771. "variable": "id",
  772. "label": "ID",
  773. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  774. "schema": {
  775. "type": "int",
  776. "required": true,
  777. "min": 0
  778. }
  779. },
  780. {
  781. "variable": "access",
  782. "label": "Access",
  783. "schema": {
  784. "type": "string",
  785. "enum": [
  786. {
  787. "value": "READ",
  788. "description": "Read Access"
  789. },
  790. {
  791. "value": "MODIFY",
  792. "description": "Modify Access"
  793. },
  794. {
  795. "value": "FULL_CONTROL",
  796. "description": "FULL_CONTROL Access"
  797. }
  798. ]
  799. }
  800. }
  801. ]
  802. }
  803. }
  804. ]
  805. }
  806. }
  807. ]
  808. }
  809. }
  810. ]
  811. }
  812. },
  813. {
  814. "variable": "hostPathConfig",
  815. "label": "Host Path Configuration",
  816. "schema": {
  817. "type": "dict",
  818. "show_if": [
  819. [
  820. "type",
  821. "=",
  822. "hostPath"
  823. ]
  824. ],
  825. "attrs": [
  826. {
  827. "variable": "aclEnable",
  828. "label": "Enable ACL",
  829. "description": "Enable ACL for the dataset.",
  830. "schema": {
  831. "type": "boolean",
  832. "default": false
  833. }
  834. },
  835. {
  836. "variable": "acl",
  837. "label": "ACL Configuration",
  838. "schema": {
  839. "type": "dict",
  840. "show_if": [
  841. [
  842. "aclEnable",
  843. "=",
  844. true
  845. ]
  846. ],
  847. "attrs": [
  848. {
  849. "variable": "path",
  850. "label": "Host Path",
  851. "description": "Host Path to perform ACL",
  852. "schema": {
  853. "type": "hostpath",
  854. "required": true,
  855. "empty": false
  856. }
  857. },
  858. {
  859. "variable": "entries",
  860. "label": "ACL Entries",
  861. "description": "ACL Entries",
  862. "schema": {
  863. "type": "list",
  864. "items": [
  865. {
  866. "variable": "aclEntry",
  867. "label": "ACL Entry",
  868. "schema": {
  869. "type": "dict",
  870. "attrs": [
  871. {
  872. "variable": "id_type",
  873. "label": "ID Type",
  874. "schema": {
  875. "type": "string",
  876. "enum": [
  877. {
  878. "value": "USER",
  879. "description": "Entry is for a USER"
  880. },
  881. {
  882. "value": "GROUP",
  883. "description": "Entry is for a GROUP"
  884. }
  885. ],
  886. "default": "USER"
  887. }
  888. },
  889. {
  890. "variable": "id",
  891. "label": "ID",
  892. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  893. "schema": {
  894. "type": "int",
  895. "required": true,
  896. "min": 0
  897. }
  898. },
  899. {
  900. "variable": "access",
  901. "label": "Access",
  902. "schema": {
  903. "type": "string",
  904. "enum": [
  905. {
  906. "value": "READ",
  907. "description": "Read Access"
  908. },
  909. {
  910. "value": "MODIFY",
  911. "description": "Modify Access"
  912. },
  913. {
  914. "value": "FULL_CONTROL",
  915. "description": "FULL_CONTROL Access"
  916. }
  917. ]
  918. }
  919. }
  920. ]
  921. }
  922. }
  923. ]
  924. }
  925. },
  926. {
  927. "variable": "options",
  928. "label": "ACL Options",
  929. "schema": {
  930. "type": "dict",
  931. "attrs": [
  932. {
  933. "variable": "force",
  934. "label": "Force Flag",
  935. "description": "Enabling `Force` applies ACL even if the path has existing data",
  936. "schema": {
  937. "type": "boolean",
  938. "default": false
  939. }
  940. }
  941. ]
  942. }
  943. }
  944. ],
  945. "$ref": [
  946. "normalize/acl"
  947. ]
  948. }
  949. },
  950. {
  951. "variable": "hostPath",
  952. "label": "Host Path",
  953. "description": "The host path to use for storage.",
  954. "schema": {
  955. "type": "hostpath",
  956. "show_if": [
  957. [
  958. "aclEnable",
  959. "=",
  960. false
  961. ]
  962. ],
  963. "required": true
  964. }
  965. }
  966. ]
  967. }
  968. }
  969. ]
  970. }
  971. },
  972. {
  973. "variable": "pgData",
  974. "label": "Home Assistant Postgres Data Storage",
  975. "description": "The path to store Home Assistant Postgres Data.",
  976. "schema": {
  977. "type": "dict",
  978. "attrs": [
  979. {
  980. "variable": "type",
  981. "label": "Type",
  982. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  983. "schema": {
  984. "type": "string",
  985. "required": true,
  986. "immutable": true,
  987. "default": "ixVolume",
  988. "enum": [
  989. {
  990. "value": "hostPath",
  991. "description": "Host Path (Path that already exists on the system)"
  992. },
  993. {
  994. "value": "ixVolume",
  995. "description": "ixVolume (Dataset created automatically by the system)"
  996. }
  997. ]
  998. }
  999. },
  1000. {
  1001. "variable": "ixVolumeConfig",
  1002. "label": "ixVolume Configuration",
  1003. "description": "The configuration for the ixVolume dataset.",
  1004. "schema": {
  1005. "type": "dict",
  1006. "hidden": true,
  1007. "show_if": [
  1008. [
  1009. "type",
  1010. "=",
  1011. "ixVolume"
  1012. ]
  1013. ],
  1014. "$ref": [
  1015. "normalize/ixVolume"
  1016. ],
  1017. "attrs": [
  1018. {
  1019. "variable": "aclEnable",
  1020. "label": "Enable ACL",
  1021. "description": "Enable ACL for the dataset.",
  1022. "schema": {
  1023. "type": "boolean",
  1024. "hidden": true,
  1025. "default": false
  1026. }
  1027. },
  1028. {
  1029. "variable": "datasetName",
  1030. "label": "Dataset Name",
  1031. "description": "The name of the dataset to use for storage.",
  1032. "schema": {
  1033. "type": "string",
  1034. "required": true,
  1035. "immutable": true,
  1036. "hidden": true,
  1037. "default": "pgData"
  1038. }
  1039. },
  1040. {
  1041. "variable": "aclEntries",
  1042. "label": "ACL Configuration",
  1043. "schema": {
  1044. "type": "dict",
  1045. "show_if": [
  1046. [
  1047. "aclEnable",
  1048. "=",
  1049. true
  1050. ]
  1051. ],
  1052. "attrs": [
  1053. {
  1054. "variable": "path",
  1055. "label": "Path",
  1056. "description": "Path to perform ACL",
  1057. "schema": {
  1058. "type": "string",
  1059. "hidden": true
  1060. }
  1061. },
  1062. {
  1063. "variable": "entries",
  1064. "label": "ACL Entries",
  1065. "description": "ACL Entries",
  1066. "schema": {
  1067. "type": "list",
  1068. "items": [
  1069. {
  1070. "variable": "aclEntry",
  1071. "label": "ACL Entry",
  1072. "schema": {
  1073. "type": "dict",
  1074. "attrs": [
  1075. {
  1076. "variable": "id_type",
  1077. "label": "ID Type",
  1078. "schema": {
  1079. "type": "string",
  1080. "enum": [
  1081. {
  1082. "value": "USER",
  1083. "description": "Entry is for a USER"
  1084. },
  1085. {
  1086. "value": "GROUP",
  1087. "description": "Entry is for a GROUP"
  1088. }
  1089. ],
  1090. "default": "USER"
  1091. }
  1092. },
  1093. {
  1094. "variable": "id",
  1095. "label": "ID",
  1096. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1097. "schema": {
  1098. "type": "int",
  1099. "required": true,
  1100. "min": 0
  1101. }
  1102. },
  1103. {
  1104. "variable": "access",
  1105. "label": "Access",
  1106. "schema": {
  1107. "type": "string",
  1108. "enum": [
  1109. {
  1110. "value": "READ",
  1111. "description": "Read Access"
  1112. },
  1113. {
  1114. "value": "MODIFY",
  1115. "description": "Modify Access"
  1116. },
  1117. {
  1118. "value": "FULL_CONTROL",
  1119. "description": "FULL_CONTROL Access"
  1120. }
  1121. ]
  1122. }
  1123. }
  1124. ]
  1125. }
  1126. }
  1127. ]
  1128. }
  1129. }
  1130. ]
  1131. }
  1132. }
  1133. ]
  1134. }
  1135. },
  1136. {
  1137. "variable": "hostPathConfig",
  1138. "label": "Host Path Configuration",
  1139. "schema": {
  1140. "type": "dict",
  1141. "show_if": [
  1142. [
  1143. "type",
  1144. "=",
  1145. "hostPath"
  1146. ]
  1147. ],
  1148. "attrs": [
  1149. {
  1150. "variable": "aclEnable",
  1151. "label": "Enable ACL",
  1152. "description": "Enable ACL for the dataset.",
  1153. "schema": {
  1154. "type": "boolean",
  1155. "hidden": true,
  1156. "default": false
  1157. }
  1158. },
  1159. {
  1160. "variable": "acl",
  1161. "label": "ACL Configuration",
  1162. "schema": {
  1163. "type": "dict",
  1164. "show_if": [
  1165. [
  1166. "aclEnable",
  1167. "=",
  1168. true
  1169. ]
  1170. ],
  1171. "attrs": [
  1172. {
  1173. "variable": "path",
  1174. "label": "Host Path",
  1175. "description": "Host Path to perform ACL",
  1176. "schema": {
  1177. "type": "hostpath",
  1178. "required": true,
  1179. "empty": false
  1180. }
  1181. },
  1182. {
  1183. "variable": "entries",
  1184. "label": "ACL Entries",
  1185. "description": "ACL Entries",
  1186. "schema": {
  1187. "type": "list",
  1188. "items": [
  1189. {
  1190. "variable": "aclEntry",
  1191. "label": "ACL Entry",
  1192. "schema": {
  1193. "type": "dict",
  1194. "attrs": [
  1195. {
  1196. "variable": "id_type",
  1197. "label": "ID Type",
  1198. "schema": {
  1199. "type": "string",
  1200. "enum": [
  1201. {
  1202. "value": "USER",
  1203. "description": "Entry is for a USER"
  1204. },
  1205. {
  1206. "value": "GROUP",
  1207. "description": "Entry is for a GROUP"
  1208. }
  1209. ],
  1210. "default": "USER"
  1211. }
  1212. },
  1213. {
  1214. "variable": "id",
  1215. "label": "ID",
  1216. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1217. "schema": {
  1218. "type": "int",
  1219. "required": true,
  1220. "min": 0
  1221. }
  1222. },
  1223. {
  1224. "variable": "access",
  1225. "label": "Access",
  1226. "schema": {
  1227. "type": "string",
  1228. "enum": [
  1229. {
  1230. "value": "READ",
  1231. "description": "Read Access"
  1232. },
  1233. {
  1234. "value": "MODIFY",
  1235. "description": "Modify Access"
  1236. },
  1237. {
  1238. "value": "FULL_CONTROL",
  1239. "description": "FULL_CONTROL Access"
  1240. }
  1241. ]
  1242. }
  1243. }
  1244. ]
  1245. }
  1246. }
  1247. ]
  1248. }
  1249. },
  1250. {
  1251. "variable": "options",
  1252. "label": "ACL Options",
  1253. "schema": {
  1254. "type": "dict",
  1255. "attrs": [
  1256. {
  1257. "variable": "force",
  1258. "label": "Force Flag",
  1259. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1260. "schema": {
  1261. "type": "boolean",
  1262. "default": false
  1263. }
  1264. }
  1265. ]
  1266. }
  1267. }
  1268. ],
  1269. "$ref": [
  1270. "normalize/acl"
  1271. ]
  1272. }
  1273. },
  1274. {
  1275. "variable": "hostPath",
  1276. "label": "Host Path",
  1277. "description": "The host path to use for storage.",
  1278. "schema": {
  1279. "type": "hostpath",
  1280. "show_if": [
  1281. [
  1282. "aclEnable",
  1283. "=",
  1284. false
  1285. ]
  1286. ],
  1287. "required": true
  1288. }
  1289. }
  1290. ]
  1291. }
  1292. }
  1293. ]
  1294. }
  1295. },
  1296. {
  1297. "variable": "pgBackup",
  1298. "label": "Home Assistant Postgres Backup Storage",
  1299. "description": "The path to store Home Assistant Postgres Backup.",
  1300. "schema": {
  1301. "type": "dict",
  1302. "attrs": [
  1303. {
  1304. "variable": "type",
  1305. "label": "Type",
  1306. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  1307. "schema": {
  1308. "type": "string",
  1309. "required": true,
  1310. "immutable": true,
  1311. "default": "ixVolume",
  1312. "enum": [
  1313. {
  1314. "value": "hostPath",
  1315. "description": "Host Path (Path that already exists on the system)"
  1316. },
  1317. {
  1318. "value": "ixVolume",
  1319. "description": "ixVolume (Dataset created automatically by the system)"
  1320. }
  1321. ]
  1322. }
  1323. },
  1324. {
  1325. "variable": "ixVolumeConfig",
  1326. "label": "ixVolume Configuration",
  1327. "description": "The configuration for the ixVolume dataset.",
  1328. "schema": {
  1329. "type": "dict",
  1330. "hidden": true,
  1331. "show_if": [
  1332. [
  1333. "type",
  1334. "=",
  1335. "ixVolume"
  1336. ]
  1337. ],
  1338. "$ref": [
  1339. "normalize/ixVolume"
  1340. ],
  1341. "attrs": [
  1342. {
  1343. "variable": "aclEnable",
  1344. "label": "Enable ACL",
  1345. "description": "Enable ACL for the dataset.",
  1346. "schema": {
  1347. "type": "boolean",
  1348. "hidden": true,
  1349. "default": false
  1350. }
  1351. },
  1352. {
  1353. "variable": "datasetName",
  1354. "label": "Dataset Name",
  1355. "description": "The name of the dataset to use for storage.",
  1356. "schema": {
  1357. "type": "string",
  1358. "required": true,
  1359. "immutable": true,
  1360. "hidden": true,
  1361. "default": "pgBackup"
  1362. }
  1363. },
  1364. {
  1365. "variable": "aclEntries",
  1366. "label": "ACL Configuration",
  1367. "schema": {
  1368. "type": "dict",
  1369. "show_if": [
  1370. [
  1371. "aclEnable",
  1372. "=",
  1373. true
  1374. ]
  1375. ],
  1376. "attrs": [
  1377. {
  1378. "variable": "path",
  1379. "label": "Path",
  1380. "description": "Path to perform ACL",
  1381. "schema": {
  1382. "type": "string",
  1383. "hidden": true
  1384. }
  1385. },
  1386. {
  1387. "variable": "entries",
  1388. "label": "ACL Entries",
  1389. "description": "ACL Entries",
  1390. "schema": {
  1391. "type": "list",
  1392. "items": [
  1393. {
  1394. "variable": "aclEntry",
  1395. "label": "ACL Entry",
  1396. "schema": {
  1397. "type": "dict",
  1398. "attrs": [
  1399. {
  1400. "variable": "id_type",
  1401. "label": "ID Type",
  1402. "schema": {
  1403. "type": "string",
  1404. "enum": [
  1405. {
  1406. "value": "USER",
  1407. "description": "Entry is for a USER"
  1408. },
  1409. {
  1410. "value": "GROUP",
  1411. "description": "Entry is for a GROUP"
  1412. }
  1413. ],
  1414. "default": "USER"
  1415. }
  1416. },
  1417. {
  1418. "variable": "id",
  1419. "label": "ID",
  1420. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1421. "schema": {
  1422. "type": "int",
  1423. "required": true,
  1424. "min": 0
  1425. }
  1426. },
  1427. {
  1428. "variable": "access",
  1429. "label": "Access",
  1430. "schema": {
  1431. "type": "string",
  1432. "enum": [
  1433. {
  1434. "value": "READ",
  1435. "description": "Read Access"
  1436. },
  1437. {
  1438. "value": "MODIFY",
  1439. "description": "Modify Access"
  1440. },
  1441. {
  1442. "value": "FULL_CONTROL",
  1443. "description": "FULL_CONTROL Access"
  1444. }
  1445. ]
  1446. }
  1447. }
  1448. ]
  1449. }
  1450. }
  1451. ]
  1452. }
  1453. }
  1454. ]
  1455. }
  1456. }
  1457. ]
  1458. }
  1459. },
  1460. {
  1461. "variable": "hostPathConfig",
  1462. "label": "Host Path Configuration",
  1463. "schema": {
  1464. "type": "dict",
  1465. "show_if": [
  1466. [
  1467. "type",
  1468. "=",
  1469. "hostPath"
  1470. ]
  1471. ],
  1472. "attrs": [
  1473. {
  1474. "variable": "aclEnable",
  1475. "label": "Enable ACL",
  1476. "description": "Enable ACL for the dataset.",
  1477. "schema": {
  1478. "type": "boolean",
  1479. "hidden": true,
  1480. "default": false
  1481. }
  1482. },
  1483. {
  1484. "variable": "acl",
  1485. "label": "ACL Configuration",
  1486. "schema": {
  1487. "type": "dict",
  1488. "show_if": [
  1489. [
  1490. "aclEnable",
  1491. "=",
  1492. true
  1493. ]
  1494. ],
  1495. "attrs": [
  1496. {
  1497. "variable": "path",
  1498. "label": "Host Path",
  1499. "description": "Host Path to perform ACL",
  1500. "schema": {
  1501. "type": "hostpath",
  1502. "required": true,
  1503. "empty": false
  1504. }
  1505. },
  1506. {
  1507. "variable": "entries",
  1508. "label": "ACL Entries",
  1509. "description": "ACL Entries",
  1510. "schema": {
  1511. "type": "list",
  1512. "items": [
  1513. {
  1514. "variable": "aclEntry",
  1515. "label": "ACL Entry",
  1516. "schema": {
  1517. "type": "dict",
  1518. "attrs": [
  1519. {
  1520. "variable": "id_type",
  1521. "label": "ID Type",
  1522. "schema": {
  1523. "type": "string",
  1524. "enum": [
  1525. {
  1526. "value": "USER",
  1527. "description": "Entry is for a USER"
  1528. },
  1529. {
  1530. "value": "GROUP",
  1531. "description": "Entry is for a GROUP"
  1532. }
  1533. ],
  1534. "default": "USER"
  1535. }
  1536. },
  1537. {
  1538. "variable": "id",
  1539. "label": "ID",
  1540. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1541. "schema": {
  1542. "type": "int",
  1543. "required": true,
  1544. "min": 0
  1545. }
  1546. },
  1547. {
  1548. "variable": "access",
  1549. "label": "Access",
  1550. "schema": {
  1551. "type": "string",
  1552. "enum": [
  1553. {
  1554. "value": "READ",
  1555. "description": "Read Access"
  1556. },
  1557. {
  1558. "value": "MODIFY",
  1559. "description": "Modify Access"
  1560. },
  1561. {
  1562. "value": "FULL_CONTROL",
  1563. "description": "FULL_CONTROL Access"
  1564. }
  1565. ]
  1566. }
  1567. }
  1568. ]
  1569. }
  1570. }
  1571. ]
  1572. }
  1573. },
  1574. {
  1575. "variable": "options",
  1576. "label": "ACL Options",
  1577. "schema": {
  1578. "type": "dict",
  1579. "attrs": [
  1580. {
  1581. "variable": "force",
  1582. "label": "Force Flag",
  1583. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1584. "schema": {
  1585. "type": "boolean",
  1586. "default": false
  1587. }
  1588. }
  1589. ]
  1590. }
  1591. }
  1592. ],
  1593. "$ref": [
  1594. "normalize/acl"
  1595. ]
  1596. }
  1597. },
  1598. {
  1599. "variable": "hostPath",
  1600. "label": "Host Path",
  1601. "description": "The host path to use for storage.",
  1602. "schema": {
  1603. "type": "hostpath",
  1604. "show_if": [
  1605. [
  1606. "aclEnable",
  1607. "=",
  1608. false
  1609. ]
  1610. ],
  1611. "required": true
  1612. }
  1613. }
  1614. ]
  1615. }
  1616. }
  1617. ]
  1618. }
  1619. },
  1620. {
  1621. "variable": "additionalStorages",
  1622. "label": "Additional Storage",
  1623. "description": "Additional storage for Home Assistant.",
  1624. "schema": {
  1625. "type": "list",
  1626. "default": [],
  1627. "items": [
  1628. {
  1629. "variable": "storageEntry",
  1630. "label": "Storage Entry",
  1631. "schema": {
  1632. "type": "dict",
  1633. "attrs": [
  1634. {
  1635. "variable": "type",
  1636. "label": "Type",
  1637. "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",
  1638. "schema": {
  1639. "type": "string",
  1640. "required": true,
  1641. "default": "ixVolume",
  1642. "immutable": true,
  1643. "enum": [
  1644. {
  1645. "value": "hostPath",
  1646. "description": "Host Path (Path that already exists on the system)"
  1647. },
  1648. {
  1649. "value": "ixVolume",
  1650. "description": "ixVolume (Dataset created automatically by the system)"
  1651. },
  1652. {
  1653. "value": "smb-pv-pvc",
  1654. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  1655. }
  1656. ]
  1657. }
  1658. },
  1659. {
  1660. "variable": "readOnly",
  1661. "label": "Read Only",
  1662. "description": "Mount the volume as read only.",
  1663. "schema": {
  1664. "type": "boolean",
  1665. "default": false
  1666. }
  1667. },
  1668. {
  1669. "variable": "mountPath",
  1670. "label": "Mount Path",
  1671. "description": "The path inside the container to mount the storage.",
  1672. "schema": {
  1673. "type": "path",
  1674. "required": true
  1675. }
  1676. },
  1677. {
  1678. "variable": "hostPathConfig",
  1679. "label": "Host Path Configuration",
  1680. "schema": {
  1681. "type": "dict",
  1682. "show_if": [
  1683. [
  1684. "type",
  1685. "=",
  1686. "hostPath"
  1687. ]
  1688. ],
  1689. "attrs": [
  1690. {
  1691. "variable": "aclEnable",
  1692. "label": "Enable ACL",
  1693. "description": "Enable ACL for the dataset.",
  1694. "schema": {
  1695. "type": "boolean",
  1696. "default": false
  1697. }
  1698. },
  1699. {
  1700. "variable": "acl",
  1701. "label": "ACL Configuration",
  1702. "schema": {
  1703. "type": "dict",
  1704. "show_if": [
  1705. [
  1706. "aclEnable",
  1707. "=",
  1708. true
  1709. ]
  1710. ],
  1711. "attrs": [
  1712. {
  1713. "variable": "path",
  1714. "label": "Host Path",
  1715. "description": "Host Path to perform ACL",
  1716. "schema": {
  1717. "type": "hostpath",
  1718. "required": true,
  1719. "empty": false
  1720. }
  1721. },
  1722. {
  1723. "variable": "entries",
  1724. "label": "ACL Entries",
  1725. "description": "ACL Entries",
  1726. "schema": {
  1727. "type": "list",
  1728. "items": [
  1729. {
  1730. "variable": "aclEntry",
  1731. "label": "ACL Entry",
  1732. "schema": {
  1733. "type": "dict",
  1734. "attrs": [
  1735. {
  1736. "variable": "id_type",
  1737. "label": "ID Type",
  1738. "schema": {
  1739. "type": "string",
  1740. "enum": [
  1741. {
  1742. "value": "USER",
  1743. "description": "Entry is for a USER"
  1744. },
  1745. {
  1746. "value": "GROUP",
  1747. "description": "Entry is for a GROUP"
  1748. }
  1749. ],
  1750. "default": "USER"
  1751. }
  1752. },
  1753. {
  1754. "variable": "id",
  1755. "label": "ID",
  1756. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1757. "schema": {
  1758. "type": "int",
  1759. "required": true,
  1760. "min": 0
  1761. }
  1762. },
  1763. {
  1764. "variable": "access",
  1765. "label": "Access",
  1766. "schema": {
  1767. "type": "string",
  1768. "enum": [
  1769. {
  1770. "value": "READ",
  1771. "description": "Read Access"
  1772. },
  1773. {
  1774. "value": "MODIFY",
  1775. "description": "Modify Access"
  1776. },
  1777. {
  1778. "value": "FULL_CONTROL",
  1779. "description": "FULL_CONTROL Access"
  1780. }
  1781. ]
  1782. }
  1783. }
  1784. ]
  1785. }
  1786. }
  1787. ]
  1788. }
  1789. },
  1790. {
  1791. "variable": "options",
  1792. "label": "ACL Options",
  1793. "schema": {
  1794. "type": "dict",
  1795. "attrs": [
  1796. {
  1797. "variable": "force",
  1798. "label": "Force Flag",
  1799. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1800. "schema": {
  1801. "type": "boolean",
  1802. "default": false
  1803. }
  1804. }
  1805. ]
  1806. }
  1807. }
  1808. ],
  1809. "$ref": [
  1810. "normalize/acl"
  1811. ]
  1812. }
  1813. },
  1814. {
  1815. "variable": "hostPath",
  1816. "label": "Host Path",
  1817. "description": "The host path to use for storage.",
  1818. "schema": {
  1819. "type": "hostpath",
  1820. "show_if": [
  1821. [
  1822. "aclEnable",
  1823. "=",
  1824. false
  1825. ]
  1826. ],
  1827. "required": true
  1828. }
  1829. }
  1830. ]
  1831. }
  1832. },
  1833. {
  1834. "variable": "ixVolumeConfig",
  1835. "label": "ixVolume Configuration",
  1836. "description": "The configuration for the ixVolume dataset.",
  1837. "schema": {
  1838. "type": "dict",
  1839. "show_if": [
  1840. [
  1841. "type",
  1842. "=",
  1843. "ixVolume"
  1844. ]
  1845. ],
  1846. "$ref": [
  1847. "normalize/ixVolume"
  1848. ],
  1849. "attrs": [
  1850. {
  1851. "variable": "aclEnable",
  1852. "label": "Enable ACL",
  1853. "description": "Enable ACL for the dataset.",
  1854. "schema": {
  1855. "type": "boolean",
  1856. "default": false
  1857. }
  1858. },
  1859. {
  1860. "variable": "datasetName",
  1861. "label": "Dataset Name",
  1862. "description": "The name of the dataset to use for storage.",
  1863. "schema": {
  1864. "type": "string",
  1865. "required": true,
  1866. "immutable": true,
  1867. "default": "storage_entry"
  1868. }
  1869. },
  1870. {
  1871. "variable": "aclEntries",
  1872. "label": "ACL Configuration",
  1873. "schema": {
  1874. "type": "dict",
  1875. "show_if": [
  1876. [
  1877. "aclEnable",
  1878. "=",
  1879. true
  1880. ]
  1881. ],
  1882. "attrs": [
  1883. {
  1884. "variable": "path",
  1885. "label": "Path",
  1886. "description": "Path to perform ACL",
  1887. "schema": {
  1888. "type": "string",
  1889. "hidden": true
  1890. }
  1891. },
  1892. {
  1893. "variable": "entries",
  1894. "label": "ACL Entries",
  1895. "description": "ACL Entries",
  1896. "schema": {
  1897. "type": "list",
  1898. "items": [
  1899. {
  1900. "variable": "aclEntry",
  1901. "label": "ACL Entry",
  1902. "schema": {
  1903. "type": "dict",
  1904. "attrs": [
  1905. {
  1906. "variable": "id_type",
  1907. "label": "ID Type",
  1908. "schema": {
  1909. "type": "string",
  1910. "enum": [
  1911. {
  1912. "value": "USER",
  1913. "description": "Entry is for a USER"
  1914. },
  1915. {
  1916. "value": "GROUP",
  1917. "description": "Entry is for a GROUP"
  1918. }
  1919. ],
  1920. "default": "USER"
  1921. }
  1922. },
  1923. {
  1924. "variable": "id",
  1925. "label": "ID",
  1926. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1927. "schema": {
  1928. "type": "int",
  1929. "required": true,
  1930. "min": 0
  1931. }
  1932. },
  1933. {
  1934. "variable": "access",
  1935. "label": "Access",
  1936. "schema": {
  1937. "type": "string",
  1938. "enum": [
  1939. {
  1940. "value": "READ",
  1941. "description": "Read Access"
  1942. },
  1943. {
  1944. "value": "MODIFY",
  1945. "description": "Modify Access"
  1946. },
  1947. {
  1948. "value": "FULL_CONTROL",
  1949. "description": "FULL_CONTROL Access"
  1950. }
  1951. ]
  1952. }
  1953. }
  1954. ]
  1955. }
  1956. }
  1957. ]
  1958. }
  1959. }
  1960. ]
  1961. }
  1962. }
  1963. ]
  1964. }
  1965. },
  1966. {
  1967. "variable": "smbConfig",
  1968. "label": "SMB Share Configuration",
  1969. "description": "The configuration for the SMB Share.",
  1970. "schema": {
  1971. "type": "dict",
  1972. "show_if": [
  1973. [
  1974. "type",
  1975. "=",
  1976. "smb-pv-pvc"
  1977. ]
  1978. ],
  1979. "attrs": [
  1980. {
  1981. "variable": "server",
  1982. "label": "Server",
  1983. "description": "The server for the SMB share.",
  1984. "schema": {
  1985. "type": "string",
  1986. "required": true
  1987. }
  1988. },
  1989. {
  1990. "variable": "share",
  1991. "label": "Share",
  1992. "description": "The share name for the SMB share.",
  1993. "schema": {
  1994. "type": "string",
  1995. "required": true
  1996. }
  1997. },
  1998. {
  1999. "variable": "domain",
  2000. "label": "Domain (Optional)",
  2001. "description": "The domain for the SMB share.",
  2002. "schema": {
  2003. "type": "string"
  2004. }
  2005. },
  2006. {
  2007. "variable": "username",
  2008. "label": "Username",
  2009. "description": "The username for the SMB share.",
  2010. "schema": {
  2011. "type": "string",
  2012. "required": true
  2013. }
  2014. },
  2015. {
  2016. "variable": "password",
  2017. "label": "Password",
  2018. "description": "The password for the SMB share.",
  2019. "schema": {
  2020. "type": "string",
  2021. "required": true,
  2022. "private": true
  2023. }
  2024. },
  2025. {
  2026. "variable": "size",
  2027. "label": "Size (in Gi)",
  2028. "description": "The size of the volume quota.",
  2029. "schema": {
  2030. "type": "int",
  2031. "required": true,
  2032. "min": 1,
  2033. "default": 1
  2034. }
  2035. }
  2036. ]
  2037. }
  2038. }
  2039. ]
  2040. }
  2041. }
  2042. ]
  2043. }
  2044. }
  2045. ]
  2046. }
  2047. },
  2048. {
  2049. "variable": "resources",
  2050. "group": "Resources Configuration",
  2051. "label": "",
  2052. "schema": {
  2053. "type": "dict",
  2054. "attrs": [
  2055. {
  2056. "variable": "limits",
  2057. "label": "Limits",
  2058. "schema": {
  2059. "type": "dict",
  2060. "attrs": [
  2061. {
  2062. "variable": "cpu",
  2063. "label": "CPU",
  2064. "description": "CPU limit for WG-Easy.",
  2065. "schema": {
  2066. "type": "string",
  2067. "max_length": 6,
  2068. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  2069. "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",
  2070. "default": "4000m",
  2071. "required": true
  2072. }
  2073. },
  2074. {
  2075. "variable": "memory",
  2076. "label": "Memory",
  2077. "description": "Memory limit for WG-Easy.",
  2078. "schema": {
  2079. "type": "string",
  2080. "max_length": 12,
  2081. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  2082. "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",
  2083. "default": "8Gi",
  2084. "required": true
  2085. }
  2086. }
  2087. ]
  2088. }
  2089. }
  2090. ]
  2091. }
  2092. }
  2093. ]
  2094. },
  2095. "app_readme": "<h1>Home Assistant</h1>\n<p><a href=\"https://www.home-assistant.io/\">Home Assistant</a> is an open source home automation that puts local control and privacy first.</p>",
  2096. "detailed_readme": "<h1>Home Assistant</h1>\n<p><a href=\"https://www.home-assistant.io/\">Home Assistant</a> is an open source home automation that puts local control and privacy first.</p>",
  2097. "changelog": null
  2098. },
  2099. "1.0.130": {
  2100. "healthy": true,
  2101. "supported": true,
  2102. "healthy_error": null,
  2103. "location": "/__w/charts/charts/charts/home-assistant/1.0.130",
  2104. "last_update": "2025-03-06 08:26:26",
  2105. "required_features": [
  2106. "definitions/timezone",
  2107. "normalize/ixVolume"
  2108. ],
  2109. "human_version": "2024.1.3_1.0.130",
  2110. "version": "1.0.130",
  2111. "chart_metadata": {
  2112. "name": "home-assistant",
  2113. "description": "Home Assistant App for TrueNAS SCALE",
  2114. "annotations": {
  2115. "title": "Home Assistant"
  2116. },
  2117. "type": "application",
  2118. "version": "1.0.130",
  2119. "apiVersion": "v2",
  2120. "appVersion": "2024.1.3",
  2121. "kubeVersion": ">=1.16.0-0",
  2122. "maintainers": [
  2123. {
  2124. "name": "truenas",
  2125. "url": "https://www.truenas.com/",
  2126. "email": "dev@ixsystems.com"
  2127. }
  2128. ],
  2129. "dependencies": [
  2130. {
  2131. "name": "common",
  2132. "repository": "file://../../../common/2304.0.1",
  2133. "version": "2304.0.1"
  2134. }
  2135. ],
  2136. "home": "https://github.com/home-assistant/home-assistant",
  2137. "icon": "https://media.sys.truenas.net/apps/home-assistant/icons/icon.png",
  2138. "sources": [
  2139. "https://github.com/home-assistant/home-assistant",
  2140. "https://github.com/truenas/charts/tree/master/charts/home-assistant"
  2141. ],
  2142. "keywords": [
  2143. "home-automation"
  2144. ]
  2145. },
  2146. "app_metadata": {
  2147. "runAsContext": [
  2148. {
  2149. "userName": "root",
  2150. "groupName": "root",
  2151. "gid": 0,
  2152. "uid": 0,
  2153. "description": "Home-Assistant runs as root user."
  2154. },
  2155. {
  2156. "userName": "root",
  2157. "groupName": "root",
  2158. "gid": 0,
  2159. "uid": 0,
  2160. "description": "Postgres runs as root user."
  2161. }
  2162. ],
  2163. "capabilities": [
  2164. {
  2165. "name": "CHOWN",
  2166. "description": "Home Assistant and Postgres are able to chown files."
  2167. },
  2168. {
  2169. "name": "FOWNER",
  2170. "description": "Home Assistant and Postgres are able to bypass permission checks for it's sub-processes."
  2171. },
  2172. {
  2173. "name": "SYS_CHROOT",
  2174. "description": "Home Assistant and Postgres are able to use chroot."
  2175. },
  2176. {
  2177. "name": "MKNOD",
  2178. "description": "Home Assistant and Postgres are able to create device nodes."
  2179. },
  2180. {
  2181. "name": "DAC_OVERRIDE",
  2182. "description": "Home Assistant and Postgres are able to bypass permission checks."
  2183. },
  2184. {
  2185. "name": "FSETID",
  2186. "description": "Home Assistant and Postgres are able to set file capabilities."
  2187. },
  2188. {
  2189. "name": "KILL",
  2190. "description": "Home Assistant and Postgres are able to kill processes."
  2191. },
  2192. {
  2193. "name": "SETGID",
  2194. "description": "Home Assistant and Postgres are able to set group ID for it's sub-processes."
  2195. },
  2196. {
  2197. "name": "SETUID",
  2198. "description": "Home Assistant and Postgres are able to set user ID for it's sub-processes."
  2199. },
  2200. {
  2201. "name": "SETPCAP",
  2202. "description": "Home Assistant and Postgres are able to set process capabilities."
  2203. },
  2204. {
  2205. "name": "NET_BIND_SERVICE",
  2206. "description": "Home Assistant and Postgres are able to bind to privileged ports."
  2207. },
  2208. {
  2209. "name": "SETFCAP",
  2210. "description": "Home Assistant and Postgres are able to set file capabilities."
  2211. },
  2212. {
  2213. "name": "NET_RAW",
  2214. "description": "Home Assistant and Postgres are able to use raw sockets."
  2215. },
  2216. {
  2217. "name": "AUDIT_WRITE",
  2218. "description": "Home Assistant and Postgres are able to write to audit log."
  2219. }
  2220. ],
  2221. "hostMounts": []
  2222. },
  2223. "schema": {
  2224. "groups": [
  2225. {
  2226. "name": "Configuration",
  2227. "description": "Home Assistant application configuration"
  2228. },
  2229. {
  2230. "name": "Storage",
  2231. "description": "Configure storage for homeassistant"
  2232. },
  2233. {
  2234. "name": "Networking",
  2235. "description": "Networking Configuration for homeassistant"
  2236. },
  2237. {
  2238. "name": "Advanced DNS Settings",
  2239. "description": "Configure DNS settings"
  2240. },
  2241. {
  2242. "name": "Resource Limits",
  2243. "description": "Set CPU/memory limits for Kubernetes Pod"
  2244. }
  2245. ],
  2246. "portals": {
  2247. "web_portal": {
  2248. "protocols": [
  2249. "http"
  2250. ],
  2251. "host": [
  2252. "$node_ip"
  2253. ],
  2254. "ports": [
  2255. "$variable-web_port"
  2256. ],
  2257. "path": "/"
  2258. }
  2259. },
  2260. "questions": [
  2261. {
  2262. "variable": "web_port",
  2263. "label": "Web Port for homeassistant",
  2264. "group": "Networking",
  2265. "schema": {
  2266. "type": "int",
  2267. "min": 8000,
  2268. "max": 65535,
  2269. "default": 20810,
  2270. "required": true
  2271. }
  2272. },
  2273. {
  2274. "variable": "timezone",
  2275. "label": "Configure timezone",
  2276. "group": "Configuration",
  2277. "description": "Configure timezone for Home Assistant",
  2278. "schema": {
  2279. "type": "string",
  2280. "$ref": [
  2281. "definitions/timezone"
  2282. ],
  2283. "enum": [
  2284. {
  2285. "value": "Asia/Damascus",
  2286. "description": "'Asia/Damascus' timezone"
  2287. },
  2288. {
  2289. "value": "Asia/Saigon",
  2290. "description": "'Asia/Saigon' timezone"
  2291. }
  2292. ],
  2293. "default": "America/Los_Angeles"
  2294. }
  2295. },
  2296. {
  2297. "variable": "hostNetwork",
  2298. "label": "Enable Host Network",
  2299. "group": "Networking",
  2300. "schema": {
  2301. "type": "boolean",
  2302. "default": false
  2303. }
  2304. },
  2305. {
  2306. "variable": "dnsConfig",
  2307. "label": "DNS Configuration",
  2308. "group": "Advanced DNS Settings",
  2309. "schema": {
  2310. "type": "dict",
  2311. "attrs": [
  2312. {
  2313. "variable": "options",
  2314. "label": "DNS Options",
  2315. "schema": {
  2316. "type": "list",
  2317. "items": [
  2318. {
  2319. "variable": "optionsEntry",
  2320. "label": "Option Entry Configuration",
  2321. "schema": {
  2322. "type": "dict",
  2323. "attrs": [
  2324. {
  2325. "variable": "name",
  2326. "label": "Option Name",
  2327. "schema": {
  2328. "type": "string",
  2329. "required": true
  2330. }
  2331. },
  2332. {
  2333. "variable": "value",
  2334. "label": "Option Value",
  2335. "schema": {
  2336. "type": "string",
  2337. "required": true
  2338. }
  2339. }
  2340. ]
  2341. }
  2342. }
  2343. ]
  2344. }
  2345. }
  2346. ]
  2347. }
  2348. },
  2349. {
  2350. "variable": "ownerUID",
  2351. "label": "Storage User ID",
  2352. "description": "User ID of the storage volume being used (application will chown the storage volume path with specified UID)",
  2353. "group": "Configuration",
  2354. "schema": {
  2355. "type": "int",
  2356. "default": 568,
  2357. "min": 1,
  2358. "max": 65535
  2359. }
  2360. },
  2361. {
  2362. "variable": "ownerGID",
  2363. "label": "Storage Group ID",
  2364. "description": "Group ID of the storage volume being used (application will chown the storage volume path with specified GID)",
  2365. "group": "Configuration",
  2366. "schema": {
  2367. "type": "int",
  2368. "default": 568,
  2369. "min": 1,
  2370. "max": 65535
  2371. }
  2372. },
  2373. {
  2374. "variable": "environmentVariables",
  2375. "label": "Home Assistant environment",
  2376. "group": "Configuration",
  2377. "schema": {
  2378. "type": "list",
  2379. "default": [],
  2380. "items": [
  2381. {
  2382. "variable": "environmentVariable",
  2383. "label": "Environment Variable",
  2384. "schema": {
  2385. "type": "dict",
  2386. "attrs": [
  2387. {
  2388. "variable": "name",
  2389. "label": "Name",
  2390. "schema": {
  2391. "type": "string"
  2392. }
  2393. },
  2394. {
  2395. "variable": "value",
  2396. "label": "Value",
  2397. "schema": {
  2398. "type": "string"
  2399. }
  2400. }
  2401. ]
  2402. }
  2403. }
  2404. ]
  2405. }
  2406. },
  2407. {
  2408. "variable": "appVolumeMounts",
  2409. "label": "Home Assistant Storage",
  2410. "group": "Storage",
  2411. "schema": {
  2412. "type": "dict",
  2413. "attrs": [
  2414. {
  2415. "variable": "config",
  2416. "label": "Storage Volume for Configuration",
  2417. "schema": {
  2418. "type": "dict",
  2419. "attrs": [
  2420. {
  2421. "variable": "datasetName",
  2422. "label": "Configuration Storage Volume Dataset Name",
  2423. "schema": {
  2424. "type": "string",
  2425. "hidden": true,
  2426. "$ref": [
  2427. "normalize/ixVolume"
  2428. ],
  2429. "show_if": [
  2430. [
  2431. "hostPathEnabled",
  2432. "=",
  2433. false
  2434. ]
  2435. ],
  2436. "default": "ix-config",
  2437. "editable": false
  2438. }
  2439. },
  2440. {
  2441. "variable": "mountPath",
  2442. "label": "Configuration Storage Mount Path",
  2443. "description": "Path where the volume will be mounted inside the pod",
  2444. "schema": {
  2445. "type": "path",
  2446. "hidden": true,
  2447. "editable": true,
  2448. "default": "/config"
  2449. }
  2450. },
  2451. {
  2452. "variable": "hostPathEnabled",
  2453. "label": "Enable Custom Host Path for Home Assistant Configuration Storage Volume",
  2454. "schema": {
  2455. "type": "boolean",
  2456. "default": false,
  2457. "show_subquestions_if": true,
  2458. "subquestions": [
  2459. {
  2460. "variable": "hostPath",
  2461. "label": "Host Path for Home Assistant Configuration Storage Volume",
  2462. "schema": {
  2463. "type": "hostpath",
  2464. "required": true
  2465. }
  2466. }
  2467. ]
  2468. }
  2469. }
  2470. ]
  2471. }
  2472. },
  2473. {
  2474. "variable": "media",
  2475. "label": "Storage Volume for Media",
  2476. "schema": {
  2477. "type": "dict",
  2478. "attrs": [
  2479. {
  2480. "variable": "datasetName",
  2481. "label": "Media Storage Volume Dataset Name",
  2482. "schema": {
  2483. "type": "string",
  2484. "hidden": true,
  2485. "$ref": [
  2486. "normalize/ixVolume"
  2487. ],
  2488. "show_if": [
  2489. [
  2490. "hostPathEnabled",
  2491. "=",
  2492. false
  2493. ]
  2494. ],
  2495. "default": "ix-media",
  2496. "editable": false
  2497. }
  2498. },
  2499. {
  2500. "variable": "mountPath",
  2501. "label": "Media Storage Mount Path",
  2502. "description": "Path where the volume will be mounted inside the pod",
  2503. "schema": {
  2504. "type": "path",
  2505. "hidden": true,
  2506. "editable": true,
  2507. "default": "/media"
  2508. }
  2509. },
  2510. {
  2511. "variable": "hostPathEnabled",
  2512. "label": "Enable Custom Host Path for Home Assistant Media Storage Volume",
  2513. "schema": {
  2514. "type": "boolean",
  2515. "default": false,
  2516. "show_subquestions_if": true,
  2517. "subquestions": [
  2518. {
  2519. "variable": "hostPath",
  2520. "label": "Host Path for Home Assistant Media Storage Volume",
  2521. "schema": {
  2522. "type": "hostpath",
  2523. "required": true
  2524. }
  2525. }
  2526. ]
  2527. }
  2528. }
  2529. ]
  2530. }
  2531. }
  2532. ]
  2533. }
  2534. },
  2535. {
  2536. "variable": "postgresAppVolumeMounts",
  2537. "label": "Postgres Storage",
  2538. "group": "Storage",
  2539. "schema": {
  2540. "type": "dict",
  2541. "hidden": true,
  2542. "attrs": [
  2543. {
  2544. "variable": "postgres-data",
  2545. "label": "Postgres Data Volume",
  2546. "schema": {
  2547. "type": "dict",
  2548. "attrs": [
  2549. {
  2550. "variable": "datasetName",
  2551. "label": "Postgres Data Volume Name",
  2552. "schema": {
  2553. "type": "string",
  2554. "$ref": [
  2555. "normalize/ixVolume"
  2556. ],
  2557. "default": "ix-postgres_data",
  2558. "editable": false
  2559. }
  2560. },
  2561. {
  2562. "variable": "mountPath",
  2563. "label": "Postgresql Data Mount Path",
  2564. "description": "Path where the volume will be mounted inside the pod",
  2565. "schema": {
  2566. "type": "path",
  2567. "editable": false,
  2568. "default": "/var/lib/postgresql/data"
  2569. }
  2570. }
  2571. ]
  2572. }
  2573. },
  2574. {
  2575. "variable": "postgres-backup",
  2576. "label": "Postgres Backup Volume",
  2577. "schema": {
  2578. "type": "dict",
  2579. "attrs": [
  2580. {
  2581. "variable": "datasetName",
  2582. "label": "Postgres Backup Volume Name",
  2583. "schema": {
  2584. "type": "string",
  2585. "$ref": [
  2586. "normalize/ixVolume"
  2587. ],
  2588. "default": "ix-postgres_backups",
  2589. "editable": false
  2590. }
  2591. },
  2592. {
  2593. "variable": "mountPath",
  2594. "label": "Postgresql Backup Mount Path",
  2595. "description": "Path where the volume will be mounted inside the pod",
  2596. "schema": {
  2597. "type": "path",
  2598. "editable": false,
  2599. "default": "/postgres_backups"
  2600. }
  2601. }
  2602. ]
  2603. }
  2604. }
  2605. ]
  2606. }
  2607. },
  2608. {
  2609. "variable": "extraAppVolumeMounts",
  2610. "label": "Extra Host Path Volumes",
  2611. "group": "Storage",
  2612. "schema": {
  2613. "type": "list",
  2614. "items": [
  2615. {
  2616. "variable": "extraAppVolume",
  2617. "label": "Host Path Volume",
  2618. "description": "Add an extra host path volume for Home Assistant application",
  2619. "schema": {
  2620. "type": "dict",
  2621. "attrs": [
  2622. {
  2623. "variable": "mountPath",
  2624. "label": "Mount Path in Pod",
  2625. "description": "Path where the volume will be mounted inside the pod",
  2626. "schema": {
  2627. "type": "path",
  2628. "required": true
  2629. }
  2630. },
  2631. {
  2632. "variable": "hostPath",
  2633. "label": "Host Path",
  2634. "description": "Host path",
  2635. "schema": {
  2636. "type": "hostpath",
  2637. "required": true
  2638. }
  2639. }
  2640. ]
  2641. }
  2642. }
  2643. ]
  2644. }
  2645. },
  2646. {
  2647. "variable": "enableResourceLimits",
  2648. "label": "Enable Pod resource limits",
  2649. "group": "Resource Limits",
  2650. "schema": {
  2651. "type": "boolean",
  2652. "default": false
  2653. }
  2654. },
  2655. {
  2656. "variable": "cpuLimit",
  2657. "label": "CPU Limit",
  2658. "description": "CPU resource limit allow plain integer values with suffix m(milli) e.g 1000m, 100.",
  2659. "group": "Resource Limits",
  2660. "schema": {
  2661. "type": "string",
  2662. "show_if": [
  2663. [
  2664. "enableResourceLimits",
  2665. "=",
  2666. true
  2667. ]
  2668. ],
  2669. "valid_chars": "^\\d+(?:\\.\\d+(?!.*m$)|m?$)",
  2670. "default": "4000m"
  2671. }
  2672. },
  2673. {
  2674. "variable": "memLimit",
  2675. "label": "Memory Limit",
  2676. "group": "Resource Limits",
  2677. "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",
  2678. "schema": {
  2679. "type": "string",
  2680. "show_if": [
  2681. [
  2682. "enableResourceLimits",
  2683. "=",
  2684. true
  2685. ]
  2686. ],
  2687. "valid_chars": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$",
  2688. "default": "8Gi"
  2689. }
  2690. }
  2691. ]
  2692. },
  2693. "app_readme": "<p>home-assistant App for TrueNAS SCALE</p>",
  2694. "detailed_readme": "<h1>Introduction</h1>\n<p>home assistant App for TrueNAS SCALE</p>",
  2695. "changelog": null
  2696. }
  2697. }