app_versions.json 188 KB

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