Skip to content

Commit

Permalink
remove old healthchecks
Browse files Browse the repository at this point in the history
Signed-off-by: Maskym Vavilov <[email protected]>
  • Loading branch information
maksymvavilov committed Nov 21, 2024
1 parent 9c9f8da commit 9a22eb3
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 699 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ require (
github.com/onsi/gomega v1.32.0
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.17.0
github.com/rs/xid v1.5.0
github.com/stretchr/testify v1.9.0
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f
golang.org/x/net v0.26.0
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
github.com/rs/xid v1.5.0 h1:mKX4bl4iPYJtEIxp6CYiUuLQ/8DYMoz0PUdtGgMFRVc=
github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
Expand Down
15 changes: 3 additions & 12 deletions internal/provider/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,9 @@ const (

type Route53DNSProvider struct {
*externaldnsprovideraws.AWSProvider
awsConfig externaldnsprovideraws.AWSConfig
logger logr.Logger
route53Client *route53.Route53
healthCheckReconciler provider.HealthCheckReconciler
awsConfig externaldnsprovideraws.AWSConfig
logger logr.Logger
route53Client *route53.Route53
}

var _ provider.Provider = &Route53DNSProvider{}
Expand Down Expand Up @@ -183,14 +182,6 @@ func (p *Route53DNSProvider) DNSZoneForHost(ctx context.Context, host string) (*
return provider.FindDNSZoneForHost(ctx, host, zones)
}

func (p *Route53DNSProvider) HealthCheckReconciler() provider.HealthCheckReconciler {
if p.healthCheckReconciler == nil {
p.healthCheckReconciler = NewRoute53HealthCheckReconciler(p.route53Client)
}

return p.healthCheckReconciler
}

func (*Route53DNSProvider) ProviderSpecific() provider.ProviderSpecificLabels {
return provider.ProviderSpecificLabels{
Weight: providerSpecificWeight,
Expand Down
335 changes: 0 additions & 335 deletions internal/provider/aws/health.go

This file was deleted.

Loading

0 comments on commit 9a22eb3

Please sign in to comment.