Restrict regex validation of HTTP status codes for Ingress CRD resources
This commit is contained in:
parent
405be420c9
commit
bb8dfa568a
4 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -481,7 +481,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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue