Skip to content

Commit 2ae583e

Browse files
committed
Bump to newest CRDs for Flux components.
Fix the schema imports for the e2e tests.
1 parent 4c38aed commit 2ae583e

4 files changed

Lines changed: 724 additions & 617 deletions

File tree

tests/e2e/main_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ import (
1313
"github.com/fluxcd/pkg/http/fetch"
1414
"github.com/fluxcd/pkg/runtime/testenv"
1515
"github.com/fluxcd/pkg/tar"
16-
sourcev1 "github.com/fluxcd/source-controller/api/v1beta2"
16+
sourcev1 "github.com/fluxcd/source-controller/api/v1"
17+
sourcev1beta2 "github.com/fluxcd/source-controller/api/v1beta2"
1718
"github.com/gitops-tools/gitopssets-controller/test"
1819
clustersv1 "github.com/weaveworks/cluster-controller/api/v1alpha1"
1920
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
@@ -49,6 +50,7 @@ func TestMain(m *testing.M) {
4950
utilruntime.Must(gitopssetsv1.AddToScheme(scheme.Scheme))
5051
utilruntime.Must(clustersv1.AddToScheme(scheme.Scheme))
5152
utilruntime.Must(sourcev1.AddToScheme(scheme.Scheme))
53+
utilruntime.Must(sourcev1beta2.AddToScheme(scheme.Scheme))
5254
utilruntime.Must(imagev1.AddToScheme(scheme.Scheme))
5355
utilruntime.Must(kustomizev1.AddToScheme(scheme.Scheme))
5456
fetcher := fetch.NewArchiveFetcher(1, tar.UnlimitedUntarSize, tar.UnlimitedUntarSize, "")

0 commit comments

Comments
 (0)