Files
hassio-addons/netmaker/config.yaml
Savant Coder 8c21a378ad Fix schema: allow empty optional interface/firewall values
Optional match()?/list()? validators reject empty string, which is the
default value, blocking add-on start. Use regexes that accept empty OR valid.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 14:18:16 -04:00

47 lines
954 B
YAML

---
name: Netmaker
version: dev
slug: netmaker
description: Join your Home Assistant instance to a Netmaker WireGuard network
url: https://github.com/hassio-addons/app-netmaker
image: gitea.savant.io/homeassistant/netmaker
startup: services
panel_icon: mdi:lan-connect
arch:
- aarch64
- amd64
init: false
hassio_api: true
host_network: true
privileged:
- NET_ADMIN
- NET_RAW
devices:
- /dev/net/tun
map:
- type: homeassistant_config
read_only: false
path: /config
- type: share
read_only: false
ports:
51821/udp: null
options:
enrollment_token: ""
log_level: info
host_name: ""
port: 0
interface: ""
endpoint: ""
endpoint6: ""
firewall: ""
schema:
enrollment_token: str
log_level: list(trace|debug|info|notice|warning|error|fatal)
host_name: str?
port: int(0,65535)?
interface: "match(^(?:netmaker[a-zA-Z0-9_-]*)?$)?"
endpoint: str?
endpoint6: str?
firewall: "match(^(?:iptables|nftables)?$)?"