From a375b5260f91c2a388fd11d6ba53f84d49cf7039 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 8 Jul 2024 17:56:08 -0400 Subject: [PATCH] converted config file from json to yaml --- PBS-Client/config.json | 45 --------------------------------------- PBS-Client/config.yaml | 48 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 45 deletions(-) delete mode 100644 PBS-Client/config.json create mode 100644 PBS-Client/config.yaml diff --git a/PBS-Client/config.json b/PBS-Client/config.json deleted file mode 100644 index 4925335..0000000 --- a/PBS-Client/config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "PBS-Client", - "version": "20240708.32", - "slug": "pbs-client", - "description": "Proxmox Backup Client", - "url": "https://git.johnhgaunt.com/jgaunt/hassio-addons/src/branch/master/PBS-Client", - "arch": ["amd64", "aarch64"], - "startup": "application", - "boot": "manual", - "host_network": false, - "tmpfs": true, - "map": ["config", "backup:rw", "ssl", "addons", "share"], - "options": { - "backup_id": "", - "pbs_host": "", - "pbs_port": "8007", - "pbs_fingerprint": "", - "username": "", - "password": "", - "auth": "", - "datastore": "", - "namespace": "", - "days_to_keep": "14", - "include": [ - "/addons", - "/backup", - "/config", - "/share", - "/ssl" - ] - }, - "schema": { - "backup_id": "str?", - "username": "str", - "password": "str", - "datastore": "str", - "pbs_host": "str", - "pbs_port": "int", - "pbs_fingerprint": "str", - "auth": "list(pam|pbs)", - "namespace": "str?", - "days_to_keep": "int", - "include": ["match(^\/)"] - } -} \ No newline at end of file diff --git a/PBS-Client/config.yaml b/PBS-Client/config.yaml new file mode 100644 index 0000000..7b2fa03 --- /dev/null +++ b/PBS-Client/config.yaml @@ -0,0 +1,48 @@ +name: PBS-Client +version: '20240708.33' +slug: pbs-client +description: Proxmox Backup Client +url: https://git.johnhgaunt.com/jgaunt/hassio-addons/src/branch/master/PBS-Client +arch: + - amd64 + - aarch64 +startup: application +boot: manual +host_network: false +tmpfs: true +map: + - config + - backup:rw + - ssl + - addons + - share +options: + backup_id: '' + pbs_host: '' + pbs_port: '8007' + pbs_fingerprint: '' + username: '' + password: '' + auth: '' + datastore: '' + namespace: '' + days_to_keep: '14' + include: + - "/addons" + - "/backup" + - "/config" + - "/share" + - "/ssl" +schema: + backup_id: str? + username: str + password: str + datastore: str + pbs_host: str + pbs_port: int + pbs_fingerprint: str + auth: list(pam|pbs) + namespace: str? + days_to_keep: int + include: + - match(^/)