Skip to content

Commit

Permalink
Add connections for recommendation (#531)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
  • Loading branch information
ArnobKumarSaha authored Jan 27, 2025
1 parent ebb7439 commit 3dc2cd2
Showing 1 changed file with 180 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -10,6 +10,26 @@ metadata:
name: supervisor.appscode.com-v1alpha1-recommendations
spec:
connections:
- labels:
- recommended_for
namespace:
path: metadata.namespace
references:
- '{.spec.target.name},{.metadata.namespace},{.spec.target.kind},{.spec.target.apiGroup}'
target:
apiVersion: kubedb.com/v1alpha2
kind: Druid
type: MatchRef
- labels:
- ops
namespace:
path: metadata.namespace
references:
- '{.spec.operation.metadata.name},{.spec.operation.metadata.namespace},{.spec.operation.kind},{.spec.operation.apiVersion}'
target:
apiVersion: kubedb.com/v1alpha1
kind: DruidOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
@@ -30,6 +50,46 @@ spec:
apiVersion: kubedb.com/v1alpha1
kind: ElasticsearchOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
path: metadata.namespace
references:
- '{.spec.target.name},{.metadata.namespace},{.spec.target.kind},{.spec.target.apiGroup}'
target:
apiVersion: kubedb.com/v1alpha2
kind: FerretDB
type: MatchRef
- labels:
- ops
namespace:
path: metadata.namespace
references:
- '{.spec.operation.metadata.name},{.spec.operation.metadata.namespace},{.spec.operation.kind},{.spec.operation.apiVersion}'
target:
apiVersion: kubedb.com/v1alpha1
kind: FerretDBOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
path: metadata.namespace
references:
- '{.spec.target.name},{.metadata.namespace},{.spec.target.kind},{.spec.target.apiGroup}'
target:
apiVersion: kubedb.com/v1
kind: Kafka
type: MatchRef
- labels:
- ops
namespace:
path: metadata.namespace
references:
- '{.spec.operation.metadata.name},{.spec.operation.metadata.namespace},{.spec.operation.kind},{.spec.operation.apiVersion}'
target:
apiVersion: kubedb.com/v1alpha1
kind: KafkaOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
@@ -90,6 +150,26 @@ spec:
apiVersion: kubedb.com/v1alpha1
kind: MongoDBOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
path: metadata.namespace
references:
- '{.spec.target.name},{.metadata.namespace},{.spec.target.kind},{.spec.target.apiGroup}'
target:
apiVersion: kubedb.com/v1alpha2
kind: MSSQLServer
type: MatchRef
- labels:
- ops
namespace:
path: metadata.namespace
references:
- '{.spec.operation.metadata.name},{.spec.operation.metadata.namespace},{.spec.operation.kind},{.spec.operation.apiVersion}'
target:
apiVersion: kubedb.com/v1alpha1
kind: MSSQLServerOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
@@ -150,6 +230,26 @@ spec:
apiVersion: kubedb.com/v1alpha1
kind: PgBouncerOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
path: metadata.namespace
references:
- '{.spec.target.name},{.metadata.namespace},{.spec.target.kind},{.spec.target.apiGroup}'
target:
apiVersion: kubedb.com/v1alpha2
kind: Pgpool
type: MatchRef
- labels:
- ops
namespace:
path: metadata.namespace
references:
- '{.spec.operation.metadata.name},{.spec.operation.metadata.namespace},{.spec.operation.kind},{.spec.operation.apiVersion}'
target:
apiVersion: kubedb.com/v1alpha1
kind: PgpoolOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
@@ -190,6 +290,26 @@ spec:
apiVersion: kubedb.com/v1alpha1
kind: ProxySQLOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
path: metadata.namespace
references:
- '{.spec.target.name},{.metadata.namespace},{.spec.target.kind},{.spec.target.apiGroup}'
target:
apiVersion: kubedb.com/v1alpha2
kind: RabbitMQ
type: MatchRef
- labels:
- ops
namespace:
path: metadata.namespace
references:
- '{.spec.operation.metadata.name},{.spec.operation.metadata.namespace},{.spec.operation.kind},{.spec.operation.apiVersion}'
target:
apiVersion: kubedb.com/v1alpha1
kind: RabbitMQOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
@@ -210,6 +330,66 @@ spec:
apiVersion: kubedb.com/v1alpha1
kind: RedisOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
path: metadata.namespace
references:
- '{.spec.target.name},{.metadata.namespace},{.spec.target.kind},{.spec.target.apiGroup}'
target:
apiVersion: kubedb.com/v1alpha2
kind: Singlestore
type: MatchRef
- labels:
- ops
namespace:
path: metadata.namespace
references:
- '{.spec.operation.metadata.name},{.spec.operation.metadata.namespace},{.spec.operation.kind},{.spec.operation.apiVersion}'
target:
apiVersion: kubedb.com/v1alpha1
kind: SinglestoreOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
path: metadata.namespace
references:
- '{.spec.target.name},{.metadata.namespace},{.spec.target.kind},{.spec.target.apiGroup}'
target:
apiVersion: kubedb.com/v1alpha2
kind: Solr
type: MatchRef
- labels:
- ops
namespace:
path: metadata.namespace
references:
- '{.spec.operation.metadata.name},{.spec.operation.metadata.namespace},{.spec.operation.kind},{.spec.operation.apiVersion}'
target:
apiVersion: kubedb.com/v1alpha1
kind: SolrOpsRequest
type: MatchRef
- labels:
- recommended_for
namespace:
path: metadata.namespace
references:
- '{.spec.target.name},{.metadata.namespace},{.spec.target.kind},{.spec.target.apiGroup}'
target:
apiVersion: kubedb.com/v1alpha2
kind: ZooKeeper
type: MatchRef
- labels:
- ops
namespace:
path: metadata.namespace
references:
- '{.spec.operation.metadata.name},{.spec.operation.metadata.namespace},{.spec.operation.kind},{.spec.operation.apiVersion}'
target:
apiVersion: kubedb.com/v1alpha1
kind: ZooKeeperOpsRequest
type: MatchRef
resource:
group: supervisor.appscode.com
kind: Recommendation

0 comments on commit 3dc2cd2

Please sign in to comment.