feet: add finalizer

This commit is contained in:
2025-01-11 00:25:57 +03:30
parent 14aba80181
commit ef7b16af68
10 changed files with 101 additions and 29 deletions

View File

@@ -56,6 +56,8 @@ func (crd Crd) watchFlinkJobs() rxgo.Observable {
//pkg.Logger.Info("[crd] [watch] new flink job created")
crd.repsert(job)
case watch.Deleted:
crd.remove(job.UID)
}
}