Skip to content

Commit

Permalink
bump version of controller-manager-library for conditional-deploy-crd…
Browse files Browse the repository at this point in the history
…s flag (#385)
  • Loading branch information
MartinWeindel authored Aug 22, 2024
1 parent 5e00b9f commit ca8d63f
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 133 deletions.
9 changes: 3 additions & 6 deletions cmd/compound/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"github.com/gardener/controller-manager-library/pkg/controllermanager/controller/mappings"
"github.com/gardener/controller-manager-library/pkg/resources"
"github.com/gardener/controller-manager-library/pkg/utils"
resourcesv1alpha1 "github.com/gardener/gardener/pkg/apis/resources/v1alpha1"
_ "go.uber.org/automaxprocs"
istionetworkingv1 "istio.io/client-go/pkg/apis/networking/v1"
istionetworkingv1alpha3 "istio.io/client-go/pkg/apis/networking/v1alpha3"
Expand Down Expand Up @@ -75,19 +76,15 @@ func init() {
utils.Must(resources.Register(gatewayapisv1alpha2.SchemeBuilder))
utils.Must(resources.Register(gatewayapisv1beta1.SchemeBuilder))
utils.Must(resources.Register(gatewayapisv1.SchemeBuilder))
utils.Must(resources.Register(resourcesv1alpha1.SchemeBuilder))

embed.RegisterCreateServerFunc(remote.CreateServer)
}

func migrateExtensionsIngress(c controllermanager.Configuration) controllermanager.Configuration {
return c.GlobalGroupKindMigrations(resources.NewGroupKind("extensions", "Ingress"),
resources.NewGroupKind("networking.k8s.io", "Ingress"))
}

func main() {
if len(os.Args) == 2 && os.Args[1] == "version" {
fmt.Println(Version)
os.Exit(0)
}
controllermanager.Start("dns-controller-manager", "dns controller manager", "nothing", migrateExtensionsIngress)
controllermanager.Start("dns-controller-manager", "dns controller manager", "nothing")
}
75 changes: 38 additions & 37 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/gardener/external-dns-management

go 1.22
go 1.22.4

toolchain go1.22.5

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.12.0
Expand All @@ -11,59 +13,59 @@ require (
github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190603021944-12ad9f921c0b
github.com/aws/aws-sdk-go v1.44.173
github.com/cloudflare/cloudflare-go v0.11.4
github.com/gardener/controller-manager-library v0.2.1-0.20240610092456-2d1cdc3e6f13
github.com/gardener/controller-manager-library v0.2.1-0.20240816122604-33f686e858cc
github.com/gardener/gardener v1.101.0
github.com/go-openapi/runtime v0.24.1
github.com/go-openapi/strfmt v0.21.2
github.com/gophercloud/gophercloud v0.24.0
github.com/gophercloud/utils v0.0.0-20220307143606-8e7800759d16
github.com/infobloxopen/infoblox-go-client/v2 v2.1.0
github.com/miekg/dns v1.1.51
github.com/miekg/dns v1.1.58
github.com/netlify/open-api v1.1.0
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
github.com/onsi/gomega v1.34.0
github.com/prometheus/client_golang v1.18.0
go.uber.org/atomic v1.10.0
go.uber.org/automaxprocs v1.4.0
golang.org/x/oauth2 v0.16.0
golang.org/x/sync v0.7.0
golang.org/x/tools v0.22.0
go.uber.org/automaxprocs v1.5.3
golang.org/x/oauth2 v0.20.0
golang.org/x/sync v0.8.0
golang.org/x/tools v0.24.0
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2
google.golang.org/api v0.149.0
google.golang.org/grpc v1.62.1
google.golang.org/protobuf v1.33.0
istio.io/api v1.22.0
google.golang.org/protobuf v1.34.1
istio.io/api v1.22.3
istio.io/client-go v1.22.0
k8s.io/api v0.29.5
k8s.io/apiextensions-apiserver v0.29.5
k8s.io/apimachinery v0.29.5
k8s.io/client-go v0.29.5
k8s.io/code-generator v0.29.5
k8s.io/utils v0.0.0-20230726121419-3b25d923346b
k8s.io/api v0.29.7
k8s.io/apiextensions-apiserver v0.29.7
k8s.io/apimachinery v0.29.7
k8s.io/client-go v0.29.7
k8s.io/code-generator v0.29.7
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
sigs.k8s.io/controller-runtime v0.17.5
sigs.k8s.io/controller-tools v0.13.0
sigs.k8s.io/controller-tools v0.14.0
sigs.k8s.io/gateway-api v1.0.0
sigs.k8s.io/kind v0.18.0
)

require (
cloud.google.com/go/compute v1.23.3 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/compute/metadata v0.3.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/internal v1.9.0 // indirect
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
github.com/BurntSushi/toml v1.0.0 // indirect
github.com/BurntSushi/toml v1.3.2 // indirect
github.com/Masterminds/semver/v3 v3.2.1 // indirect
github.com/alessio/shellescape v1.4.1 // indirect
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/evanphx/json-patch v5.7.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.8.0 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-openapi/analysis v0.21.2 // indirect
github.com/go-openapi/errors v0.20.2 // indirect
github.com/go-openapi/errors v0.20.4 // indirect
github.com/go-openapi/jsonpointer v0.20.0 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/loads v0.21.1 // indirect
Expand Down Expand Up @@ -95,40 +97,39 @@ require (
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/oklog/ulid v1.3.1 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/pelletier/go-toml v1.9.4 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
github.com/prometheus/common v0.45.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/cobra v1.8.0 // indirect
github.com/spf13/cobra v1.8.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.mongodb.org/mongo-driver v1.8.3 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/crypto v0.26.0 // indirect
golang.org/x/lint v0.0.0-20190930215403-16217165b5de // indirect
golang.org/x/mod v0.18.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/term v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/time v0.3.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
golang.org/x/mod v0.20.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/sys v0.23.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/time v0.6.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240314234333-6e1732d8331c // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.62.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/gengo v0.0.0-20230829151522-9cce18d56c01 // indirect
Expand Down
Loading

0 comments on commit ca8d63f

Please sign in to comment.