diff --git a/cmd/openshift/operator/main.go b/cmd/openshift/operator/main.go index dd5362b6ac..246f4208fc 100644 --- a/cmd/openshift/operator/main.go +++ b/cmd/openshift/operator/main.go @@ -17,6 +17,7 @@ limitations under the License. package main import ( + "github.com/tektoncd/operator/pkg/reconciler/kubernetes/tektoninstallerset" "github.com/tektoncd/operator/pkg/reconciler/openshift/tektonaddon" "github.com/tektoncd/operator/pkg/reconciler/openshift/tektonconfig" "github.com/tektoncd/operator/pkg/reconciler/openshift/tektonpipeline" @@ -30,5 +31,6 @@ func main() { tektontrigger.NewController, tektonaddon.NewController, tektonconfig.NewController, + tektoninstallerset.NewController, ) } diff --git a/pkg/reconciler/openshift/tektonpipeline/extension.go b/pkg/reconciler/openshift/tektonpipeline/extension.go index d973302fef..5c8c06ab0c 100644 --- a/pkg/reconciler/openshift/tektonpipeline/extension.go +++ b/pkg/reconciler/openshift/tektonpipeline/extension.go @@ -101,7 +101,8 @@ func (oe openshiftExtension) PreReconcile(ctx context.Context, tc v1alpha1.Tekto return err } - if err := common.Install(ctx, &oe.manifest, tc); err != nil { + // Apply the resources + if err := oe.manifest.Apply(); err != nil { return err }