register source v1beta2 scheme
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
This commit is contained in:
parent
7df47e6dc8
commit
acead1667a
2
main.go
2
main.go
|
@ -44,6 +44,7 @@ import (
|
|||
"github.com/fluxcd/pkg/runtime/pprof"
|
||||
"github.com/fluxcd/pkg/runtime/probes"
|
||||
sourcev1 "github.com/fluxcd/source-controller/api/v1"
|
||||
sourcev1b2 "github.com/fluxcd/source-controller/api/v1beta2"
|
||||
|
||||
kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1"
|
||||
"github.com/fluxcd/kustomize-controller/internal/controllers"
|
||||
|
@ -63,6 +64,7 @@ func init() {
|
|||
_ = clientgoscheme.AddToScheme(scheme)
|
||||
|
||||
_ = sourcev1.AddToScheme(scheme)
|
||||
_ = sourcev1b2.AddToScheme(scheme)
|
||||
_ = kustomizev1.AddToScheme(scheme)
|
||||
// +kubebuilder:scaffold:scheme
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue