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,54 @@
{
"apiVersion": "core.meshery.io/v1alpha1",
"kind": "Hierarchical",
"metdata": {
"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": "AdoptedResource",
"model": "aws-prometheusservice-controller",
"patch": {
"patchStrategy": "replace",
"mutatorRef": [
["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."
}
}
],
"to": [
{
"kind": "Pod",
"model": "Kubernetes",
"patch": {
"patchStrategy": "replace",
"mutatedRef": [["type"], ["name"], ["namespace"]],
"description": "The pod, orchestrated by the AWS Prometheus Service Controller, efficiently manages adopted resources such as storage volumes and network configurations, ensuring seamless integration and optimal performance of Prometheus workloads within Kubernetes clusters on AWS."
}
}
]
},
"deny": {
"from": [],
"to": []
}
}
]
}