Skip to content

Commit e8c7bdd

Browse files
committed
fix missing scheme
1 parent 2dfdc1b commit e8c7bdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/mcp-operator/app/app.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import (
2222
"sigs.k8s.io/controller-runtime/pkg/cluster"
2323

2424
v2install "github.com/openmcp-project/openmcp-operator/api/install"
25+
lsv2install "github.com/openmcp-project/service-provider-landscaper/api/install"
2526

2627
laasinstall "github.com/gardener/landscaper-service/pkg/apis/core/install"
2728
cocorev1beta1 "github.com/openmcp-project/control-plane-operator/api/v1beta1"
@@ -290,6 +291,7 @@ func (o *Options) run(ctx context.Context) error {
290291
sc := runtime.NewScheme()
291292
openmcpinstall.Install(sc)
292293
utilruntime.Must(clientgoscheme.AddToScheme(sc))
294+
lsv2install.InstallProviderAPIs(sc)
293295
mgr, err := ctrl.NewManager(o.CrateClusterConfig, ctrl.Options{
294296
Scheme: sc,
295297
Metrics: server.Options{

0 commit comments

Comments
 (0)