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
- labelSelector evaluation functions or other match evaluator functions ([original comment thread](https://github.com/kubernetes/enhancements/pull/3492#discussion_r981747317))
1226
-
- `string.format(string, list(dyn))`to make `messageExpression` more convenient.
1231
+
1232
+
To implement:
1233
+
1234
+
- `string.format` into CEL upstream ([tracking PR](https://github.com/google/cel-go/pull/617)) (TODO @DangerOnTheRanger: add tracking cel-go issue once available)
1227
1235
1228
1236
#### Audit Annotations
1229
1237
@@ -2872,7 +2880,7 @@ For example, to validate all containers:
2872
2880
validations:
2873
2881
- scope: "spec.containers[*]"
2874
2882
expression: "scope.name.startsWith('xyz-')"
2875
-
messageExpression: "scope.name + 'does not start with \'xyz\''"
2883
+
message: "scope.name does not start with 'xyz'"
2876
2884
```
2877
2885
2878
2886
To make it possible to access the path information in the scope, we can offer a
0 commit comments