1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 15:46:31 +01:00

Merge pull request #8153 from simonpasquier/fix-8152

fix: fix Pushover HTML in Alertmanager configuration
This commit is contained in:
Simon Pasquier
2025-12-09 17:11:08 +01:00
committed by GitHub
4 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
## 0.87.1 / 2025-12-09
* [BUGFIX] Fix the generated Alertmanager configuration for `html` and `monospace` fields of `pushoverConfig` receiver in AlertmanagerConfig CRD. #8153
## 0.87.0 / 2025-11-20
* [FEATURE] Add status subresource for `PrometheusRule` custom resources (requires the `StatusForConfigurationResources` feature gate). #8069 #8086 #8024 #8005

View File

@@ -1283,6 +1283,8 @@ func (cb *ConfigBuilder) convertPushoverConfig(ctx context.Context, in monitorin
URL: in.URL,
URLTitle: in.URLTitle,
Priority: in.Priority,
HTML: in.HTML,
Monospace: in.Monospace,
}
if in.TTL != nil {

View File

@@ -2919,6 +2919,7 @@ func TestGenerateConfig(t *testing.T) {
},
Retry: "5m",
Expire: "30s",
HTML: ptr.To(true),
}},
}},
},

View File

@@ -13,4 +13,5 @@ receivers:
token: tokenSecret
retry: 5m
expire: 30s
html: true
templates: []