Skip to content

Commit 6b88c05

Browse files
committed
chore: document input
1 parent 8b81279 commit 6b88c05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Currently validation comes into two flavors:
1717
- Embedded OPA rules
1818
- Webhooks
1919

20+
## Input
21+
22+
The input for mutation and validation is the job data and the request metadata. See the [`types.Payload` struct](./admissionctrl/types/opa_payload.go) and its json representation for more details.
23+
2024
## Mutation
2125

2226
During the mutation phase the job data is modified by the configured mutators.

0 commit comments

Comments
 (0)