🎉 Release of add-on Cloudflared 2.0.0

This commit is contained in:
Brenner-Bot
2022-05-16 11:31:35 +00:00
parent bb9d3c9255
commit 7ffe7e29e2
5 changed files with 48 additions and 13 deletions
+3 -3
View File
@@ -86,10 +86,10 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
[addon-cloudflared]: https://github.com/brenner-tobias/addon-cloudflared/tree/v1.0.5
[addon-doc-cloudflared]: https://github.com/brenner-tobias/addon-cloudflared/blob/v1.0.5/README.md
[addon-cloudflared]: https://github.com/brenner-tobias/addon-cloudflared/tree/v2.0.0
[addon-doc-cloudflared]: https://github.com/brenner-tobias/addon-cloudflared/blob/v2.0.0/README.md
[cloudflared-issue]: https://github.com/brenner-tobias/addon-cloudflared/issues
[cloudflared-version-shield]: https://img.shields.io/badge/version-v1.0.5-blue.svg
[cloudflared-version-shield]: https://img.shields.io/badge/version-v2.0.0-blue.svg
[cloudflared-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[cloudflared-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
[cloudflared-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
+11 -5
View File
@@ -1,11 +1,17 @@
## Whats changed
- ️ Update Cloudflared to version 2022.5.0 @github-actions (#88)
## 📚 Documentation
## 🚨 New functionality
We now support the use of remotely set up tunnels with this add-on.
Take a look at the [documentation](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/#set-up-a-tunnel-remotely-dashboard-setup) to see if the new feature is for you and if you want to migrate your tunnel to the new functionality. The current set up process (local managed tunnel) is still fully supported by this add-on. **The update has no effect on existing configurations.**
- Add translations to Add-on configuration page @elcajon (#87)
## 🚀 Enhancements
- Add remote managed tunnel functionality: The new function allows to use remote managed Cloudflare tunnel with this add-on. @elcajon (#95)
## ⬆️ Dependency updates
- Update yq from 4.14.1-r0 to 4.14.1-r1 @elcajon (#85)
- Bump docker/setup-buildx-action from 1.6.0 to 1.7.0 @dependabot (#84)
- Update Cloudflared to version 2022.5.1 @github-actions (#96)
- Bump docker/login-action from 1.14.1 to 2.0.0 @dependabot (#92)
- Bump docker/setup-buildx-action from 1.7.0 to 2.0.0 @dependabot (#91)
- Bump docker/build-push-action from 2.10.0 to 3.0.0 @dependabot (#90)
- Bump docker/setup-qemu-action from 1.2.0 to 2.0.0 @dependabot (#89)
+23 -1
View File
@@ -40,8 +40,9 @@ and a manual step at the first set-up.
1. If you don't yet have a working Cloudflare set-up:
Get a domain name and set-up Cloudflare. See section
[Domain Name and Cloudlfare Set-Up](#domain-name-and-cloudlfare-set-up) for details.
1. **Decide whether to use a [local or managed tunnel][addon-remote-or-local].**
### Initial Add-on Setup
### Initial Add-on Setup for local tunnels
The following instructions describe the minimum necessary steps to use this add-on:
@@ -76,6 +77,7 @@ Please check the index below for further information.
- [`log_level`](#option-log_level)
- [`reset_cloudflared_files`](#option-reset_cloudflared_files)
- [`warp_reset`](#option-warp_reset)
- [`tunnel_token`](#option-tunnel_token)
### Overview: Add-on Configuration
@@ -307,6 +309,22 @@ warp_routes:
address spaces (RFC 191), you need to adapt the
[Split Tunnel][cloudflared-route-st] configuration._
### Option: `tunnel_token`
If you created a Cloudflare Tunnel from the Zero Trust Dashboard, you can provide
your tunnel token to connect to your remote managed tunnel.
Keep in mind, when using this option, that you need to configure all
hosts (including Home Assistant) by yourself.
Set `tunnel_token` to your [tunnel token][create-remote-managed-tunnel],
all other configuration will be ignored. After starting the addon, check the
logs to see whether everything went as expected.
Check out [this how-to][addon-remote-tunnel] to get a step by step
guide on how to set up a remote managed tunnel with this add-on.
Please note that you still have to add the `http` integration settings to your
HA-config as described [here](#configurationyaml).
### Option: `log_level`
The `log_level` option controls the level of log output by the addon and can
@@ -436,3 +454,7 @@ SOFTWARE.
[cloudflared-ingress]: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/configuration-file/ingress
[cloudflared-route]: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/private-net/
[cloudflared-route-st]: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/private-net#optional-ensure-that-traffic-can-reach-your-network
[remote-managed-tunnel]: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/#set-up-a-tunnel-remotely-dashboard-setup
[create-remote-managed-tunnel]: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/#1-create-a-tunnel
[addon-remote-tunnel]: ../docs/remote-tunnel.md
[addon-remote-or-local]: ../docs/tunnels.md
+6 -4
View File
@@ -18,8 +18,9 @@ map:
name: Cloudflared
options:
additional_hosts: []
external_hostname: null
external_hostname: ''
tunnel_name: homeassistant
tunnel_token: ''
schema:
additional_hosts:
- disableChunkedEncoding: bool?
@@ -28,16 +29,17 @@ schema:
catch_all_service: str?
custom_config: bool?
data_folder: list(config|share|ssl)?
external_hostname: str
external_hostname: str?
log_level: list(trace|debug|info|notice|warning|error|fatal)?
nginx_proxy_manager: bool?
quick_tunnel: bool?
reset_cloudflared_files: bool?
tunnel_name: str
tunnel_name: str?
tunnel_token: str?
warp_enable: bool?
warp_reset: bool?
warp_routes:
- str?
slug: cloudflared
url: https://github.com/brenner-tobias/addon-cloudflared/
version: 1.0.5
version: 2.0.0
+5
View File
@@ -63,3 +63,8 @@ configuration:
description: >-
When enabled, the Cloudflare Warp related add-on configuration will
be resetted upon next add-on start.
tunnel_token:
name: Cloudflare Tunnel Token
description: >-
When set all other options will be ignored. Use this option if you set up
the tunnel with the Cloudflare Dashboard.