From effff1b54e5e6cd31f48862a148ba3466ce6e659 Mon Sep 17 00:00:00 2001 From: MUzairS15 Date: Tue, 10 Sep 2024 15:52:15 +0530 Subject: [PATCH] disable container relationship Signed-off-by: MUzairS15 --- .../k8s-resources-to-container.json | 103 ------------------ 1 file changed, 103 deletions(-) delete mode 100644 server/meshmodel/kubernetes/v1.25.2/v1.0.0/relationships/k8s-resources-to-container.json diff --git a/server/meshmodel/kubernetes/v1.25.2/v1.0.0/relationships/k8s-resources-to-container.json b/server/meshmodel/kubernetes/v1.25.2/v1.0.0/relationships/k8s-resources-to-container.json deleted file mode 100644 index 3d165c6bdc0..00000000000 --- a/server/meshmodel/kubernetes/v1.25.2/v1.0.0/relationships/k8s-resources-to-container.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "schemaVersion": "relationships.meshery.io/v1alpha3", - "version": "v1.0.0", - "kind": "hierarchical", - "type": "parent", - "subType": "alias", - "metadata": { - "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." - }, - "model": { - "schemaVersion": "models.meshery.io/v1beta1", - "version": "v1.0.0", - "name": "kubernetes", - "registrant": { - "kind": "artifacthub" - }, - "model": { - "version": "v1.25.2" - }, - "displayName": "Kubernetes", - "category": { - "name": "Orchestration \u0026 Management", - "metadata": null - }, - "metadata": {} - }, - "status": "enabled", - "selectors": [ - { - "allow": { - "from": [ - { - "kind": "Container", - "model": { - "name": "meshery-core", - "registrant": { - "kind": "meshery" - } - }, - "patch": { - "patchStrategy": "replace", - "mutatorRef": [ - [ - "configuration", - "spec" - ] - ], - "description": "Containers contain the configuration for the application that is to be run. They include environment variables, ports, and other configuration." - } - } - ], - "to": [ - { - "kind": "Pod", - "model": { - "name": "kubernetes", - "registrant": { - "kind": "artifacthub" - } - }, - "patch": { - "patchStrategy": "replace", - "mutatedRef": [ - [ - "configuration", - "spec", - "containers" - ] - ], - "description": "Pods contains the configuration for one or more containers." - } - }, - { - "kind": "Deployment", - "model": { - "name": "kubernetes", - "registrant": { - "kind": "artifacthub" - } - }, - "patch": { - "patchStrategy": "replace", - "mutatedRef": [ - [ - "configuration", - "spec", - "template", - "spec", - "containers" - ] - ], - "description": "Deployment contains pod template, which is used to define the desired state of pods which runs the application." - } - } - ] - }, - "deny": { - "from": [], - "to": [] - } - } - ] -} \ No newline at end of file