From 435640258b72d9c9efdbadc3579411224f510a72 Mon Sep 17 00:00:00 2001 From: Anand Swaminathan Date: Tue, 15 Nov 2022 09:56:34 -0800 Subject: [PATCH] Migrate to networking.k8s.io (#265) * Migrate to networking.k8s.io --- pkg/controller/flink/ingress.go | 2 +- pkg/controller/flink/job_manager_controller_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/flink/ingress.go b/pkg/controller/flink/ingress.go index ccb5c0c1..bbb67b3f 100644 --- a/pkg/controller/flink/ingress.go +++ b/pkg/controller/flink/ingress.go @@ -8,7 +8,7 @@ import ( "github.com/lyft/flinkk8soperator/pkg/controller/common" "github.com/lyft/flinkk8soperator/pkg/controller/config" "github.com/lyft/flinkk8soperator/pkg/controller/k8" - "k8s.io/api/extensions/v1beta1" + "k8s.io/api/networking/v1beta1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" ) diff --git a/pkg/controller/flink/job_manager_controller_test.go b/pkg/controller/flink/job_manager_controller_test.go index 221d39d5..5d3361fa 100644 --- a/pkg/controller/flink/job_manager_controller_test.go +++ b/pkg/controller/flink/job_manager_controller_test.go @@ -20,7 +20,7 @@ import ( "github.com/stretchr/testify/assert" v1 "k8s.io/api/apps/v1" coreV1 "k8s.io/api/core/v1" - "k8s.io/api/extensions/v1beta1" + "k8s.io/api/networking/v1beta1" k8sErrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema"