Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkg/controller/template/template_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -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
Expand Down