35dd771f63
Deploy cloudhost-logging on cluster registration, ship app and optional service logs to ES with owner isolation, and fix Kibana 8.12 auth via kibana_system. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
655 B
TypeScript
19 lines
655 B
TypeScript
import { Module, forwardRef } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { ClustersService } from './clusters.service';
|
|
import { ClustersController } from './clusters.controller';
|
|
import { Cluster } from './entities/cluster.entity';
|
|
import { ClusterPool } from './entities/cluster-pool.entity';
|
|
import { KubernetesModule } from '../kubernetes/kubernetes.module';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([Cluster, ClusterPool]),
|
|
forwardRef(() => KubernetesModule),
|
|
],
|
|
controllers: [ClustersController],
|
|
providers: [ClustersService],
|
|
exports: [ClustersService],
|
|
})
|
|
export class ClustersModule {}
|