From 888e1cf218b76b30394e96e8f6c24c2932db96df Mon Sep 17 00:00:00 2001 From: serboctor Date: Tue, 20 Dec 2022 11:38:58 +0200 Subject: [PATCH] Update docs/policy.md --- docs/policy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/policy.md b/docs/policy.md index 44256506..694cf226 100644 --- a/docs/policy.md +++ b/docs/policy.md @@ -26,7 +26,7 @@ Tenant policies has a special tag `tenancy`. Starting from version `v2.2.0`, the policy agent will support mutating resources. -To enable mutating resouruces. Policies must have field `mutate` set to `true` and the rego code should return the `violating_key` and the `recommended_value` in the violation response. The mutation webhook will use the `violating_key` and `recommended_value` to mutate the resource and return the new mutated resource. +To enable mutating resources policies must have field `mutate` set to `true` and the rego code should return the `violating_key` and the `recommended_value` in the violation response. The mutation webhook will use the `violating_key` and `recommended_value` to mutate the resource and return the new mutated resource. Example