mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-05 09:06:58 +02:00
drop more concour
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
This commit is contained in:
parent
05cadcb340
commit
5c7ddb07c2
@ -23,7 +23,6 @@ import (
|
||||
fakeDynamic "k8s.io/client-go/dynamic/fake"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
contour "github.com/projectcontour/contour/apis/contour/v1beta1"
|
||||
projectcontour "github.com/projectcontour/contour/apis/projectcontour/v1"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
@ -46,7 +45,6 @@ type HTTPProxySuite struct {
|
||||
|
||||
func newDynamicKubernetesClient() (*fakeDynamic.FakeDynamicClient, *runtime.Scheme) {
|
||||
s := runtime.NewScheme()
|
||||
_ = contour.AddToScheme(s)
|
||||
_ = projectcontour.AddToScheme(s)
|
||||
return fakeDynamic.NewSimpleDynamicClient(s), s
|
||||
}
|
||||
|
@ -17,7 +17,6 @@ limitations under the License.
|
||||
package source
|
||||
|
||||
import (
|
||||
contour "github.com/projectcontour/contour/apis/contour/v1beta1"
|
||||
projectcontour "github.com/projectcontour/contour/apis/projectcontour/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/client-go/kubernetes/scheme"
|
||||
@ -36,7 +35,6 @@ func NewUnstructuredConverter() (*UnstructuredConverter, error) {
|
||||
}
|
||||
|
||||
// Setup converter to understand custom CRD types
|
||||
_ = contour.AddToScheme(uc.scheme)
|
||||
_ = projectcontour.AddToScheme(uc.scheme)
|
||||
|
||||
// Add the core types we need
|
||||
|
Loading…
Reference in New Issue
Block a user