diff --git a/README.md b/README.md index 01f40f55..31cd04fe 100644 --- a/README.md +++ b/README.md @@ -921,10 +921,10 @@ SOFTWARE. [vscode-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg [vscode-armv7-shield]: https://img.shields.io/badge/armv7-no-red.svg [vscode-i386-shield]: https://img.shields.io/badge/i386-no-red.svg -[addon-tailscale]: https://github.com/hassio-addons/addon-tailscale/tree/v0.8.0 -[addon-doc-tailscale]: https://github.com/hassio-addons/addon-tailscale/blob/v0.8.0/README.md +[addon-tailscale]: https://github.com/hassio-addons/addon-tailscale/tree/v0.9.0 +[addon-doc-tailscale]: https://github.com/hassio-addons/addon-tailscale/blob/v0.9.0/README.md [tailscale-issue]: https://github.com/hassio-addons/addon-tailscale/issues -[tailscale-version-shield]: https://img.shields.io/badge/version-v0.8.0-blue.svg +[tailscale-version-shield]: https://img.shields.io/badge/version-v0.9.0-blue.svg [tailscale-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [tailscale-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg [tailscale-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg diff --git a/tailscale/CHANGELOG.md b/tailscale/CHANGELOG.md index 86f60290..9bf18f39 100644 --- a/tailscale/CHANGELOG.md +++ b/tailscale/CHANGELOG.md @@ -2,25 +2,19 @@ ## 🐛 Bug fixes -- Minor bugfixes @lmagyar ([#131](https://github.com/hassio-addons/addon-tailscale/pull/131)) +- 🐛 Bugfix in migrated S6 scripts @lmagyar ([#158](https://github.com/hassio-addons/addon-tailscale/pull/158)) ## 🚀 Enhancements -- 🔨 Migrate old-style S6 scripts to s6-rc.d @frenck ([#156](https://github.com/hassio-addons/addon-tailscale/pull/156)) +- 🚀 Advertise all supported interfaces as Tailscale Subnets @lmagyar ([#135](https://github.com/hassio-addons/addon-tailscale/pull/135)) +- 🚀 Suppress tailscaled logs after 200 lines @lmagyar ([#138](https://github.com/hassio-addons/addon-tailscale/pull/138)) -## 🧰 Maintenance +## 📚 Documentation -- Add Renovate for dependency management @frenck ([#145](https://github.com/hassio-addons/addon-tailscale/pull/145)) -- 🎆 Updates maintenance/license year to 2023 @frenck ([#155](https://github.com/hassio-addons/addon-tailscale/pull/155)) +- 📚 Fix broken URL @wrt54g ([#159](https://github.com/hassio-addons/addon-tailscale/pull/159)) ## ⬆️ Dependency updates -- ⬆️ Upgrade nginx to 1.22.0-r1 @jeffothy ([#109](https://github.com/hassio-addons/addon-tailscale/pull/109)) -- ⬆️ Upgrade Tailscale to 1.30.1 @jeffothy ([#108](https://github.com/hassio-addons/addon-tailscale/pull/108)) -- ⬆️ Update Add-on base image to v13 (major) @renovate ([#153](https://github.com/hassio-addons/addon-tailscale/pull/153)) -- ⬆️ Update alpine_3_17/ip6tables to v1.8.8-r2 @renovate ([#146](https://github.com/hassio-addons/addon-tailscale/pull/146)) -- ⬆️ Update alpine_3_17/iproute2 to v6 @renovate ([#154](https://github.com/hassio-addons/addon-tailscale/pull/154)) -- ⬆️ Update alpine_3_17/ipcalc to v1.0.1-r1 @renovate ([#147](https://github.com/hassio-addons/addon-tailscale/pull/147)) -- ⬆️ Update alpine_3_17/nginx to v1.22.1-r0 @renovate ([#151](https://github.com/hassio-addons/addon-tailscale/pull/151)) -- ⬆️ Update alpine_3_17/iptables to v1.8.8-r2 @renovate ([#149](https://github.com/hassio-addons/addon-tailscale/pull/149)) -- ⬆️ Update tailscale/tailscale to v1.38.2 @renovate ([#152](https://github.com/hassio-addons/addon-tailscale/pull/152)) +- ⬆️ Update Add-on base image to v13.1.5 @renovate ([#160](https://github.com/hassio-addons/addon-tailscale/pull/160)) +- ⬆️ Update tailscale/tailscale to v1.38.3 @renovate ([#161](https://github.com/hassio-addons/addon-tailscale/pull/161)) +- ⬆️ Update Add-on base image to v13.2.0 @renovate ([#163](https://github.com/hassio-addons/addon-tailscale/pull/163)) diff --git a/tailscale/DOCS.md b/tailscale/DOCS.md index 207b68c4..319594e4 100644 --- a/tailscale/DOCS.md +++ b/tailscale/DOCS.md @@ -49,12 +49,13 @@ network right from their interface. The add-on exposes "Exit Node" capabilities that you can enable from your Tailscale account. Additionally, if the Supervisor managed your network ( which is the default), the add-on will also advertise routes to your -subnet to Tailscale. +subnets on all supported interfaces to Tailscale. ```yaml tags: - tag:example - tag:homeassistant +log_level: info ``` ### Option: `tags` @@ -64,6 +65,28 @@ instance. They need to start with `tag:`. More information: +### Option: `log_level` + +Optionally enable tailscaled debug messages in the add-on's log. Turn it on only +in case you are troubleshooting, because Tailscale's daemon is quite chatty. + +The `log_level` option controls the level of log output by the addon and can +be changed to be more or less verbose, which might be useful when you are +dealing with an unknown issue. Possible values are: + +- `trace`: Show every detail, like all called internal functions. +- `debug`: Shows detailed debug information. +- `info`: Normal (usually) interesting events. +- `notice`: Normal but significant events. +- `warning`: Exceptional occurrences that are not errors. +- `error`: Runtime errors that do not require immediate action. +- `fatal`: Something went terribly wrong. Add-on becomes unusable. + +Please note that each level automatically includes log messages from a +more severe level, e.g., `debug` also shows `info` messages. By default, +the `log_level` is set to `info`, which is the recommended setting unless +you are troubleshooting. + ## Changelog & Releases This repository keeps a change log using [GitHub's releases][releases] @@ -133,4 +156,4 @@ SOFTWARE. [issue]: https://github.com/hassio-addons/addon-tailscale/issues [reddit]: https://reddit.com/r/homeassistant [releases]: https://github.com/hassio-addons/addon-tailscale/releases -[semver]: http://semver.org/spec/v2.0.0.htm +[semver]: https://semver.org/spec/v2.0.0.html diff --git a/tailscale/README.md b/tailscale/README.md index 86e1cd71..663b4ef3 100644 --- a/tailscale/README.md +++ b/tailscale/README.md @@ -45,5 +45,5 @@ If you are more interested in stable releases of our add-ons: [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg -[release-shield]: https://img.shields.io/badge/version-v0.8.0-blue.svg -[release]: https://github.com/hassio-addons/addon-tailscale/tree/v0.8.0 \ No newline at end of file +[release-shield]: https://img.shields.io/badge/version-v0.9.0-blue.svg +[release]: https://github.com/hassio-addons/addon-tailscale/tree/v0.9.0 \ No newline at end of file diff --git a/tailscale/config.yaml b/tailscale/config.yaml index ba946976..0893555b 100644 --- a/tailscale/config.yaml +++ b/tailscale/config.yaml @@ -1,5 +1,5 @@ name: Tailscale -version: 0.8.0 +version: 0.9.0 slug: tailscale description: Zero config VPN for building secure networks url: https://github.com/hassio-addons/addon-tailscale @@ -25,4 +25,5 @@ host_network: true schema: tags: - match(^tag:[a-zA-Z0-9]-?[a-zA-Z0-9]+$)? + log_level: list(trace|debug|info|notice|warning|error|fatal)? image: ghcr.io/hassio-addons/tailscale/{arch}