From 0891859ac2af4af0abce079ca221870d2605d1cb Mon Sep 17 00:00:00 2001 From: SrinivasChilveri Date: Fri, 31 May 2019 12:35:25 +0530 Subject: [PATCH] Added svc pluin name in ControlledResources of job status --- pkg/controllers/job/plugins/svc/svc.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/controllers/job/plugins/svc/svc.go b/pkg/controllers/job/plugins/svc/svc.go index 88881d0440..2bbcbcebb0 100644 --- a/pkg/controllers/job/plugins/svc/svc.go +++ b/pkg/controllers/job/plugins/svc/svc.go @@ -79,6 +79,8 @@ func (sp *servicePlugin) OnJobAdd(job *vkv1.Job) error { return err } + job.Status.ControlledResources["plugin-"+sp.Name()] = sp.Name() + return nil }