We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee01061 commit 44edc94Copy full SHA for 44edc94
src/commands/setup/configs.ts
@@ -525,7 +525,7 @@ export default class SetupConfigs extends Command {
525
const balanceCheckerConfigFilePath = path.join(targetDir, "balance-checker-config.yaml");
526
const addedAlertRules = this.generateAlertRules(balanceCheckerConfigFilePath);
527
const existingContent = fs.readFileSync(scrollMonitorProductionFilePath, 'utf8');
528
- const existingYaml = yaml.load(existingContent) as any;
+ const existingYaml = yaml.load(existingContent) as any;
529
existingYaml["kube-prometheus-stack"].additionalPrometheusRules = addedAlertRules;
530
fs.writeFileSync(scrollMonitorProductionFilePath, yaml.dump(existingYaml, { indent: 2 }));
531
}
0 commit comments