Skip to content

Commit 3f78a4b

Browse files
Merge pull request #21028 from bparees/finalizer
fix template finalizer godoc
2 parents 6989698 + c650209 commit 3f78a4b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pkg/template/controller/templateinstance_finalizer.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ import (
2828
templatelister "github.com/openshift/client-go/template/listers/template/v1"
2929
)
3030

31-
// TemplateInstanceFinalizerController watches for new TemplateInstance objects and
32-
// instantiates the template contained within, using parameters read from a
33-
// linked Secret object. The TemplateInstanceFinalizerController instantiates objects
34-
// using its own service account, first verifying that the requester also has
35-
// permissions to instantiate.
31+
// TemplateInstanceFinalizerController watches for deletion of TemplateInstance objects
32+
// and handles the cleanup of the associated resources before removing the finalizer.
3633
type TemplateInstanceFinalizerController struct {
3734
dynamicRestMapper meta.RESTMapper
3835
client dynamic.Interface

0 commit comments

Comments
 (0)