From 96cffaff93a09e9afffa678802e4d19454521b6e Mon Sep 17 00:00:00 2001 From: Tariq Ibrahim Date: Fri, 26 Jun 2020 17:13:26 -0700 Subject: [PATCH] rm unused flag param istio-ingressgateways --- main.go | 1 - pkg/apis/externaldns/types.go | 2 -- source/store.go | 1 - source/store_test.go | 1 - 4 files changed, 5 deletions(-) diff --git a/main.go b/main.go index f02a9f293..549c6c5f8 100644 --- a/main.go +++ b/main.go @@ -112,7 +112,6 @@ func main() { KubeConfig: cfg.KubeConfig, KubeMaster: cfg.Master, ServiceTypeFilter: cfg.ServiceTypeFilter, - IstioIngressGatewayServices: cfg.IstioIngressGatewayServices, CFAPIEndpoint: cfg.CFAPIEndpoint, CFUsername: cfg.CFUsername, CFPassword: cfg.CFPassword, diff --git a/pkg/apis/externaldns/types.go b/pkg/apis/externaldns/types.go index 80b734c2e..1a62a0fb4 100644 --- a/pkg/apis/externaldns/types.go +++ b/pkg/apis/externaldns/types.go @@ -41,7 +41,6 @@ type Config struct { Master string KubeConfig string RequestTimeout time.Duration - IstioIngressGatewayServices []string ContourLoadBalancerService string SkipperRouteGroupVersion string Sources []string @@ -148,7 +147,6 @@ var defaultConfig = &Config{ Master: "", KubeConfig: "", RequestTimeout: time.Second * 30, - IstioIngressGatewayServices: []string{"istio-system/istio-ingressgateway"}, ContourLoadBalancerService: "heptio-contour/contour", SkipperRouteGroupVersion: "zalando.org/v1", Sources: nil, diff --git a/source/store.go b/source/store.go index 070ef9725..92bb7dd87 100644 --- a/source/store.go +++ b/source/store.go @@ -55,7 +55,6 @@ type Config struct { KubeConfig string KubeMaster string ServiceTypeFilter []string - IstioIngressGatewayServices []string CFAPIEndpoint string CFUsername string CFPassword string diff --git a/source/store_test.go b/source/store_test.go index 15652ddcd..8b6792f7c 100644 --- a/source/store_test.go +++ b/source/store_test.go @@ -155,6 +155,5 @@ func TestByNames(t *testing.T) { } var minimalConfig = &Config{ - IstioIngressGatewayServices: []string{"istio-system/istio-ingressgateway"}, ContourLoadBalancerService: "heptio-contour/contour", }