1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-30 19:35:06 +00:00

Add returnType for regexMatch in kyverno jp output (#3575)

Signed-off-by: tend2infinity <somu12.ss@gmail.coom>

Co-authored-by: tend2infinity <somu12.ss@gmail.coom>
This commit is contained in:
Soumya Singh 2022-04-11 13:04:14 +05:30 committed by GitHub
parent 3d554ce53b
commit 84aa2e3fbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -212,6 +212,7 @@ func GetFunctions() []*FunctionEntry {
},
Handler: jpRegexMatch,
},
ReturnType: []JpType{JpBool},
},
{
Entry: &gojmespath.FunctionEntry{Name: patternMatch,