1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00

fix: allow templated URLs in PagerDuty config fields

Change ClientURL and Href fields in PagerDutyConfig, PagerDutyImageConfig,
and PagerDutyLinkConfig from *URL to *string to support Go templates.

Related-to #8315

Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
This commit is contained in:
Jayapriya Pai
2026-01-23 22:49:42 +05:30
parent d4b0f495dc
commit 7376128340
22 changed files with 75 additions and 115 deletions

View File

@@ -3437,7 +3437,6 @@
},
"clientURL": {
"description": "clientURL defines the backlink to the sender of notification.",
"pattern": "^https?://.+$",
"type": "string"
},
"component": {
@@ -4132,7 +4131,6 @@
},
"href": {
"description": "href defines the optional URL; makes the image a clickable link.",
"pattern": "^https?://.+$",
"type": "string"
},
"src": {
@@ -4158,7 +4156,6 @@
},
"href": {
"description": "href defines the URL of the link to be attached",
"pattern": "^https?://.+$",
"type": "string"
}
},

View File

@@ -3265,7 +3265,6 @@
},
clientURL: {
description: 'clientURL defines the backlink to the sender of notification.',
pattern: '^https?://.+$',
type: 'string',
},
component: {
@@ -3957,7 +3956,6 @@
},
href: {
description: 'href defines the optional URL; makes the image a clickable link.',
pattern: '^https?://.+$',
type: 'string',
},
src: {
@@ -3983,7 +3981,6 @@
},
href: {
description: 'href defines the URL of the link to be attached',
pattern: '^https?://.+$',
type: 'string',
},
},