provisioning-code/.ncl-cache/1971789306bc7926ab3102683a69bffacff926e489bfc69f0433aae2772970ed.json

74 lines
2.1 KiB
JSON

{
"backup_manager": {
"concurrency": {
"max_parallel_backups": 4,
"max_parallel_per_destination": 2
},
"daemon_http_port": 9099,
"daemon_image": "ghcr.io/jesusperezlorenzo/backup-manager-runner:0.1.0",
"daemon_metrics_port": 9100,
"daemon_replicas": 1,
"host_install": {
"binary_path": "/usr/local/bin/prvng-backup",
"cron_dir": "/etc/cron.d",
"env_dir": "/etc/prvng-backup",
"systemd_dir": "/etc/systemd/system"
},
"mode": "cluster",
"mount_image": "ghcr.io/jesusperezlorenzo/backup-manager-mount:0.1.0",
"name": "backup-manager",
"namespace": "backup-system",
"nats_topology_ref": "infra/libre-wuji/backup-nats-topology.ncl",
"nats_url": "nats://nats.ops-system.svc.cluster.local:4222",
"operations": {
"delete": true,
"health": true,
"install": true,
"restart": true,
"update": true
},
"policies": {
"components_path": "infra/libre-wuji/components/*.ncl",
"groups_path": "infra/libre-wuji/backup-groups.ncl",
"nickel_import_path": "/opt/provisioning",
"system_backups_path": "infra/libre-wuji/system-backups.ncl",
"verify_recipes_path": "infra/libre-wuji/verify-recipes"
},
"provides": {
"endpoints": [
"/metrics",
"/api/v1/policy",
"/api/v1/queue"
],
"port": 9099,
"service": "backup-manager"
},
"requires": {
"credentials": [
"VAULT_BOOTSTRAP_TOKEN",
"NATS_BOOTSTRAP_NKEY_SEED",
"BACKUP_AGE_KEY",
"BACKUP_S3_PRIMARY_ACCESS_KEY",
"BACKUP_S3_PRIMARY_SECRET_KEY",
"BACKUP_B2_REPLICA_KEY_ID",
"BACKUP_B2_REPLICA_APPLICATION_KEY"
],
"ports": [
{
"exposure": "internal",
"port": 9099
},
{
"exposure": "internal",
"port": 9100
}
],
"storage": {
"persistent": true,
"size": "5Gi"
}
},
"vault_bootstrap_secret_ref": "backup-manager-bootstrap",
"vault_endpoint": "https://vault.libre-wuji.svc.cluster.local:8200"
}
}