mirror of https://github.com/knative/docs.git
[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:
parent
9913e8e2d9
commit
e481d13501
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue