converted config file from json to yaml

This commit is contained in:
2024-07-08 17:56:08 -04:00
parent 33f8c73bfc
commit a375b5260f
2 changed files with 48 additions and 45 deletions

View File

@@ -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(^\/)"]
}
}

48
PBS-Client/config.yaml Normal file
View File

@@ -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(^/)