mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
charts: changes validationFailureAction default value (#7411)
* charts: changes validationFailureAction default value Signed-off-by: hejianpeng <hejianpeng2@huawei.com> * fix helm docs Signed-off-by: hejianpeng <hejianpeng2@huawei.com> --------- Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
This commit is contained in:
parent
c013ccbc65
commit
424b98a747
2 changed files with 3 additions and 3 deletions
|
@ -69,7 +69,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||||
| includeOtherPolicies | list | `[]` | Additional policies to include from `other`. |
|
| includeOtherPolicies | list | `[]` | Additional policies to include from `other`. |
|
||||||
| includeRestrictedPolicies | list | `[]` | Additional policies to include from `restricted`. |
|
| includeRestrictedPolicies | list | `[]` | Additional policies to include from `restricted`. |
|
||||||
| failurePolicy | string | `"Fail"` | API server behavior if the webhook fails to respond ('Ignore', 'Fail') For more info: https://kyverno.io/docs/writing-policies/policy-settings/ |
|
| failurePolicy | string | `"Fail"` | API server behavior if the webhook fails to respond ('Ignore', 'Fail') For more info: https://kyverno.io/docs/writing-policies/policy-settings/ |
|
||||||
| validationFailureAction | string | `"audit"` | Validation failure action (`audit`, `enforce`). For more info https://kyverno.io/docs/writing-policies/validate. |
|
| validationFailureAction | string | `"Audit"` | Validation failure action (`Audit`, `Enforce`). For more info https://kyverno.io/docs/writing-policies/validate. |
|
||||||
| validationFailureActionByPolicy | object | `{}` | Define validationFailureActionByPolicy for specific policies. Override the defined `validationFailureAction` with a individual validationFailureAction for individual Policies. |
|
| validationFailureActionByPolicy | object | `{}` | Define validationFailureActionByPolicy for specific policies. Override the defined `validationFailureAction` with a individual validationFailureAction for individual Policies. |
|
||||||
| validationFailureActionOverrides | object | `{"all":[]}` | Define validationFailureActionOverrides for specific policies. The overrides for `all` will apply to all policies. |
|
| validationFailureActionOverrides | object | `{"all":[]}` | Define validationFailureActionOverrides for specific policies. The overrides for `all` will apply to all policies. |
|
||||||
| policyExclude | object | `{}` | Exclude resources from individual policies. Policies with multiple rules can have individual rules excluded by using the name of the rule as the key in the `policyExclude` map. |
|
| policyExclude | object | `{}` | Exclude resources from individual policies. Policies with multiple rules can have individual rules excluded by using the name of the rule as the key in the `policyExclude` map. |
|
||||||
|
|
|
@ -20,9 +20,9 @@ includeRestrictedPolicies: []
|
||||||
# For more info: https://kyverno.io/docs/writing-policies/policy-settings/
|
# For more info: https://kyverno.io/docs/writing-policies/policy-settings/
|
||||||
failurePolicy: Fail
|
failurePolicy: Fail
|
||||||
|
|
||||||
# -- Validation failure action (`audit`, `enforce`).
|
# -- Validation failure action (`Audit`, `Enforce`).
|
||||||
# For more info https://kyverno.io/docs/writing-policies/validate.
|
# For more info https://kyverno.io/docs/writing-policies/validate.
|
||||||
validationFailureAction: audit
|
validationFailureAction: Audit
|
||||||
|
|
||||||
# -- Define validationFailureActionByPolicy for specific policies.
|
# -- Define validationFailureActionByPolicy for specific policies.
|
||||||
# Override the defined `validationFailureAction` with a individual validationFailureAction for individual Policies.
|
# Override the defined `validationFailureAction` with a individual validationFailureAction for individual Policies.
|
||||||
|
|
Loading…
Add table
Reference in a new issue