fennec-project / snoopy-operator

A Networking Packet Capture and Flow Analysis Operator
Apache License 2.0
14 stars 5 forks source link

Jobs and Cronjobs lifecycle should be controlled by snoopy-operator #45

Open acmenezes opened 2 years ago

acmenezes commented 2 years ago

Currently the jobs are owned by snoopyJob CR and if a completed job is deleted by hand the controller restarts it. We need a solution to control the whole lifecycle of jobs avoiding those restarts and doing the proper cleanup.

tokalevasant commented 2 years ago

Hi Alex, I would like to take this but would like to discuss exact requirements/process. Let's discuss this in our next meeting.

acmenezes commented 2 years ago

Sure @tokalevasant ! We can discuss in our meeting.

acmenezes commented 2 years ago

As per our triage meeting we agreed that a finalizer would the best way to accomplish this. The finalizer would be used by the reconciler for: