{"id": "2aa761d3-cd30-419a-a441-2f042934116f", "name": "service-to-deployment-network", "version": "0.0.2", "metadata": {"resolvedAliases": {"cadad307-e39e-449d-bd7c-d3cf6a0b536e": {"relationship_id": "c7b6e9fa-4443-4010-bd41-35958a4f6277", "alias_component_id": "cadad307-e39e-449d-bd7c-d3cf6a0b536e", "resolved_parent_id": "20b9e320-8329-4804-ab5c-3da8c620cac5", "immediate_parent_id": "20b9e320-8329-4804-ab5c-3da8c620cac5", "resolved_ref_field_path": ["configuration", "spec", "template", "spec", "containers", "0"], "immediate_ref_field_path": ["configuration", "spec", "template", "spec", "containers", "0"]}}}, "components": [{"id": "cadad307-e39e-449d-bd7c-d3cf6a0b536e", "format": "JSON", "status": "enabled", "styles": {"shape": "circle", "svgColor": "ui/public/static/img/meshmodels/meshery-core/color/container-color.svg", "svgWhite": "ui/public/static/img/meshmodels/meshery-core/white/container-white.svg", "svgComplete": "", "primaryColor": "#326CE5", "secondaryColor": "#00D3A9"}, "version": "v1.0.0", "metadata": {"genealogy": "", "published": false, "isAnnotation": true, "isNamespaced": false, "instanceDetails": null, "hasInvalidSchema": true, "configurationUISchema": ""}, "component": {"kind": "Container", "schema": "", "version": "core.meshery.io/v1alpha1"}, "description": "", "displayName": "containers.0", "capabilities": null, "configuration": null, "schemaVersion": "components.meshery.io/v1beta1", "modelReference": {"id": "00000000-0000-0000-0000-000000000000", "name": "meshery-core", "model": {"version": "0.7.2"}, "version": "v1.0.0", "registrant": {"kind": "meshery"}, "displayName": "Meshery Core"}}, {"id": "cf638c51-7108-4a84-9db8-5eea9f61a3b7", "format": "JSON", "status": "enabled", "styles": {"shape": "rectangle", "width": 80, "height": 80, "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/namespace-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/namespace-white.svg", "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/namespace-complete.svg", "border-style": "dashed", "border-width": 2, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "background-image": "none", "background-opacity": 0.5}, "version": "v1.0.0", "metadata": {"genealogy": "parent", "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3", "isAnnotation": false, "isNamespaced": true, "instanceDetails": null, "configurationUISchema": ""}, "component": {"kind": "Namespace", "schema": "", "version": "v1"}, "description": "", "displayName": "default", "capabilities": null, "configuration": null, "schemaVersion": "components.meshery.io/v1beta1", "modelReference": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": "v1.35.0-rc.0"}, "version": "v1.0.0", "registrant": {"kind": "github"}, "displayName": "Kubernetes"}}, {"id": "20b9e320-8329-4804-ab5c-3da8c620cac5", "format": "JSON", "status": "enabled", "styles": {"shape": "round-rectangle", "width": 24, "height": 24, "opacity": 1, "padding": 6, "z-index": 1, "position": {"x": 580, "y": 527}, "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/deployment-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/deployment-white.svg", "body-text": "", "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/deployment-complete.svg", "border-width": 2, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "body-text-color": "#808080", "background-image": "none", "background-opacity": 0.5, "body-text-font-size": 12, "body-text-font-weight": "400", "body-text-vertical-align": "center", "body-text-horizontal-align": "center"}, "version": "v1.0.0", "metadata": {"genealogy": "parent", "published": false, "isAnnotation": false, "isNamespaced": true, "instanceDetails": null, "configurationUISchema": ""}, "component": {"kind": "Deployment", "schema": "", "version": "apps/v1"}, "description": "", "displayName": "deployment-di", "capabilities": null, "configuration": {"spec": {"selector": {"matchLabels": {"app": "meshery"}}, "template": {"spec": {"containers": [{"env": [], "args": [], "name": "", "ports": [{"protocol": "TCP", "containerPort": 8080}], "command": [], "envFrom": [], "resizePolicy": [], "volumeMounts": [], "volumeDevices": [], "restartPolicyRules": []}]}}}, "metadata": {"namespace": "default"}}, "schemaVersion": "components.meshery.io/v1beta1", "modelReference": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": "v1.35.0-rc.0"}, "version": "v1.0.0", "registrant": {"kind": "github"}, "displayName": "Kubernetes"}}, {"id": "9dc01b8b-5cae-44b0-b8d7-c27da5f7c1b8", "format": "JSON", "status": "enabled", "styles": {"shape": "round-triangle", "width": 20, "height": 20, "opacity": 1, "padding": 12, "z-index": 0, "position": {"x": 444, "y": 528}, "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/service-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/service-white.svg", "body-text": "", "svgComplete": "", "border-width": 0, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "body-text-color": "#808080", "background-opacity": 1, "body-text-font-size": 12, "background-position-y": "4.5", "body-text-font-weight": "400", "body-text-vertical-align": "center", "body-text-horizontal-align": "center"}, "version": "v1.0.0", "metadata": {"genealogy": "", "published": false, "isAnnotation": false, "isNamespaced": true, "instanceDetails": null, "configurationUISchema": ""}, "component": {"kind": "Service", "schema": "", "version": "v1"}, "description": "", "displayName": "service-nh", "capabilities": null, "configuration": {"spec": {"ports": [{"name": "http", "port": 8080, "protocol": "TCP", "targetPort": 8080}], "selector": {"app": "meshery"}}, "metadata": {"namespace": "default"}}, "schemaVersion": "components.meshery.io/v1beta1", "modelReference": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": "v1.35.0-rc.0"}, "version": "v1.0.0", "registrant": {"kind": "github"}, "displayName": "Kubernetes"}}], "relationships": [{"id": "0329f755-588d-47e6-9db5-254909c713c8", "kind": "hierarchical", "type": "parent", "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": "v1.35.0-rc.0"}, "version": "v1.0.0", "registrant": {"kind": "github"}, "displayName": "Kubernetes"}, "status": "approved", "subType": "inventory", "version": "v1.0.0", "metadata": {"styles": {"svgColor": "", "svgWhite": "", "primaryColor": ""}, "description": "Namespace to namespaced components", "isAnnotation": false}, "selectors": [{"allow": {"to": [{"id": "cf638c51-7108-4a84-9db8-5eea9f61a3b7", "kind": "Namespace", "match": {}, "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": ""}, "version": "", "registrant": {"kind": "github"}, "displayName": ""}, "patch": {"mutatorRef": [["displayName"]], "patchStrategy": "replace"}, "match_strategy_matrix": null}], "from": [{"id": "9dc01b8b-5cae-44b0-b8d7-c27da5f7c1b8", "kind": "*", "match": {}, "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "*", "model": {"version": ""}, "version": "", "registrant": {"kind": ""}, "displayName": ""}, "patch": {"mutatedRef": [["configuration", "metadata", "namespace"]], "patchStrategy": "replace"}, "match_strategy_matrix": null}]}}], "schemaVersion": "relationships.meshery.io/v1alpha3", "evaluationQuery": ""}, {"id": "b23c7cf2-5d99-4fce-8e10-f490dbdff49f", "kind": "edge", "type": "non-binding", "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": "v1.35.0-rc.0"}, "version": "v1.0.0", "registrant": {"kind": "github"}, "displayName": "Kubernetes"}, "status": "approved", "subType": "network", "version": "v1.0.0", "metadata": {"styles": {"svgColor": "", "svgWhite": "", "primaryColor": ""}, "description": "A relationship that defines network edges between components", "isAnnotation": false}, "selectors": [{"deny": {"to": null, "from": null}, "allow": {"to": [{"id": "20b9e320-8329-4804-ab5c-3da8c620cac5", "kind": "Deployment", "match": {}, "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": ""}, "version": "", "registrant": {"kind": "github"}, "displayName": ""}, "patch": {"mutatedRef": [["configuration", "spec", "selector", "matchLabels"], ["configuration", "spec", "template", "spec", "containers", "0", "ports", "0", "containerPort"], ["configuration", "spec", "template", "spec", "containers", "0", "ports", "0", "protocol"]], "patchStrategy": "replace"}, "match_strategy_matrix": null}], "from": [{"id": "9dc01b8b-5cae-44b0-b8d7-c27da5f7c1b8", "kind": "Service", "match": {}, "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": ""}, "version": "", "registrant": {"kind": "github"}, "displayName": ""}, "patch": {"mutatorRef": [["configuration", "spec", "selector"], ["configuration", "spec", "ports", "0", "targetPort"], ["configuration", "spec", "ports", "0", "protocol"]], "patchStrategy": "replace"}, "match_strategy_matrix": [["to_contains_from", "not_null"], ["equal_as_strings", "not_null"], ["equal"]]}]}}], "schemaVersion": "relationships.meshery.io/v1alpha3", "evaluationQuery": ""}, {"id": "c7b6e9fa-4443-4010-bd41-35958a4f6277", "kind": "hierarchical", "type": "parent", "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": "v1.35.0-rc.0"}, "version": "v1.0.0", "registrant": {"kind": "github"}, "displayName": "Kubernetes"}, "status": "approved", "subType": "alias", "version": "v1.0.0", "metadata": {"styles": {"svgColor": "", "svgWhite": "", "primaryColor": ""}, "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.", "isAnnotation": false}, "selectors": [{"deny": {"to": null, "from": null}, "allow": {"to": [{"id": "20b9e320-8329-4804-ab5c-3da8c620cac5", "kind": "Deployment", "match": {}, "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": ""}, "version": "", "registrant": {"kind": "github"}, "displayName": ""}, "patch": {"mutatedRef": [["configuration", "spec", "template", "spec", "containers", "0"]], "mutatorRef": [["configuration", "spec", "template", "spec", "containers", "0"]], "patchStrategy": "replace"}, "match_strategy_matrix": null}], "from": [{"id": "cadad307-e39e-449d-bd7c-d3cf6a0b536e", "kind": "Container", "match": {}, "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "meshery-core", "model": {"version": ""}, "version": "", "registrant": {"kind": "github"}, "displayName": ""}, "patch": {"mutatedRef": [["configuration", "spec", "template", "spec", "containers", "0"]], "mutatorRef": [["configuration", "spec", "template", "spec", "containers", "0"]], "patchStrategy": "replace"}, "match_strategy_matrix": null}]}}], "schemaVersion": "relationships.meshery.io/v1alpha3", "evaluationQuery": ""}, {"id": "da3034be-f608-4dfc-985f-b1df380150ae", "kind": "hierarchical", "type": "parent", "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": "v1.35.0-rc.0"}, "version": "v1.0.0", "registrant": {"kind": "github"}, "displayName": "Kubernetes"}, "status": "approved", "subType": "inventory", "version": "v1.0.0", "metadata": {"styles": {"svgColor": "", "svgWhite": "", "primaryColor": ""}, "description": "Namespace to namespaced components", "isAnnotation": false}, "selectors": [{"allow": {"to": [{"id": "cf638c51-7108-4a84-9db8-5eea9f61a3b7", "kind": "Namespace", "match": {}, "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "kubernetes", "model": {"version": ""}, "version": "", "registrant": {"kind": "github"}, "displayName": ""}, "patch": {"mutatorRef": [["displayName"]], "patchStrategy": "replace"}, "match_strategy_matrix": null}], "from": [{"id": "20b9e320-8329-4804-ab5c-3da8c620cac5", "kind": "*", "match": {}, "model": {"id": "00000000-0000-0000-0000-000000000000", "name": "*", "model": {"version": ""}, "version": "", "registrant": {"kind": ""}, "displayName": ""}, "patch": {"mutatedRef": [["configuration", "metadata", "namespace"]], "patchStrategy": "replace"}, "match_strategy_matrix": null}]}}], "schemaVersion": "relationships.meshery.io/v1alpha3", "evaluationQuery": ""}], "schemaVersion": "designs.meshery.io/v1beta1"}