Migrate JSON config to YAML

This commit is contained in:
Franck Nijhof 2021-11-10 21:16:40 +01:00
parent 10e9283d5f
commit 617073c9f7
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
4 changed files with 29 additions and 30 deletions

View file

@ -1,7 +0,0 @@
{
"build_from": {
"aarch64": "ghcr.io/hassio-addons/base/aarch64:10.0.1",
"amd64": "ghcr.io/hassio-addons/base/amd64:10.0.1",
"armv7": "ghcr.io/hassio-addons/base/armv7:10.0.1"
}
}

5
prometheus/build.yaml Normal file
View file

@ -0,0 +1,5 @@
---
build_from:
aarch64: ghcr.io/hassio-addons/base/aarch64:10.0.1
amd64: ghcr.io/hassio-addons/base/amd64:10.0.1
armv7: ghcr.io/hassio-addons/base/armv7:10.0.1

View file

@ -1,23 +0,0 @@
{
"name": "Prometheus",
"version": "dev",
"slug": "prometheus",
"description": "Cloud native metrics",
"url": "https://github.com/hassio-addons/addon-prometheus",
"startup": "services",
"ingress": true,
"ingress_port": 9090,
"ingress_entry": "graph",
"panel_icon": "mdi:chart-timeline",
"panel_title": "Prometheus",
"arch": ["aarch64", "amd64", "armv7"],
"hassio_api": true,
"homeassistant_api": true,
"map": ["share:rw"],
"ports": {
"9090/tcp": null
},
"ports_description": {
"9090/tcp": "Not required for Ingress"
}
}

24
prometheus/config.yaml Normal file
View file

@ -0,0 +1,24 @@
---
name: Prometheus
version: dev
slug: prometheus
description: Cloud native metrics
url: https://github.com/hassio-addons/addon-prometheus
startup: services
ingress: true
ingress_port: 9090
ingress_entry: graph
panel_icon: mdi:chart-timeline
panel_title: Prometheus
arch:
- aarch64
- amd64
- armv7
hassio_api: true
homeassistant_api: true
map:
- share:rw
ports:
9090/tcp: null
ports_description:
9090/tcp: Not required for Ingress