Skip to content

Commit

Permalink
Merge branch 'main' of github.com:arunvthangaraj/cdk-aws-observabilit…
Browse files Browse the repository at this point in the history
…y-accelerator into feature/kubeflow-observability

Merge main
  • Loading branch information
arunvthangaraj committed Jun 13, 2024
2 parents a1e11fd + be840c3 commit 6e7d9ff
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/single-new-eks-opensource-observability-pattern/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,12 @@ export default class SingleNewEksOpenSourceobservabilityPattern {
"{{ stop enableAdotContainerLogsExporter }}",
jsonStringnew.context["adotcontainerlogs.pattern.enabled"]
);
console.log(doc);
doc = utils.changeTextBetweenTokens(
doc,
"{{ start kubecostJob }}",
"{{ stop kubecostJob }}",
false
);
fs.writeFileSync(__dirname + '/../common/resources/otel-collector-config-new.yml', doc);

if (utils.valueFromContext(scope, "adotcollectormetrics.pattern.enabled", false)) {
Expand Down Expand Up @@ -200,4 +205,4 @@ export default class SingleNewEksOpenSourceobservabilityPattern {
.addOns(...addOns)
.build(scope, stackId);
}
}
}

0 comments on commit 6e7d9ff

Please sign in to comment.