integrated local execution of oc-monitor

This commit is contained in:
pb
2024-08-12 16:09:30 +02:00
parent e738e19aa7
commit 81dde868a3
6 changed files with 44 additions and 21 deletions

View File

@@ -60,7 +60,7 @@ func (em *ExecutionManager) executeBooking(booking models.Booking){
if exec_method == "local"{
logger.Logger.Debug().Msg("Executing oc-monitor localy")
monitor := LocalMonitor{LokiURL: conf.GetConfig().LokiUrl,KubeURL: "localhost",WorkflowName: booking.Workflow}
monitor := LocalMonitor{LokiURL: conf.GetConfig().LokiUrl,KubeURL: "localhost",WorkflowName: booking.Workflow,}
monitor.LaunchLocalMonitor()
}else{
logger.Logger.Error().Msg("TODO : executing oc-monitor in a k8s")