mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 06:45:27 +01:00
Feat: Add URL validation for Webhook receiver (#8125)
* update to url type * update generated files * update e2e test cases * trigger ci * update url validation method * trigger ci * validation: update validation method make the url validation shorter
This commit is contained in:
@@ -10177,6 +10177,7 @@
|
||||
},
|
||||
"url": {
|
||||
"description": "url defines the URL to send HTTP POST requests to.\nurlSecret takes precedence over url. One of urlSecret and url should be defined.",
|
||||
"pattern": "^https?://.+$",
|
||||
"type": "string"
|
||||
},
|
||||
"urlSecret": {
|
||||
|
||||
@@ -9940,6 +9940,7 @@
|
||||
},
|
||||
url: {
|
||||
description: 'url defines the URL to send HTTP POST requests to.\nurlSecret takes precedence over url. One of urlSecret and url should be defined.',
|
||||
pattern: '^https?://.+$',
|
||||
type: 'string',
|
||||
},
|
||||
urlSecret: {
|
||||
|
||||
Reference in New Issue
Block a user