Hélia Barroso
cacffa596c
feat: Apply modernize analyzer to the codebase ( #7854 )
...
Signed-off-by: Hélia Barroso <helia_barroso@hotmail.com >
2025-09-01 11:33:41 +02:00
Simon Pasquier
9ef0a71f25
feat: optimize event handler
...
This commit improves the efficiency of event handlers on configuration
resources. In practice, the operator only triggers a reconciliation when
there's a change in the resource's generation or labels. It's a
pre-requisite to implement the status subresource for this type of
resources.
For secrets and configmaps, the operator still relies on the resource
version.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-04 10:38:23 +02:00
Simon Pasquier
c1979bdf3e
chore: refactor code
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-01 10:26:44 +02:00
Simon Pasquier
21fd791288
fix: implement for all controllers
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-01 10:26:44 +02:00
Simon Pasquier
62d6a89e94
chore: add object name to event handler logs
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-01 10:11:48 +02:00
Simon Pasquier
69a691c2e8
fix: reconcile resources on secret/configmap changes
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-01 10:11:48 +02:00
Simon Pasquier
73fcd02a17
Revert "Enhance OnUpdate method to compare metadata fields ( #7691 )"
...
This reverts commit f727cf83f9 .
2025-07-10 10:36:05 +02:00
Y@&h
f727cf83f9
Enhance OnUpdate method to compare metadata fields ( #7691 )
2025-07-09 12:53:12 +00:00
perebaj
0b3745d62b
chore: replace goKitLogger in k8sutil and event handler
2024-08-12 12:36:47 -03:00
Mohammad
2e75484c31
Refactor operators event handler ( #6416 )
...
* chore: Refactor controller's event handler to reduce code duplication
Signed-off-by: Mohammad Jamshidi <jamshidi.m799@gmail.com >
---------
Signed-off-by: Mohammad Jamshidi <jamshidi.m799@gmail.com >
2024-03-29 17:35:15 -03:00