[release-1.9] Update NOT and CESQL which are not working (#5471)

* Update NOT and CESQL

`not` do not expect a list of filter it only expects only one filter

* remove traling white spaces

---------

Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
This commit is contained in:
Knative Prow Robot 2023-03-14 14:47:58 +00:00 committed by GitHub
parent 9913e8e2d9
commit e481d13501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -132,9 +132,9 @@ metadata:
spec:
...
filters:
- not:
- exact:
type: com.github.push
- not:
exact:
type: com.github.push
```
### `cesql`
@ -169,7 +169,7 @@ spec:
myextension: my-extension-value
# Enhanced filters field. This will override the old filter field.
filters:
- cesql: "type == 'dev.knative.foo.bar' AND myextension == 'my-extension-value'"
- cesql: "type = 'dev.knative.foo.bar' AND myextension = 'my-extension-value'"
subscriber:
ref:
apiVersion: serving.knative.dev/v1