Skip to content

Commit

Permalink
fix: try secret selector
Browse files Browse the repository at this point in the history
  • Loading branch information
shepherdjerred committed Dec 23, 2024
1 parent bec4457 commit 265834d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cdk8s/src/apps/prometheus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}],
},
],
Expand Down

0 comments on commit 265834d

Please sign in to comment.