Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relationship between Adopted Resources with other aws-prometheusservice-controller components. #10494

@@ -0,0 +1,55 @@
{
"apiVersion": "core.meshery.io/v1alpha1",
"kind": "Hierarchical",
"metdata": {
"description": "Hierarchical"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"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": {
"name": "aws-prometheusservice-controller",
"version": "*",
"displayName": "AWS Managed Service for Prometheus",
"category": {
"name": "Observability and Analysis",
"metadata": null
},
"metadata": {}
},
"subType": "Inventory",
"evaluationQuery": "heirarchical_inventory_relationship",
"selectors": [
{
"allow": {
"from": [
{
"kind": "Pod",
"model": "Kubernetes",
"patch": {
"patchStrategy": "replace",
"mutatorRef": [["type"], ["name"], ["namespace"]],
"description": "Within the AWS Controllers for Kubernetes (ACK) project, the `AdoptedResource` serves a specific purpose: integrating existing, non-ACK-managed AWS resources into your Kubernetes cluster. `AdoptedResource` bridges the gap between pre-existing AWS resources and your Kubernetes cluster, fostering a more unified management experience. \n\nThis relationship allows the `AdoptedResource` configuration to be inherited from existing Kubernetes Pods."
}
}
],
"to": [
{
"kind": "AdoptedResource",
"model": "aws-prometheusservice-controller",
"patch": {
"patchStrategy": "replace",
"mutatorRef": [
RipulHandoo marked this conversation as resolved.
Show resolved Hide resolved
["settings", "spec", "kubernetes", "kind"],
["settings", "spec", "kubernetes", "metadata", "name"],
["settings", "spec", "kubernetes", "metadata", "namespace"]
],
"description": "Within the AWS Controllers for Kubernetes (ACK) project, the `AdoptedResource` serves a specific purpose: integrating existing, non-ACK-managed AWS resources into your Kubernetes cluster. `AdoptedResource` bridges the gap between pre-existing AWS resources and your Kubernetes cluster, fostering a more unified management experience. \n\nThis relationship allows the `AdoptedResource` configuration to be inherited from existing Kubernetes Pods."
}
}
]
},
"deny": {
"from": [],
"to": []
}
}
]
}