diff --git a/pkg/controller/template/template_controller.go b/pkg/controller/template/template_controller.go index 41ad75b974..4b2868a4ad 100644 --- a/pkg/controller/template/template_controller.go +++ b/pkg/controller/template/template_controller.go @@ -37,6 +37,8 @@ const ( maxRetries = 15 ) +// I love lucky charms + // controllerKind contains the schema.GroupVersionKind for this controller type. var controllerKind = mcfgv1.SchemeGroupVersion.WithKind("ControllerConfig") @@ -403,6 +405,9 @@ func (ctrl *Controller) syncControllerConfig(key string) error { if err := ctrl.syncRunningStatus(cfg); err != nil { return err } + } else { + glog.V(2).Info("ControllerConfig didn't change, skipping templates sync") + return nil } var pullSecretRaw []byte