Skip to content

Commit

Permalink
Merge pull request #333 from iamniting/go-update
Browse files Browse the repository at this point in the history
godeps: update go deps
  • Loading branch information
openshift-merge-robot authored Jul 25, 2023
2 parents c0ce885 + 1d55a32 commit 1ea6cdd
Show file tree
Hide file tree
Showing 1,059 changed files with 72,079 additions and 29,621 deletions.
2 changes: 1 addition & 1 deletion controllers/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"

ibmv1alpha1 "github.com/IBM/ibm-storage-odf-operator/api/v1alpha1"
ocsv1 "github.com/red-hat-storage/ocs-operator/api/v1"
ocsv1 "github.com/red-hat-storage/ocs-operator/v4/api/v1"
odfv1alpha1 "github.com/red-hat-storage/odf-operator/api/v1alpha1"
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"

ibmv1alpha1 "github.com/IBM/ibm-storage-odf-operator/api/v1alpha1"
ocsv1 "github.com/red-hat-storage/ocs-operator/api/v1"
ocsv1 "github.com/red-hat-storage/ocs-operator/v4/api/v1"
odfv1alpha1 "github.com/red-hat-storage/odf-operator/api/v1alpha1"
)

Expand Down
12 changes: 2 additions & 10 deletions controllers/quickstarts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ import (
"crypto/rand"
"encoding/hex"
"testing"
"time"

"github.com/ghodss/yaml"
"github.com/stretchr/testify/assert"
apierrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"

consolev1 "github.com/openshift/api/console/v1"
Expand Down Expand Up @@ -156,16 +154,10 @@ func TestDeleteQuickStarts(t *testing.T) {
assert.NoError(t, err)
}
for i := range tc.deleteStorageSystems {
var ss odfv1alpha1.StorageSystem
err := fakeReconciler.Client.Get(context.TODO(), types.NamespacedName{
Name: tc.deleteStorageSystems[i].Name, Namespace: tc.deleteStorageSystems[i].Namespace}, &ss)
err := fakeReconciler.Client.Delete(context.TODO(), &tc.deleteStorageSystems[i])
assert.NoError(t, err)
ss.SetDeletionTimestamp(&v1.Time{Time: time.Now()})
err = fakeReconciler.Client.Update(context.TODO(), &ss)
err = fakeReconciler.deleteResources(&tc.deleteStorageSystems[i], fakeReconciler.Log)
assert.NoError(t, err)
err = fakeReconciler.deleteResources(&ss, fakeReconciler.Log)
assert.NoError(t, err)

}
quickstarts = getActualQuickStarts(t, cases, fakeReconciler)
if tc.expectDeleted {
Expand Down
2 changes: 1 addition & 1 deletion controllers/storagecluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/predicate"

ocsv1 "github.com/red-hat-storage/ocs-operator/api/v1"
ocsv1 "github.com/red-hat-storage/ocs-operator/v4/api/v1"
odfv1alpha1 "github.com/red-hat-storage/odf-operator/api/v1alpha1"
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/storagecluster_controller_fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"k8s.io/client-go/tools/record"
"sigs.k8s.io/controller-runtime/pkg/client/fake"

ocsv1 "github.com/red-hat-storage/ocs-operator/api/v1"
ocsv1 "github.com/red-hat-storage/ocs-operator/v4/api/v1"
)

func GetFakeStorageCluster() *ocsv1.StorageCluster {
Expand Down
2 changes: 1 addition & 1 deletion controllers/storagecluster_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"k8s.io/apimachinery/pkg/types"
ctrl "sigs.k8s.io/controller-runtime"

ocsv1 "github.com/red-hat-storage/ocs-operator/api/v1"
ocsv1 "github.com/red-hat-storage/ocs-operator/v4/api/v1"
odfv1alpha1 "github.com/red-hat-storage/odf-operator/api/v1alpha1"
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/storagesystem_controller_fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
ibmv1alpha1 "github.com/IBM/ibm-storage-odf-operator/api/v1alpha1"
consolev1 "github.com/openshift/api/console/v1"
operatorv1alpha1 "github.com/operator-framework/api/pkg/operators/v1alpha1"
ocsv1 "github.com/red-hat-storage/ocs-operator/api/v1"
ocsv1 "github.com/red-hat-storage/ocs-operator/v4/api/v1"
odfv1alpha1 "github.com/red-hat-storage/odf-operator/api/v1alpha1"
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/vendors.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

ibmv1alpha1 "github.com/IBM/ibm-storage-odf-operator/api/v1alpha1"
ocsv1 "github.com/red-hat-storage/ocs-operator/api/v1"
ocsv1 "github.com/red-hat-storage/ocs-operator/v4/api/v1"
odfv1alpha1 "github.com/red-hat-storage/odf-operator/api/v1alpha1"
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/vendors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

conditionsv1 "github.com/openshift/custom-resource-status/conditions/v1"
ocsv1 "github.com/red-hat-storage/ocs-operator/api/v1"
ocsv1 "github.com/red-hat-storage/ocs-operator/v4/api/v1"
odfv1alpha1 "github.com/red-hat-storage/odf-operator/api/v1alpha1"
)

Expand Down
135 changes: 58 additions & 77 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,127 +3,126 @@ module github.com/red-hat-storage/odf-operator
go 1.20

require (
github.com/IBM/ibm-storage-odf-operator v1.3.1-0.20230201081526-a62cc98b3818
github.com/IBM/ibm-storage-odf-operator v1.3.1-0.20230608092004-7525dea20038
github.com/ghodss/yaml v1.0.1-0.20220118164431-d8423dcdf344
github.com/go-logr/logr v1.2.3
github.com/onsi/ginkgo/v2 v2.8.3
github.com/onsi/gomega v1.27.1
github.com/openshift/api v0.0.0-20230217170555-ab002e9c06da
github.com/go-logr/logr v1.2.4
github.com/onsi/ginkgo/v2 v2.11.0
github.com/onsi/gomega v1.27.9
github.com/openshift/api v0.0.0-20230720094506-afcbe27aec7c
github.com/openshift/custom-resource-status v1.1.2
github.com/operator-framework/api v0.17.3
github.com/prometheus/client_golang v1.14.0
github.com/red-hat-storage/ocs-operator v0.0.1-master.0.20230417084356-efe3f3bf8820
github.com/stretchr/testify v1.8.1
go.uber.org/multierr v1.9.0
k8s.io/api v0.26.4
k8s.io/apiextensions-apiserver v0.26.4
k8s.io/apimachinery v0.26.4
k8s.io/client-go v0.26.4
sigs.k8s.io/controller-runtime v0.14.4
github.com/operator-framework/api v0.17.7-0.20230626210316-aa3e49803e7b
github.com/prometheus/client_golang v1.16.0
github.com/red-hat-storage/ocs-operator/v4 v4.0.0-20230725054932-d3bbe2c842b0
github.com/stretchr/testify v1.8.4
go.uber.org/multierr v1.11.0
k8s.io/api v0.27.3
k8s.io/apiextensions-apiserver v0.27.3
k8s.io/apimachinery v0.27.3
k8s.io/client-go v0.27.3
sigs.k8s.io/controller-runtime v0.15.0
)

require (
cloud.google.com/go/compute v1.18.0 // indirect
cloud.google.com/go/iam v0.11.0 // indirect
cloud.google.com/go/compute v1.19.1 // indirect
cloud.google.com/go/kms v1.10.1 // indirect
cloud.google.com/go/monitoring v1.13.0 // indirect
github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect
github.com/armon/go-metrics v0.4.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect
github.com/coreos/pkg v0.0.0-20230209195159-6f3db454fdf8 // indirect
github.com/coreos/pkg v0.0.0-20230601102743-20bbbf26f4d8 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emicklei/go-restful/v3 v3.10.1 // indirect
github.com/emicklei/go-restful/v3 v3.10.2 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/fatih/color v1.14.1 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-logr/zapr v1.2.3 // indirect
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
github.com/go-logr/zapr v1.2.4 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.22.3 // indirect
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
github.com/go-openapi/swag v0.22.4 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/gnostic v0.6.9 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/pprof v0.0.0-20230510103437-eeec1cb781c3 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.4.0 // indirect
github.com/hashicorp/go-hclog v1.5.0 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.4 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.7 // indirect
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl v1.0.1-vault-5 // indirect
github.com/hashicorp/vault v1.13.1 // indirect
github.com/hashicorp/vault/api v1.9.0 // indirect
github.com/hashicorp/vault/api/auth/approle v0.4.0 // indirect
github.com/hashicorp/vault/sdk v0.8.1 // indirect
github.com/imdario/mergo v0.3.13 // indirect
github.com/hashicorp/vault v1.13.4 // indirect
github.com/hashicorp/vault/api v1.9.2 // indirect
github.com/hashicorp/vault/api/auth/approle v0.4.1 // indirect
github.com/hashicorp/vault/sdk v0.9.1 // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kube-object-storage/lib-bucket-provisioner v0.0.0-20221122204822-d1a8c34382f1 // indirect
github.com/libopenstorage/secrets v0.0.0-20230125005525-f66e865d3860 // indirect
github.com/libopenstorage/secrets v0.0.0-20230417161723-1022cc4d5aeb // 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.19 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mitchellh/go-homedir v1.1.0 // 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/noobaa/noobaa-operator/v5 v5.0.0-20230306134341-1874f52f83dd // indirect
github.com/noobaa/noobaa-operator/v5 v5.0.0-20230712090817-288892c02711 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/common v0.40.0 // indirect
github.com/prometheus/procfs v0.9.0 // indirect
github.com/rook/rook v1.11.4 // indirect
github.com/prometheus/client_model v0.4.0 // indirect
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.11.0 // indirect
github.com/rook/rook/pkg/apis v0.0.0-20230718221049-a4dc1b726518 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/crypto v0.6.0 // indirect
golang.org/x/net v0.7.0 // indirect
golang.org/x/oauth2 v0.5.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/term v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/crypto v0.11.0 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/oauth2 v0.9.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/term v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.6.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
golang.org/x/tools v0.9.3 // indirect
gomodules.xyz/jsonpatch/v2 v2.3.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.1 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/component-base v0.26.4 // indirect
k8s.io/klog/v2 v2.90.0 // indirect
k8s.io/kube-openapi v0.0.0-20230217203603-ff9a8e8fa21d // indirect
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect
k8s.io/component-base v0.27.3 // indirect
k8s.io/klog/v2 v2.100.1 // indirect
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
k8s.io/utils v0.0.0-20230711102312-30195339c3c7 // indirect
sigs.k8s.io/container-object-storage-interface-api v0.1.0 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)

replace (
github.com/kubernetes-incubator/external-storage => github.com/libopenstorage/external-storage v0.20.4-openstorage-rc3 // required by rook v1.7
github.com/portworx/sched-ops => github.com/portworx/sched-ops v0.20.4-openstorage-rc3 // required by rook v1.7
)
replace github.com/portworx/sched-ops => github.com/portworx/sched-ops v0.20.4-openstorage-rc3 // required by rook v1.7

exclude (
// This tag doesn't exist, but is imported by github.com/portworx/sched-ops.
Expand All @@ -133,25 +132,7 @@ exclude (
github.com/openshift/api v3.9.1-0.20190924102528-32369d4db2ad+incompatible
// Exclude pre-go-mod kubernetes tags, because they are older
// than v0.x releases but are picked when updating dependencies.
k8s.io/client-go v1.4.0
k8s.io/client-go v1.5.0
k8s.io/client-go v1.5.1
k8s.io/client-go v1.5.2
k8s.io/client-go v10.0.0+incompatible
k8s.io/client-go v11.0.0+incompatible
k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
k8s.io/client-go v12.0.0+incompatible
k8s.io/client-go v2.0.0+incompatible
k8s.io/client-go v2.0.0-alpha.1+incompatible
k8s.io/client-go v3.0.0+incompatible
k8s.io/client-go v3.0.0-beta.0+incompatible
k8s.io/client-go v4.0.0+incompatible
k8s.io/client-go v4.0.0-beta.0+incompatible
k8s.io/client-go v5.0.0+incompatible
k8s.io/client-go v5.0.1+incompatible
k8s.io/client-go v6.0.0+incompatible
k8s.io/client-go v7.0.0+incompatible
k8s.io/client-go v8.0.0+incompatible
k8s.io/client-go v9.0.0+incompatible
k8s.io/client-go v9.0.0-invalid+incompatible
)
Loading

0 comments on commit 1ea6cdd

Please sign in to comment.