Skip to content

Commit

Permalink
Clarify that audit annotations are independent of validationActions
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbetz committed Feb 9, 2023
1 parent 6a22177 commit e7fe237
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keps/sig-api-machinery/3488-cel-admission-control/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,9 @@ spec:
`auditAnnotations` are independent of `validations`. A `ValidatingAdmissionPolicy`
may contain only `validations`, only `auditAnnotations` or both.

Auudit annotations are recorded regardless of whether a
ValidatingAdmissionPolicyBinding's `validationActions` include `Audit`.

The published annotation key will be of the form `<ValidatingPolicyDefinition
name>/<auditAnnotation key>` and will be validated as a
[QualifiedName](https://github.com/kubernetes/kubernetes/blob/dfa4143086bf504c6c72d5eee8a2210b8ed41b9a/staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go#L43).
Expand Down

0 comments on commit e7fe237

Please sign in to comment.