mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
feat: update schema
This commit is contained in:
parent
3c3b26fc13
commit
dcc3292be7
1
Makefile
1
Makefile
@ -39,6 +39,7 @@ schema:
|
||||
--resolve ./jondot/hygen/config.schema.json \
|
||||
--resolve ./k3d-io/k3d/config.schema.json \
|
||||
--resolve ./kubernets/kubectl/config.schema.json \
|
||||
--resolve ./kubernets/kubeforward/config.schema.json \
|
||||
--resolve ./onepassword/config.schema.json \
|
||||
--resolve ./pivotal/licensefinder/config.schema.json \
|
||||
--resolve ./pulumi/pulumi/azure/config.schema.json \
|
||||
|
||||
@ -108,6 +108,9 @@
|
||||
},
|
||||
"harbor": {
|
||||
"$ref": "https://github.com/foomo/posh-providers/goharbor/harbor/config"
|
||||
},
|
||||
"kubeforward": {
|
||||
"$ref": "https://github.com/foomo/posh-providers/kubernets/kubeforward/config"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
||||
@ -53,6 +53,9 @@
|
||||
"kubectl": {
|
||||
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1kubernets~1kubectl~1config"
|
||||
},
|
||||
"kubeforward": {
|
||||
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1kubernets~1kubeforward~1config"
|
||||
},
|
||||
"licensefinder": {
|
||||
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1pivotal~1licensefinder~1config"
|
||||
},
|
||||
@ -1188,6 +1191,51 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"https://github.com/foomo/posh-providers/kubernets/kubeforward/config": {
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1kubernets~1kubeforward~1config/$defs/Config",
|
||||
"$defs": {
|
||||
"Config": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1kubernets~1kubeforward~1config/$defs/PortForward"
|
||||
}
|
||||
},
|
||||
"PortForward": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"cluster",
|
||||
"namespace",
|
||||
"description",
|
||||
"target",
|
||||
"port"
|
||||
],
|
||||
"properties": {
|
||||
"description": {
|
||||
"description": "Optional description",
|
||||
"type": "string"
|
||||
},
|
||||
"cluster": {
|
||||
"description": "Target cluster",
|
||||
"type": "string"
|
||||
},
|
||||
"namespace": {
|
||||
"description": "Target namespace",
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"description": "Target and host port mapping",
|
||||
"type": "string"
|
||||
},
|
||||
"target": {
|
||||
"description": "Target name",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"https://github.com/foomo/posh-providers/onepassword/config": {
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1onepassword~1config/$defs/Config",
|
||||
|
||||
46
kubernets/kubeforward/config.schema.json
Normal file
46
kubernets/kubeforward/config.schema.json
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/foomo/posh-providers/kubernets/kubeforward/config",
|
||||
"$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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user