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:
@@ -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"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user