Skip to content

Commit

Permalink
Add AuthConfig v1beta2 to scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
guicassolato committed Oct 10, 2023
1 parent e3ba23b commit 4820025
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"path/filepath"
"testing"

authorinoopv1beta1 "github.com/kuadrant/authorino-operator/api/v1beta1"
authorinov1beta1 "github.com/kuadrant/authorino/api/v1beta1"
authorinoopapi "github.com/kuadrant/authorino-operator/api/v1beta1"
authorinoapi "github.com/kuadrant/authorino/api/v1beta2"
limitadorv1alpha1 "github.com/kuadrant/limitador-operator/api/v1alpha1"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down Expand Up @@ -86,10 +86,10 @@ var _ = BeforeSuite(func() {
err = gatewayapiv1beta1.AddToScheme(scheme.Scheme)
Expect(err).NotTo(HaveOccurred())

err = authorinoopv1beta1.AddToScheme(scheme.Scheme)
err = authorinoopapi.AddToScheme(scheme.Scheme)
Expect(err).NotTo(HaveOccurred())

err = authorinov1beta1.AddToScheme(scheme.Scheme)
err = authorinoapi.AddToScheme(scheme.Scheme)
Expect(err).NotTo(HaveOccurred())

err = istioapis.AddToScheme(scheme.Scheme)
Expand Down
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"os"
"runtime"

authorinov1beta1 "github.com/kuadrant/authorino/api/v1beta1"
"k8s.io/utils/env"

corev1 "k8s.io/api/core/v1"
Expand All @@ -31,7 +30,8 @@ import (
// to ensure that exec-entrypoint and run can make use of them.
_ "k8s.io/client-go/plugin/pkg/client/auth"

authorinoopv1beta1 "github.com/kuadrant/authorino-operator/api/v1beta1"
authorinoopapi "github.com/kuadrant/authorino-operator/api/v1beta1"
authorinoapi "github.com/kuadrant/authorino/api/v1beta2"
maistraapis "github.com/kuadrant/kuadrant-operator/api/external/maistra"
limitadorv1alpha1 "github.com/kuadrant/limitador-operator/api/v1alpha1"
istioextensionv1alpha1 "istio.io/client-go/pkg/apis/extensions/v1alpha1"
Expand Down Expand Up @@ -64,8 +64,8 @@ func init() {
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
utilruntime.Must(corev1.AddToScheme(scheme))
utilruntime.Must(limitadorv1alpha1.AddToScheme(scheme))
utilruntime.Must(authorinoopv1beta1.AddToScheme(scheme))
utilruntime.Must(authorinov1beta1.AddToScheme(scheme))
utilruntime.Must(authorinoopapi.AddToScheme(scheme))
utilruntime.Must(authorinoapi.AddToScheme(scheme))
utilruntime.Must(istionetworkingv1alpha3.AddToScheme(scheme))
utilruntime.Must(istiosecurityv1beta1.AddToScheme(scheme))
utilruntime.Must(gatewayapiv1beta1.AddToScheme(scheme))
Expand Down

0 comments on commit 4820025

Please sign in to comment.