This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
generated from meshery/meshery-adapter-template
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Patterns] Pattern components generated from latest OSM manifests
Signed-off-by: l5io <ci@layer5.io>
- Loading branch information
1 parent
f314e65
commit 49d5aaf
Showing
16 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
templates/meshmodel/components/v1.2.3/egress.OSM.meshery.layer5.io_meshmodel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"kind":"Egress","apiVersion":"policy.openservicemesh.io/v1alpha1","display-name":"Egress","format":"JSON","metadata":{},"model":{"name":"OPEN_SERVICE_MESH","version":"v1.2.3","display-name":"OPEN_SERVICE_MESH","category":"Orchestration \u0026 Management","sub-category":"Service Mesh"},"schema":"{\n \"properties\": {\n \"hosts\": {\n \"description\": \"Hosts that the sources are allowed to direct external traffic to.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"ipAddresses\": {\n \"description\": \"IP address ranges that the sources are allowed to direct external traffic to.\",\n \"items\": {\n \"pattern\": \"((?:\\\\d{1,3}\\\\.){3}\\\\d{1,3})\\\\/(\\\\d{1,2})$\",\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"matches\": {\n \"description\": \"The resource references an Egress policy should match on.\",\n \"items\": {\n \"properties\": {\n \"apiGroup\": {\n \"description\": \"API group for the resource being referenced.\",\n \"type\": \"string\"\n },\n \"kind\": {\n \"description\": \"Type of resource being referenced.\",\n \"type\": \"string\"\n },\n \"name\": {\n \"description\": \"Name of resource being referenced.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"apiGroup\",\n \"kind\",\n \"name\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"ports\": {\n \"description\": \"Ports that the sources are allowed to direct external traffic to.\",\n \"items\": {\n \"properties\": {\n \"number\": {\n \"description\": \"Port number of this port.\",\n \"maximum\": 65535,\n \"minimum\": 1,\n \"type\": \"integer\"\n },\n \"protocol\": {\n \"description\": \"Protocol served by this port.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"number\",\n \"protocol\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"sources\": {\n \"description\": \"Sources the egress policy is applicable to.\",\n \"items\": {\n \"properties\": {\n \"kind\": {\n \"description\": \"Kind of this source.\",\n \"enum\": [\n \"ServiceAccount\"\n ],\n \"type\": \"string\"\n },\n \"name\": {\n \"description\": \"Name of this source.\",\n \"type\": \"string\"\n },\n \"namespace\": {\n \"description\": \"Namespace of this source.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"kind\",\n \"name\",\n \"namespace\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"sources\",\n \"ports\"\n ],\n \"title\": \"Egress\",\n \"type\": \"object\"\n}"} |
1 change: 1 addition & 0 deletions
1
templates/meshmodel/components/v1.2.3/extensionservice.OSM.meshery.layer5.io_meshmodel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"kind":"ExtensionService","apiVersion":"config.openservicemesh.io/v1alpha2","display-name":"Extension Service","format":"JSON","metadata":{},"model":{"name":"OPEN_SERVICE_MESH","version":"v1.2.3","display-name":"OPEN_SERVICE_MESH","category":"Orchestration \u0026 Management","sub-category":"Service Mesh"},"schema":"{\n \"properties\": {\n \"connectTimeout\": {\n \"description\": \"Timeout for connecting to the service.\",\n \"type\": \"string\"\n },\n \"host\": {\n \"description\": \"Hostname of the service.\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"port\": {\n \"description\": \"Port of the service.\",\n \"maximum\": 65535,\n \"minimum\": 1,\n \"type\": \"integer\"\n },\n \"protocol\": {\n \"description\": \"Protocol of the service.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"host\",\n \"port\"\n ],\n \"title\": \"Extension Service\",\n \"type\": \"object\"\n}"} |
1 change: 1 addition & 0 deletions
1
templates/meshmodel/components/v1.2.3/httproutegroup.OSM.meshery.layer5.io_meshmodel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"kind":"HTTPRouteGroup","apiVersion":"specs.smi-spec.io/v1alpha4","display-name":"HTTP Route Group","format":"JSON","metadata":{},"model":{"name":"OPEN_SERVICE_MESH","version":"v1.2.3","display-name":"OPEN_SERVICE_MESH","category":"Orchestration \u0026 Management","sub-category":"Service Mesh"},"schema":"{\n \"properties\": {\n \"matches\": {\n \"description\": \"Match conditions of this route group.\",\n \"items\": {\n \"properties\": {\n \"headers\": {\n \"description\": \"Header match conditions of this route.\",\n \"items\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"description\": \"Header match condition of this route.\",\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"methods\": {\n \"description\": \"The HTTP methods of this HTTP route.\",\n \"items\": {\n \"description\": \"The HTTP method of this HTTP route.\",\n \"enum\": [\n \"*\",\n \"GET\",\n \"HEAD\",\n \"PUT\",\n \"POST\",\n \"DELETE\",\n \"CONNECT\",\n \"OPTIONS\",\n \"TRACE\",\n \"PATCH\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"name\": {\n \"description\": \"Name of the HTTP route.\",\n \"type\": \"string\"\n },\n \"pathRegex\": {\n \"description\": \"URI path regex of the HTTP route.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"matches\"\n ],\n \"title\": \"HTTP Route Group\",\n \"type\": \"object\"\n}"} |
1 change: 1 addition & 0 deletions
1
templates/meshmodel/components/v1.2.3/ingressbackend.OSM.meshery.layer5.io_meshmodel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"kind":"IngressBackend","apiVersion":"policy.openservicemesh.io/v1alpha1","display-name":"Ingress Backend","format":"JSON","metadata":{},"model":{"name":"OPEN_SERVICE_MESH","version":"v1.2.3","display-name":"OPEN_SERVICE_MESH","category":"Orchestration \u0026 Management","sub-category":"Service Mesh"},"schema":"{\n \"properties\": {\n \"backends\": {\n \"description\": \"Backends the IngressBackend policy is applicable to.\",\n \"items\": {\n \"properties\": {\n \"name\": {\n \"description\": \"Name of the backend.\",\n \"type\": \"string\"\n },\n \"port\": {\n \"description\": \"Port of the backend.\",\n \"properties\": {\n \"number\": {\n \"description\": \"Port number of this port.\",\n \"maximum\": 65535,\n \"minimum\": 1,\n \"type\": \"integer\"\n },\n \"protocol\": {\n \"description\": \"Protocol served by this port.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"number\",\n \"protocol\"\n ],\n \"type\": \"object\"\n },\n \"tls\": {\n \"description\": \"TLS configuration for the backend.\",\n \"properties\": {\n \"skipClientCertValidation\": {\n \"description\": \"Skip client certificate validation.\",\n \"type\": \"boolean\"\n },\n \"sniHosts\": {\n \"description\": \"SNI hosts allowed by the backend.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"skipClientCertValidation\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"name\",\n \"port\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"matches\": {\n \"description\": \"The resource references an IngressBackend policy should match on.\",\n \"items\": {\n \"properties\": {\n \"apiGroup\": {\n \"description\": \"API group for the resource being referenced.\",\n \"type\": \"string\"\n },\n \"kind\": {\n \"description\": \"Type of resource being referenced.\",\n \"type\": \"string\"\n },\n \"name\": {\n \"description\": \"Name of resource being referenced.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"apiGroup\",\n \"kind\",\n \"name\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"sources\": {\n \"description\": \"Sources the IngressBackend policy is applicable to.\",\n \"items\": {\n \"properties\": {\n \"kind\": {\n \"description\": \"Kind of this source.\",\n \"type\": \"string\"\n },\n \"name\": {\n \"description\": \"Name of this source.\",\n \"type\": \"string\"\n },\n \"namespace\": {\n \"description\": \"Namespace of this source.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"kind\",\n \"name\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"backends\",\n \"sources\"\n ],\n \"title\": \"Ingress Backend\",\n \"type\": \"object\"\n}"} |
Oops, something went wrong.