From 265834de9dbe540cf0f9947f9c16a94368e1d6b9 Mon Sep 17 00:00:00 2001 From: Jerred Shepherd Date: Mon, 23 Dec 2024 12:13:53 -0800 Subject: [PATCH] fix: try secret selector --- cdk8s/src/apps/prometheus.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cdk8s/src/apps/prometheus.ts b/cdk8s/src/apps/prometheus.ts index aaf76b3a..9ae12ea7 100644 --- a/cdk8s/src/apps/prometheus.ts +++ b/cdk8s/src/apps/prometheus.ts @@ -55,7 +55,10 @@ export function createPrometheusApp(chart: Chart) { name: "discord", // https://prometheus.io/docs/alerting/latest/configuration/#discord_config discord_configs: [{ - webhook_url: discordWebhook.name + ".password", + api_url: { + secret: discordWebhook.name, + key: "password", + }, }], }, ],