Skip to content

Commit d25ab55

Browse files
authoredAug 29, 2024··
Merge pull request #160 from meshery/leecalcote/chore/subType-alias
Update relationship schema with additional relationship types
2 parents c1754b6 + 8718145 commit d25ab55

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
 

‎schemas/constructs/v1alpha3/relationship.json

+34
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,40 @@
458458
"description": "Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability.",
459459
"type": "string",
460460
"pattern": "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$",
461+
"oneOf": [
462+
{
463+
"const": "inventory",
464+
"description": "A hierarchical inventory relationship in which the configuration of (parent) component is patched with the configuration of other (child) component. Eg: The configuration of the EnvoyFilter (parent) component is patched with the configuration as received from WASMFilter (child) component."
465+
},
466+
{
467+
"const": "matchLabels",
468+
"description": "Match label relationships offer a dynamic association between one or more components and are a flexible way to group and manage related components in Meshery."
469+
},
470+
{
471+
"const": "permission",
472+
"description": "A relationship that represents a set of security-centric bindings between components."
473+
},
474+
{
475+
"const": "network",
476+
"description": "A relationship that represents a line of communication between two or more components."
477+
},
478+
{
479+
"const": "firewall",
480+
"description": "A relationship that act as a network-based security boundary for ingress and egress traffic."
481+
},
482+
{
483+
"const": "mount",
484+
"description": "A relationship that represents volume mounts between components."
485+
},
486+
{
487+
"const": "alias",
488+
"description": "An alias for a field path in another component."
489+
},
490+
{
491+
"const": "annotation",
492+
"description": "A relationship that provide valuable context for users, controllers, and third-party tools within the Meshery ecosystem."
493+
}
494+
],
461495
"x-oapi-codegen-extra-tags": {
462496
"yaml": "subType",
463497
"json": "subType"

0 commit comments

Comments
 (0)
Please sign in to comment.