Skip to content

Commit

Permalink
Suggested updates
Browse files Browse the repository at this point in the history
  • Loading branch information
trdoyle81 committed Aug 12, 2024
1 parent 426e5e6 commit b071ddc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions test/e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
// to ensure that exec-entrypoint and run can make use of them.
argov1alpha1api "github.com/argoproj-labs/argocd-operator/api/v1alpha1"
argoapi "github.com/argoproj-labs/argocd-operator/api/v1beta1"
argov1beta1api "github.com/argoproj-labs/argocd-operator/api/v1beta1"
argocdprovisioner "github.com/argoproj-labs/argocd-operator/controllers/argocd"
monitoringv1 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1"
Expand Down Expand Up @@ -129,8 +128,6 @@ var _ = BeforeSuite(func() {
Expect(configv1.AddToScheme(scheme.Scheme)).NotTo(HaveOccurred())
Expect(templatev1.AddToScheme(scheme.Scheme)).NotTo(HaveOccurred())
Expect(appsv1.AddToScheme(scheme.Scheme)).NotTo(HaveOccurred())
Expect(argoapi.AddToScheme(scheme.Scheme)).NotTo(HaveOccurred())

//+kubebuilder:scaffold:scheme

k8sClient, err = client.New(cfg, client.Options{Scheme: scheme.Scheme})
Expand Down
6 changes: 4 additions & 2 deletions test/nondefaulte2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ import (

// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
// to ensure that exec-entrypoint and run can make use of them.
argov1alpha1api "github.com/argoproj-labs/argocd-operator/api/v1alpha1"
argoapi "github.com/argoproj-labs/argocd-operator/api/v1beta1"
argov1beta1api "github.com/argoproj-labs/argocd-operator/api/v1beta1"
argocdprovisioner "github.com/argoproj-labs/argocd-operator/controllers/argocd"
monitoringv1 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1"
. "github.com/onsi/ginkgo"
Expand Down Expand Up @@ -109,8 +111,8 @@ var _ = BeforeSuite(func() {
Expect(configv1.AddToScheme(scheme.Scheme)).NotTo(HaveOccurred())
Expect(templatev1.AddToScheme(scheme.Scheme)).NotTo(HaveOccurred())
Expect(appsv1.AddToScheme(scheme.Scheme)).NotTo(HaveOccurred())
Expect(argoapi.AddToScheme(scheme.Scheme)).NotTo(HaveOccurred())

Expect(argov1alpha1api.AddToScheme(scheme.Scheme)).NotTo(HaveOccurred())
Expect(argov1beta1api.AddToScheme(scheme.Scheme)).NotTo(HaveOccurred())
//+kubebuilder:scaffold:scheme

k8sClient, err = client.New(cfg, client.Options{Scheme: scheme.Scheme})
Expand Down

0 comments on commit b071ddc

Please sign in to comment.