Skip to content

Commit

Permalink
addoms/controller: fixup import paths
Browse files Browse the repository at this point in the history
a few missing imports required to make output build
  • Loading branch information
johnsonj committed Oct 1, 2019
1 parent c7c98f8 commit bb4132d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions plugins/addon/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,23 @@ var controllerTemplate = `{{ .Boilerplate }}
package controllers
import (
"context"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"
"github.com/go-logr/logr"
"sigs.k8s.io/controller-runtime/pkg/controller"
"sigs.k8s.io/controller-runtime/pkg/handler"
"sigs.k8s.io/controller-runtime/pkg/reconcile"
"sigs.k8s.io/controller-runtime/pkg/source"
"sigs.k8s.io/kubebuilder-declarative-pattern/pkg/patterns/addon"
"sigs.k8s.io/kubebuilder-declarative-pattern/pkg/patterns/addon/pkg/status"
"sigs.k8s.io/kubebuilder-declarative-pattern/pkg/patterns/declarative"
"github.com/go-logr/logr"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"
api "{{ .Resource.GoPackage }}/{{ .Resource.Version }}"
)
var _ reconcile.Reconciler = &{{ .Resource.Kind }}Reconciler{}
// {{ .Resource.Kind }}Reconciler reconciles a {{ .Resource.Kind }} object
type {{ .Resource.Kind }}Reconciler struct {
client.Client
Expand Down

0 comments on commit bb4132d

Please sign in to comment.