1
0
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:
Nutmos
2025-12-24 22:12:05 +08:00
committed by GitHub
parent 11651486ce
commit 6a92553ec0
21 changed files with 41 additions and 33 deletions

View File

@@ -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": {

View File

@@ -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: {