1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

chore(helm): omit normal events by default (#9493)

* chore(helm): omit normal events by default

Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>

* fix(tests): fix tests related to events

Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>

---------

Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>
This commit is contained in:
Khaled Emara 2024-01-24 14:16:18 +02:00 committed by GitHub
parent 0b7a6a1e3e
commit 3ef598c155
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 4 deletions

View file

@ -327,7 +327,7 @@ The chart values are organised per component.
| features.generateValidatingAdmissionPolicy.enabled | bool | `false` | Enables the feature |
| features.logging.format | string | `"text"` | Logging format |
| features.logging.verbosity | int | `2` | Logging verbosity |
| features.omitEvents.eventTypes | list | `[]` | Events which should not be emitted (possible values `PolicyViolation`, `PolicyApplied`, `PolicyError`, and `PolicySkipped`) |
| features.omitEvents.eventTypes | list | `["PolicyApplied","PolicySkipped"]` | Events which should not be emitted (possible values `PolicyViolation`, `PolicyApplied`, `PolicyError`, and `PolicySkipped`) |
| features.policyExceptions.enabled | bool | `true` | Enables the feature |
| features.policyExceptions.namespace | string | `""` | Restrict policy exceptions to a single namespace |
| features.protectManagedResources.enabled | bool | `false` | Enables the feature |

View file

@ -601,11 +601,11 @@ features:
verbosity: 2
omitEvents:
# -- Events which should not be emitted (possible values `PolicyViolation`, `PolicyApplied`, `PolicyError`, and `PolicySkipped`)
eventTypes: []
eventTypes:
- PolicyApplied
- PolicySkipped
# - PolicyViolation
# - PolicyApplied
# - PolicyError
# - PolicySkipped
policyExceptions:
# -- Enables the feature
enabled: true

View file

@ -50395,6 +50395,7 @@ spec:
- --generateValidatingAdmissionPolicy=false
- --loggingFormat=text
- --v=2
- --omit-events=PolicyApplied,PolicySkipped
- --enablePolicyException=true
- --protectManagedResources=false
- --allowInsecureRegistry=false
@ -50545,6 +50546,7 @@ spec:
- --enableDeferredLoading=true
- --loggingFormat=text
- --v=2
- --omit-events=PolicyApplied,PolicySkipped
- --enablePolicyException=true
env:
@ -50790,6 +50792,7 @@ spec:
- --enableDeferredLoading=true
- --loggingFormat=text
- --v=2
- --omit-events=PolicyApplied,PolicySkipped
- --enablePolicyException=true
- --reportsChunkSize=1000
- --allowInsecureRegistry=false

View file

@ -1,6 +1,8 @@
features:
policyExceptions:
enabled: true
omitEvents:
eventTypes: []
backgroundController:
rbac: