Add env vars support to remaining add-ons

This commit is contained in:
Alexandre
2025-11-18 09:30:28 +01:00
parent e688a07546
commit f310b7faf9
33 changed files with 147 additions and 13 deletions

View File

@@ -1,3 +1,7 @@
## 3.19.12 (18-11-2025)
- Added support for configuring extra environment variables through the `env_vars` option.
## 3.19.11
- Avoid blank config.json when using config.yaml

View File

@@ -92,6 +92,6 @@ verbose: "false"
This addon supports custom scripts and environment variables through the `addon_config` mapping:
- **Custom scripts**: See [Running Custom Scripts in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Running-custom-scripts-in-Addons)
- **Environment variables**: See [Add Environment Variables to your Addon](https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon)
- **Environment variables**: Use the add-on `env_vars` option and see [Add Environment Variables to your Addon](https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon) for details.
[repository]: https://github.com/alexbelgium/hassio-addons

View File

@@ -12,10 +12,14 @@ map:
- addon_config:rw
name: Repository Updater
options:
env_vars: []
gitapi: gitapi
gituser: gituser
repository: alexbelgium/hassio-addons
schema:
env_vars:
- name: match(^[A-Za-z0-9_]+$)
value: str?
dry_run: bool?
gitapi: str
gitmail: str?
@@ -25,4 +29,4 @@ schema:
slug: updater
udev: true
url: https://github.com/alexbelgium/hassio-addons/tree/master/addons_updater
version: "3.19.11"
version: "3.19.12"