You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/reference/using-api/cel.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,8 +59,8 @@ Example CEL expressions:
59
59
|`self.metadata.name == 'singleton'`| Validate that an object's name matches a specific value (making it a singleton) |
60
60
|`self.set1.all(e, !(e in self.set2))`| Validate that two listSets are disjoint |
61
61
|`self.names.size() == self.details.size() && self.names.all(n, n in self.details)`| Validate the 'details' map is keyed by the items in the 'names' listSet |
62
-
|`self.details.all(key, key.matches('^[a-zA-Z]*$')`| Validate the keys of the 'details' map |
63
-
|`self.details.all(key, self.details[key].matches('^[a-zA-Z]*$')`| Validate the values of the 'details' map |
62
+
|`self.details.all(key, key.matches('^[a-zA-Z]*$'))`| Validate the keys of the 'details' map |
63
+
|`self.details.all(key, self.details[key].matches('^[a-zA-Z]*$'))`| Validate the values of the 'details' map |
0 commit comments