41 lines
915 B
YAML
41 lines
915 B
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ConnectorTemplate",
|
|
"metadata": {
|
|
"name": "Unraid Default",
|
|
"slug": "unraid-default"
|
|
},
|
|
"spec": {
|
|
"connectorType": "unraid",
|
|
"image": "local-build://connector-unraid",
|
|
"transport": "streamable-http",
|
|
"credentialReferences": [
|
|
"service-identity://docker-read-broker"
|
|
],
|
|
"allowedNetworkTargets": [
|
|
"service://docker-read-broker"
|
|
],
|
|
"configuration": {
|
|
"readOnly": true,
|
|
"allowedBrokerRoutes": [
|
|
"/v1/host",
|
|
"/v1/storage",
|
|
"/v1/containers",
|
|
"/v1/containers/{registered_id}",
|
|
"/v1/containers/{registered_id}/logs",
|
|
"/v1/networks"
|
|
],
|
|
"maxLogLines": 500
|
|
},
|
|
"health": {
|
|
"path": "/health/ready",
|
|
"intervalSeconds": 30,
|
|
"failureThreshold": 3
|
|
},
|
|
"defaultRiskClasses": [
|
|
"R0",
|
|
"R1"
|
|
]
|
|
}
|
|
}
|