1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 07:57:07 +00:00
kyverno/pkg/event
Valentin Velkov 63f4c9a884
Configurable success events on policies & resources. Generating failure events on policies by default. (#1939)
* Remove unused event.Reason const

Signed-off-by: Velkov <valentin.velkov@sap.com>

* Generate failure events on policies

Signed-off-by: Velkov <valentin.velkov@sap.com>

* Generate success events on policy

Signed-off-by: Velkov <valentin.velkov@sap.com>

* Introduce 'generateSuccessEvents' flag

Signed-off-by: Velkov <valentin.velkov@sap.com>

* Unit tests & chart fix

Signed-off-by: Velkov <valentin.velkov@sap.com>
2021-06-29 14:43:11 -07:00
..
builder_test.go Configurable success events on policies & resources. Generating failure events on policies by default. (#1939) 2021-06-29 14:43:11 -07:00
controller.go Configurable success events on policies & resources. Generating failure events on policies by default. (#1939) 2021-06-29 14:43:11 -07:00
msgbuilder.go Configurable success events on policies & resources. Generating failure events on policies by default. (#1939) 2021-06-29 14:43:11 -07:00
reason.go Configurable success events on policies & resources. Generating failure events on policies by default. (#1939) 2021-06-29 14:43:11 -07:00
source.go add event source and format event messages (#565) 2019-12-26 11:50:41 -08:00
util.go update logging, naming, and event retry (#959) 2020-06-30 11:53:27 -07:00