posh-providers/kubernets/kubeforward/config.schema.json
2025-09-19 16:29:28 +02:00

46 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/foomo/posh-providers/kubernetes/kubeforward",
"$ref": "#/$defs/Config",
"$defs": {
"Config": {
"additionalProperties": {
"$ref": "#/$defs/PortForward"
},
"type": "object"
},
"PortForward": {
"properties": {
"cluster": {
"type": "string",
"description": "Target cluster"
},
"namespace": {
"type": "string",
"description": "Target namespace"
},
"description": {
"type": "string",
"description": "Optional description"
},
"target": {
"type": "string",
"description": "Target name"
},
"port": {
"type": "string",
"description": "Target and host port mapping"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"cluster",
"namespace",
"description",
"target",
"port"
]
}
}
}