Skip to content

Commit e7fe237

Browse files
committed
Clarify that audit annotations are independent of validationActions
1 parent 6a22177 commit e7fe237

File tree

1 file changed

+3
-0
lines changed
  • keps/sig-api-machinery/3488-cel-admission-control

1 file changed

+3
-0
lines changed

keps/sig-api-machinery/3488-cel-admission-control/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,6 +1115,9 @@ spec:
11151115
`auditAnnotations` are independent of `validations`. A `ValidatingAdmissionPolicy`
11161116
may contain only `validations`, only `auditAnnotations` or both.
11171117

1118+
Auudit annotations are recorded regardless of whether a
1119+
ValidatingAdmissionPolicyBinding's `validationActions` include `Audit`.
1120+
11181121
The published annotation key will be of the form `<ValidatingPolicyDefinition
11191122
name>/<auditAnnotation key>` and will be validated as a
11201123
[QualifiedName](https://github.com/kubernetes/kubernetes/blob/dfa4143086bf504c6c72d5eee8a2210b8ed41b9a/staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go#L43).

0 commit comments

Comments
 (0)