Skip to content

Commit

Permalink
Add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishanx92 committed Sep 8, 2024
1 parent 333b3d8 commit 7ec77e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adapter/internal/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ import (

dpv1alpha1 "github.com/wso2/apk/common-go-libs/apis/dp/v1alpha1"
dpv1alpha2 "github.com/wso2/apk/common-go-libs/apis/dp/v1alpha2"
dpv1alpha3 "github.com/wso2/apk/common-go-libs/apis/dp/v1alpha3"
//+kubebuilder:scaffold:imports
)

Expand All @@ -66,6 +67,7 @@ func init() {
utilruntime.Must(gwapiv1a2.AddToScheme(scheme))

utilruntime.Must(dpv1alpha2.AddToScheme(scheme))
utilruntime.Must(dpv1alpha3.AddToScheme(scheme))
//+kubebuilder:scaffold:scheme
}

Expand Down
4 changes: 4 additions & 0 deletions common-controller/internal/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ import (
dpcontrollers "github.com/wso2/apk/common-controller/internal/operator/controllers/dp"
"github.com/wso2/apk/common-controller/pkg/metrics"
cpv1alpha2 "github.com/wso2/apk/common-go-libs/apis/cp/v1alpha2"
cpv1alpha3 "github.com/wso2/apk/common-go-libs/apis/cp/v1alpha3"
dpv1alpha1 "github.com/wso2/apk/common-go-libs/apis/dp/v1alpha1"
dpv1alpha2 "github.com/wso2/apk/common-go-libs/apis/dp/v1alpha2"
dpv1alpha3 "github.com/wso2/apk/common-go-libs/apis/dp/v1alpha3"
"k8s.io/apimachinery/pkg/runtime"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
Expand All @@ -63,6 +65,8 @@ func init() {
utilruntime.Must(dpv1alpha2.AddToScheme(scheme))
utilruntime.Must(cpv1alpha2.AddToScheme(scheme))
utilruntime.Must(cpv1alpha2.AddToScheme(scheme))
utilruntime.Must(cpv1alpha3.AddToScheme(scheme))
utilruntime.Must(dpv1alpha3.AddToScheme(scheme))
//+kubebuilder:scaffold:scheme
}

Expand Down

0 comments on commit 7ec77e0

Please sign in to comment.