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: keps/sig-api-machinery/3488-cel-admission-control/README.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1043,6 +1043,7 @@ The enum options will be:
1043
1043
- `warn`: Validation failures are reported as warnings to the client. (xref: [Admisssion Webhook Warnings](https://kubernetes.io/blog/2020/09/03/warnings/#admission-webhooks))
1044
1044
- `audit`: Validation failures are published as audit events (see below Audit
1045
1045
Annotations section for details).
1046
+
- `log`: The apiserver handling the admission request logs the validation failure.
1046
1047
1047
1048
Systems that need to aggregate validation failures may implement an [audit
1048
1049
webhook
@@ -1075,11 +1076,16 @@ This enables the following use cases:
1075
1076
1076
1077
Future work:
1077
1078
1078
-
ValidatingAdmissionPolicy resources might, in the future, add a `warnings` field
1079
-
adjacent to the `validations` and `auditAnnotations` fields to declare
1080
-
expressions only ever result in warnings. This would allow
1081
-
ValidatingAdmissionPolicy authors to declare a expression as non-enforcing
1082
-
regardless of `validationActions`.
1079
+
- ValidatingAdmissionPolicy resources might, in the future, add a `warnings`
1080
+
field adjacent to the `validations` and `auditAnnotations` fields to declare
1081
+
expressions only ever result in warnings. This would allow
1082
+
ValidatingAdmissionPolicy authors to declare a expression as non-enforcing
1083
+
regardless of `validationActions`.
1084
+
1085
+
- ValidatingAdmissionPolicy resources, might, in the future, offer per-expression
1086
+
enforcement actions (instead of a separate `warnings` field) and combine these
1087
+
enforcement actions with the ValidatingAdmissionPolicyBinding enforcement action
0 commit comments