From 928fc5ad4355eb684e66b27f1210c19e029a8f26 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 4 Nov 2021 21:11:56 +0100 Subject: [PATCH] Migrate JSON config to YAML (#156) --- home-panel/build.json | 9 --------- home-panel/build.yaml | 7 +++++++ home-panel/config.json | 30 ------------------------------ home-panel/config.yaml | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 home-panel/build.json create mode 100644 home-panel/build.yaml delete mode 100644 home-panel/config.json create mode 100644 home-panel/config.yaml diff --git a/home-panel/build.json b/home-panel/build.json deleted file mode 100644 index e55dc95..0000000 --- a/home-panel/build.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "build_from": { - "aarch64": "ghcr.io/hassio-addons/base/aarch64:10.1.0", - "amd64": "ghcr.io/hassio-addons/base/amd64:10.1.0", - "armhf": "ghcr.io/hassio-addons/base/armhf:10.1.0", - "armv7": "ghcr.io/hassio-addons/base/armv7:10.1.0", - "i386": "ghcr.io/hassio-addons/base/i386:10.1.0" - } -} diff --git a/home-panel/build.yaml b/home-panel/build.yaml new file mode 100644 index 0000000..4fe7c07 --- /dev/null +++ b/home-panel/build.yaml @@ -0,0 +1,7 @@ +--- +build_from: + aarch64: ghcr.io/hassio-addons/base/aarch64:10.1.0 + amd64: ghcr.io/hassio-addons/base/amd64:10.1.0 + armhf: ghcr.io/hassio-addons/base/armhf:10.1.0 + armv7: ghcr.io/hassio-addons/base/armv7:10.1.0 + i386: ghcr.io/hassio-addons/base/i386:10.1.0 diff --git a/home-panel/config.json b/home-panel/config.json deleted file mode 100644 index da8bdfe..0000000 --- a/home-panel/config.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "Home Panel", - "version": "dev", - "slug": "home-panel", - "description": "A web frontend for controlling the home", - "url": "https://github.com/hassio-addons/addon-home-panel", - "arch": ["aarch64", "amd64", "armhf", "armv7", "i386"], - "init": false, - "ingress": true, - "ingress_stream": true, - "panel_icon": "mdi:home", - "ports": { - "80/tcp": null - }, - "ports_description": { - "80/tcp": "Web UI (Not required for Ingress)" - }, - "map": ["config:rw", "ssl"], - "options": { - "ssl": true, - "certfile": "fullchain.pem", - "keyfile": "privkey.pem" - }, - "schema": { - "log_level": "list(trace|debug|info|notice|warning|error|fatal)?", - "ssl": "bool", - "certfile": "str", - "keyfile": "str" - } -} diff --git a/home-panel/config.yaml b/home-panel/config.yaml new file mode 100644 index 0000000..56bec40 --- /dev/null +++ b/home-panel/config.yaml @@ -0,0 +1,32 @@ +--- +name: Home Panel +version: dev +slug: home-panel +description: A web frontend for controlling the home +url: https://github.com/hassio-addons/addon-home-panel +arch: + - aarch64 + - amd64 + - armhf + - armv7 + - i386 +init: false +ingress: true +ingress_stream: true +panel_icon: mdi:home +ports: + 80/tcp: null +ports_description: + 80/tcp: Web UI (Not required for Ingress) +map: + - config:rw + - ssl +options: + ssl: true + certfile: fullchain.pem + keyfile: privkey.pem +schema: + log_level: list(trace|debug|info|notice|warning|error|fatal)? + ssl: bool + certfile: str + keyfile: str