Restrict regex validation of HTTP status codes for Ingress CRD resources

This commit is contained in:
Jesper Noordsij 2025-04-08 09:38:04 +02:00 committed by GitHub
parent 405be420c9
commit bb8dfa568a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -1250,7 +1250,7 @@ spec:
as ranges by separating two codes with a dash (500-599),
or a combination of the two (404,418,500-599).
items:
pattern: ^([0-5][0-9]{2}[,-]?)+$
pattern: ^([1-5][0-9]{2}[,-]?)+$
type: string
type: array
statusRewrites: