feat(crd): add update custom resource status
This commit is contained in:
@@ -21,7 +21,7 @@ func main() {
|
||||
config := lc.LoadYamlConfig[config.Config]("./config.yaml")
|
||||
|
||||
// init kubernetes flink job crd watch
|
||||
crd.New()
|
||||
crdInstance := crd.New()
|
||||
|
||||
// create database instance
|
||||
db, err := buntdb.Open(config.DatabasePath)
|
||||
@@ -44,7 +44,7 @@ func main() {
|
||||
fmt.Println(clusterConfig)
|
||||
|
||||
// init flink job manager
|
||||
manager.Setup(c, db)
|
||||
manager.Setup(c, db, crdInstance)
|
||||
|
||||
// for _, jobDef := range config.Jobs {
|
||||
// managed_job.NewManagedJob(c, db, jobDef)
|
||||
|
||||
Reference in New Issue
Block a user