Skip to content

Commit

Permalink
[cherry-pick] Use k8s 1.21.1 toolchain (#994) (#1003)
Browse files Browse the repository at this point in the history
/cherry-pick

Signed-off-by: Tamal Saha <tamal@appscode.com>

Co-authored-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
1gtm and tamalsaha authored Jun 18, 2021
1 parent 3bb9795 commit 442197d
Show file tree
Hide file tree
Showing 95 changed files with 4,920 additions and 934 deletions.
35 changes: 16 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,23 @@ module stash.appscode.dev/mongodb
go 1.15

require (
cloud.google.com/go v0.58.0 // indirect
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.1.3
go.bytebuilders.dev/license-verifier/kubernetes v0.9.1
go.bytebuilders.dev/license-verifier/kubernetes v0.9.2
gomodules.xyz/flags v0.1.0
gomodules.xyz/go-sh v0.1.0
gomodules.xyz/logs v0.0.2
gomodules.xyz/pointer v0.0.0-20201105071923-daf60fa55209
gomodules.xyz/x v0.0.5
k8s.io/api v0.21.0
k8s.io/apimachinery v0.21.0
k8s.io/client-go v0.21.0
k8s.io/api v0.21.1
k8s.io/apimachinery v0.21.1
k8s.io/client-go v0.21.1
k8s.io/klog/v2 v2.8.0
kmodules.xyz/client-go v0.0.0-20210605021217-cabaee7b953e
kmodules.xyz/custom-resources v0.0.0-20210605111625-741fcb992541
kmodules.xyz/offshoot-api v0.0.0-20210504040651-7951e351f0f5
kubedb.dev/apimachinery v0.18.1-0.20210605201001-29627ec663dc
stash.appscode.dev/apimachinery v0.14.0
kmodules.xyz/client-go v0.0.0-20210617233340-13d22e91512b
kmodules.xyz/custom-resources v0.0.0-20210618003440-c6bb400da153
kmodules.xyz/offshoot-api v0.0.0-20210618005544-5217a24765da
kubedb.dev/apimachinery v0.18.1-0.20210618122709-e98fb31f5dfb
stash.appscode.dev/apimachinery v0.14.1-0.20210618025054-0cae462d7e04
)

replace bitbucket.org/ww/goautoneg => gomodules.xyz/goautoneg v0.0.0-20120707110453-a547fc61f48d
Expand Down Expand Up @@ -91,8 +90,6 @@ replace github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.4.1

replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.5

replace github.com/jetstack/cert-manager => github.com/kmodules/cert-manager v1.3.1-0.20210429172957-c5436c14ce0e

replace github.com/prometheus-operator/prometheus-operator => github.com/prometheus-operator/prometheus-operator v0.47.0

replace github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring => github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.47.0
Expand All @@ -109,21 +106,21 @@ replace google.golang.org/grpc => google.golang.org/grpc v1.27.1

replace helm.sh/helm/v3 => github.com/kubepack/helm/v3 v3.1.0-rc.1.0.20210503022716-7e2d4913a125

replace k8s.io/api => k8s.io/api v0.21.0
replace k8s.io/api => k8s.io/api v0.21.1

replace k8s.io/apimachinery => github.com/kmodules/apimachinery v0.21.1-rc.0.0.20210405112358-ad4c2289ba4c
replace k8s.io/apimachinery => github.com/kmodules/apimachinery v0.21.2-rc.0.0.20210617231004-332981b97d2d

replace k8s.io/apiserver => github.com/kmodules/apiserver v0.21.1-0.20210427013338-53dee545b83c
replace k8s.io/apiserver => github.com/kmodules/apiserver v0.21.2-0.20210617231348-daadbf0c8d5e

replace k8s.io/cli-runtime => k8s.io/cli-runtime v0.21.0
replace k8s.io/cli-runtime => k8s.io/cli-runtime v0.21.1

replace k8s.io/client-go => k8s.io/client-go v0.21.0
replace k8s.io/client-go => k8s.io/client-go v0.21.1

replace k8s.io/component-base => k8s.io/component-base v0.21.0
replace k8s.io/component-base => k8s.io/component-base v0.21.1

replace k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7

replace k8s.io/kubernetes => github.com/kmodules/kubernetes v1.22.0-alpha.0.0.20210427080452-22d2e66bae50
replace k8s.io/kubernetes => github.com/kmodules/kubernetes v1.22.0-alpha.0.0.20210617232219-a432af45d932

replace k8s.io/utils => k8s.io/utils v0.0.0-20201110183641-67b214c5f920

Expand Down
227 changes: 136 additions & 91 deletions go.sum

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions vendor/github.com/evanphx/json-patch/.travis.yml

This file was deleted.

19 changes: 19 additions & 0 deletions vendor/github.com/evanphx/json-patch/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 18 additions & 15 deletions vendor/github.com/evanphx/json-patch/merge.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vendor/github.com/evanphx/json-patch/patch.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/google/go-cmp/cmp/report_compare.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 21 additions & 4 deletions vendor/github.com/google/go-cmp/cmp/report_slices.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/go.bytebuilders.dev/license-verifier/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ endif
### These variables should not need tweaking.
###

SRC_PKGS := apis # directories which hold app source excluding tests (not vendored)
SRC_PKGS := apis info # directories which hold app source excluding tests (not vendored)
SRC_DIRS := $(SRC_PKGS) *.go # directories which hold app source (not vendored)

DOCKER_PLATFORMS := linux/amd64 linux/arm linux/arm64
Expand Down
10 changes: 10 additions & 0 deletions vendor/go.bytebuilders.dev/license-verifier/info/lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,19 @@ var (

ProductName string // This has been renamed to Features
ProductUID string

prodRegistrationAPIEndpoint string = "https://byte.builders/api/v1/register"
qaRegistrationAPIEndpoint string = "https://appscode.ninja/api/v1/register"
)

func SkipLicenseVerification() bool {
v, _ := strconv.ParseBool(EnforceLicense)
return !v
}

func RegistrationAPIEndpoint() string {
if SkipLicenseVerification() {
return qaRegistrationAPIEndpoint
}
return prodRegistrationAPIEndpoint
}
10 changes: 3 additions & 7 deletions vendor/go.bytebuilders.dev/license-verifier/kubernetes/go.mod
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
module go.bytebuilders.dev/license-verifier/kubernetes

go 1.15
go 1.16

require (
github.com/gogo/protobuf v1.3.2
go.bytebuilders.dev/license-verifier v0.9.1
go.bytebuilders.dev/license-verifier v0.9.2
k8s.io/api v0.21.0
k8s.io/apimachinery v0.21.0
k8s.io/apiserver v0.21.0
k8s.io/client-go v0.21.0
k8s.io/klog/v2 v2.8.0
k8s.io/kube-aggregator v0.21.0
kmodules.xyz/client-go v0.0.0-20210504004915-de8d9776f2a1
kmodules.xyz/client-go v0.0.0-20210514054158-27e164b43474
)

replace go.bytebuilders.dev/license-verifier => ./..

replace cloud.google.com/go => cloud.google.com/go v0.54.0

replace github.com/golang/protobuf => github.com/golang/protobuf v1.4.3
Loading

0 comments on commit 442197d

Please sign in to comment.