Skip to content

Commit

Permalink
Remove metallb dependency from the k8s reporter
Browse files Browse the repository at this point in the history
Removes from the k8sreporter all of metallb's APIs
in order to free it from the dependency in it.

Also updated the version of the k8sreporter.
And use Dump instead of DumpInfo: because now the strings.Replace
is part of the Dump function.

Updated go.mod go.sum accordingly.

Signed-off-by: Lior Noy <[email protected]>
  • Loading branch information
liornoy committed Aug 24, 2023
1 parent f18ee8e commit 3fb757c
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 174 deletions.
10 changes: 5 additions & 5 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
resources:
- manager.yaml
- manager.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
patchesStrategicMerge:
- env.yaml
- env.yaml
images:
- name: controller
newName: quay.io/metallb/metallb-operator
newTag: main
- name: controller
newName: metallb-operator
newTag: ci
10 changes: 3 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,19 @@ require (
k8s.io/apimachinery v0.27.4
k8s.io/client-go v1.5.2
k8s.io/kubernetes v1.25.4
k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5
k8s.io/utils v0.0.0-20230313181309-38a27ef9d749
sigs.k8s.io/controller-runtime v0.15.0
)

require (
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230106234847-43070de90fa1 // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/openshift/api v0.0.0-20200829102639-8a3a835f1acf // indirect
github.com/openshift/client-go v0.0.0-20200827190008-3062137373b5 // indirect
github.com/miekg/dns v1.1.43 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
go.opentelemetry.io/otel v1.14.0 // indirect
go.opentelemetry.io/otel/trace v1.14.0 // indirect
Expand Down Expand Up @@ -112,7 +109,7 @@ require (
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b // indirect
github.com/openshift-kni/k8sreporter v0.1.0
github.com/openshift-kni/k8sreporter v1.0.4
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
github.com/prometheus/client_golang v1.15.1 // indirect
github.com/prometheus/client_model v0.4.0 // indirect
Expand All @@ -132,7 +129,6 @@ require (
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.7.0 // indirect
go.uber.org/zap v1.24.0 // indirect
go.universe.tf/metallb v0.13.7
golang.org/x/crypto v0.11.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/oauth2 v0.5.0 // indirect
Expand Down
Loading

0 comments on commit 3fb757c

Please sign in to comment.