diff --git a/config/app.ts b/config/app.ts deleted file mode 100644 index 02c7bdfb4..000000000 --- a/config/app.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { App } from 'cdk8s'; - -import { ArgoSemaphore } from './charts/argo.semaphores'; -import { FluentBit } from './charts/fluentbit'; - -const app = new App(); - -async function main(): Promise { - new ArgoSemaphore(app, 'semaphore', {}); - new FluentBit(app, 'fluentbit', {}); - - app.synth(); -} - -main(); diff --git a/config/cdk8s.ts b/config/cdk8s.ts index 395051ae2..b5173734f 100644 --- a/config/cdk8s.ts +++ b/config/cdk8s.ts @@ -1,10 +1,10 @@ import { App } from 'cdk8s'; import { ArgoSemaphore } from './charts/argo.semaphores'; +import { FluentBit } from './charts/fluentbit'; import { Karpenter, KarpenterProvisioner } from './charts/karpenter'; import { CoreDns } from './charts/kube-system.coredns'; -import { CfnOutputKeys } from './constants'; -import { CLUSTER_NAME } from './constants'; +import { CLUSTER_NAME, CfnOutputKeys } from './constants'; import { getCfnOutputs } from './util/cloud.formation'; const app = new App(); @@ -18,6 +18,7 @@ async function main(): Promise { } new ArgoSemaphore(app, 'semaphore', {}); + new FluentBit(app, 'fluentbit', {}); new CoreDns(app, 'Dns', {}); const karpenter = new Karpenter(app, 'karpenter', {