Skip to content

Commit

Permalink
bump dependencies (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Diaphteiros authored Oct 17, 2023
1 parent 0e0d44d commit feb6df0
Show file tree
Hide file tree
Showing 554 changed files with 41,283 additions and 11,642 deletions.
8 changes: 6 additions & 2 deletions cmd/k8syncer/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/spf13/cobra"
ctrlrun "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/manager"
"sigs.k8s.io/controller-runtime/pkg/metrics/server"

"github.com/gardener/k8syncer/pkg/config"
"github.com/gardener/k8syncer/pkg/controller"
Expand Down Expand Up @@ -54,8 +55,11 @@ func (o *Options) run(ctx context.Context) error {

// build manager
mOpts := manager.Options{
LeaderElection: false,
MetricsBindAddress: "0",
LeaderElection: false,
Metrics: server.Options{
BindAddress: o.MetricsAddr,
},
HealthProbeBindAddress: o.ProbeAddr,
}
mgr, err := ctrlrun.NewManager(ctrlrun.GetConfigOrDie(), mOpts)
if err != nil {
Expand Down
6 changes: 5 additions & 1 deletion cmd/k8syncer/app/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ import (

// Options describes the options to configure the Landscaper controller.
type Options struct {
ConfigPath string
MetricsAddr string
ProbeAddr string
ConfigPath string

Log logging.Logger
Config *config.K8SyncerConfiguration
Expand All @@ -28,6 +30,8 @@ func NewOptions() *Options {
}

func (o *Options) AddFlags(fs *flag.FlagSet) {
fs.StringVar(&o.MetricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.")
fs.StringVar(&o.ProbeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
fs.StringVar(&o.ConfigPath, "config", "", "specify the path to the configuration file")
logging.InitFlags(fs)

Expand Down
61 changes: 32 additions & 29 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,27 @@ module github.com/gardener/k8syncer
go 1.20

require (
github.com/gardener/landscaper/controller-utils v0.60.0
github.com/go-git/go-billy/v5 v5.4.1
github.com/go-git/go-git/v5 v5.7.0
github.com/mandelsoft/vfs v0.0.0-20230626074202-413a47eba362
github.com/onsi/ginkgo/v2 v2.9.5
github.com/gardener/landscaper/controller-utils v0.80.0
github.com/go-git/go-billy/v5 v5.5.0
github.com/go-git/go-git/v5 v5.9.0
github.com/mandelsoft/vfs v0.0.0-20230714093241-d557f163aecd
github.com/onsi/ginkgo/v2 v2.13.0
github.com/spf13/cobra v1.7.0
github.com/spf13/pflag v1.0.5
k8s.io/api v0.27.2
k8s.io/apimachinery v0.27.2
k8s.io/api v0.28.2
k8s.io/apimachinery v0.28.2
sigs.k8s.io/yaml v1.3.0
)

require (
github.com/Microsoft/go-winio v0.5.2 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903 // indirect
dario.cat/mergo v1.0.0 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
github.com/acomagu/bufpipe v1.0.4 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
Expand All @@ -35,9 +37,9 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/gnostic v0.5.7-v3refs // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/imdario/mergo v0.3.15 // indirect
Expand All @@ -53,34 +55,36 @@ require (
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pjbgf/sha1cd v0.3.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_golang v1.15.1 // indirect
github.com/prometheus/client_golang v1.16.0 // indirect
github.com/prometheus/client_model v0.4.0 // indirect
github.com/prometheus/common v0.42.0 // indirect
github.com/prometheus/procfs v0.9.0 // indirect
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.10.1 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/skeema/knownhosts v1.1.1 // indirect
github.com/skeema/knownhosts v1.2.0 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/oauth2 v0.5.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/term v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.9.1 // indirect
gomodules.xyz/jsonpatch/v2 v2.3.0 // indirect
golang.org/x/tools v0.13.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.27.2 // indirect
k8s.io/client-go v0.27.2 // indirect
k8s.io/component-base v0.27.2 // indirect
k8s.io/klog/v2 v2.90.1 // indirect
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect
k8s.io/apiextensions-apiserver v0.28.0 // indirect
k8s.io/client-go v0.28.1 // indirect
k8s.io/component-base v0.28.1 // indirect
k8s.io/klog/v2 v2.100.1 // indirect
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
)
Expand All @@ -89,9 +93,8 @@ require (
github.com/go-logr/logr v1.2.4
github.com/go-logr/zapr v1.2.4 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/onsi/gomega v1.27.7
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.24.0 // indirect
sigs.k8s.io/controller-runtime v0.15.0
github.com/onsi/gomega v1.28.0
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.25.0 // indirect
sigs.k8s.io/controller-runtime v0.16.2
)
Loading

0 comments on commit feb6df0

Please sign in to comment.