Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d243637

Browse files
authoredSep 15, 2022
Upgrade the dependencies (#687)
* Upgrade the dependencies * Upgrade controller-gen to v0.9.2
1 parent 617d80c commit d243637

16 files changed

+242
-368
lines changed
 

‎.github/actions/gen-install-scripts/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN cd /usr/local/bin &&\
1515
RUN CONTROLLER_GEN_TMP_DIR=$(mktemp -d) && \
1616
cd $CONTROLLER_GEN_TMP_DIR && \
1717
go mod init tmp && \
18-
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1 && \
18+
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.9.2 && \
1919
rm -rf $CONTROLLER_GEN_TMP_DIR && \
2020
CONTROLLER_GEN=${GOBIN}/controller-gen
2121

‎Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ generate: controller-gen ## Generate code
149149
.PHONY: controller-gen
150150
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
151151
controller-gen: ## Download controller-gen locally if necessary
152-
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1)
152+
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.9.2)
153153

154154

155155
.PHONY: kustomize
@@ -269,4 +269,4 @@ post-install-hook:
269269

270270
.PHONY: x509-cert
271271
x509-cert: ## Create X.509 cert at path tmp/x509/ (see docs/x509-user.md)
272-
go run scripts/create_x509.go
272+
go run scripts/create_x509.go

‎bundle/manifests/atlas.mongodb.com_atlasbackuppolicies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.4.1
5+
controller-gen.kubebuilder.io/version: v0.9.2
66
creationTimestamp: null
77
labels:
88
app.kubernetes.io/component: controller

‎bundle/manifests/atlas.mongodb.com_atlasbackupschedules.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.4.1
5+
controller-gen.kubebuilder.io/version: v0.9.2
66
creationTimestamp: null
77
labels:
88
app.kubernetes.io/component: controller

‎bundle/manifests/atlas.mongodb.com_atlasdatabaseusers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.4.1
5+
controller-gen.kubebuilder.io/version: v0.9.2
66
creationTimestamp: null
77
labels:
88
app.kubernetes.io/component: controller

‎bundle/manifests/atlas.mongodb.com_atlasdeployments.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.4.1
5+
controller-gen.kubebuilder.io/version: v0.9.2
66
creationTimestamp: null
77
labels:
88
app.kubernetes.io/component: controller

‎bundle/manifests/atlas.mongodb.com_atlasprojects.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.4.1
5+
controller-gen.kubebuilder.io/version: v0.9.2
66
creationTimestamp: null
77
labels:
88
app.kubernetes.io/component: controller

‎config/crd/bases/atlas.mongodb.com_atlasbackuppolicies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.1
7+
controller-gen.kubebuilder.io/version: v0.9.2
88
creationTimestamp: null
99
name: atlasbackuppolicies.atlas.mongodb.com
1010
spec:

‎config/crd/bases/atlas.mongodb.com_atlasbackupschedules.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.1
7+
controller-gen.kubebuilder.io/version: v0.9.2
88
creationTimestamp: null
99
name: atlasbackupschedules.atlas.mongodb.com
1010
spec:

‎config/crd/bases/atlas.mongodb.com_atlasdatabaseusers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.1
7+
controller-gen.kubebuilder.io/version: v0.9.2
88
creationTimestamp: null
99
name: atlasdatabaseusers.atlas.mongodb.com
1010
spec:

‎config/crd/bases/atlas.mongodb.com_atlasdeployments.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.1
7+
controller-gen.kubebuilder.io/version: v0.9.2
88
creationTimestamp: null
99
name: atlasdeployments.atlas.mongodb.com
1010
spec:

‎config/crd/bases/atlas.mongodb.com_atlasprojects.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.4.1
7+
controller-gen.kubebuilder.io/version: v0.9.2
88
creationTimestamp: null
99
name: atlasprojects.atlas.mongodb.com
1010
spec:

‎go.mod

Lines changed: 48 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,104 +4,114 @@ go 1.18
44

55
require (
66
github.com/Azure/azure-sdk-for-go v66.0.0+incompatible
7-
github.com/Azure/go-autorest/autorest v0.11.24
7+
github.com/Azure/go-autorest/autorest v0.11.28
88
github.com/Azure/go-autorest/autorest/azure/auth v0.5.11
99
github.com/Azure/go-autorest/autorest/to v0.4.0
10-
github.com/aws/aws-sdk-go v1.44.16
10+
github.com/aws/aws-sdk-go v1.44.98
1111
github.com/fatih/structtag v1.2.0
1212
github.com/go-logr/zapr v1.2.3
13-
github.com/google/go-cmp v0.5.7
13+
github.com/google/go-cmp v0.5.9
1414
github.com/google/uuid v1.3.0
1515
github.com/hashicorp/go-multierror v1.1.1
1616
github.com/mongodb-forks/digest v1.0.4
1717
github.com/onsi/ginkgo/v2 v2.1.4
1818
github.com/onsi/gomega v1.19.0
1919
github.com/pborman/uuid v1.2.1
2020
github.com/sethvargo/go-password v0.2.0
21-
github.com/stretchr/testify v1.7.5
21+
github.com/stretchr/testify v1.8.0
2222
go.mongodb.org/atlas v0.16.0
23-
go.mongodb.org/mongo-driver v1.8.3
24-
go.uber.org/zap v1.21.0
25-
google.golang.org/api v0.70.0
23+
go.mongodb.org/mongo-driver v1.10.2
24+
go.uber.org/zap v1.23.0
25+
google.golang.org/api v0.96.0
2626
gopkg.in/yaml.v3 v3.0.1
27-
k8s.io/api v0.23.4
28-
k8s.io/apimachinery v0.23.4
29-
k8s.io/client-go v0.23.4
30-
sigs.k8s.io/controller-runtime v0.11.1
27+
k8s.io/api v0.25.0
28+
k8s.io/apimachinery v0.25.0
29+
k8s.io/client-go v0.25.0
30+
sigs.k8s.io/controller-runtime v0.13.0
3131
)
3232

3333
require (
34-
cloud.google.com/go/compute v1.5.0 // indirect
34+
cloud.google.com/go/compute v1.7.0 // indirect
3535
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
36-
github.com/Azure/go-autorest/autorest/adal v0.9.18 // indirect
36+
github.com/Azure/go-autorest/autorest/adal v0.9.20 // indirect
3737
github.com/Azure/go-autorest/autorest/azure/cli v0.4.5 // indirect
3838
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
3939
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
4040
github.com/Azure/go-autorest/logger v0.2.1 // indirect
4141
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
42+
github.com/PuerkitoBio/purell v1.1.1 // indirect
43+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
4244
github.com/beorn7/perks v1.0.1 // indirect
4345
github.com/cespare/xxhash/v2 v2.1.2 // indirect
4446
github.com/davecgh/go-spew v1.1.1 // indirect
4547
github.com/dimchansky/utfbom v1.1.1 // indirect
48+
github.com/emicklei/go-restful/v3 v3.8.0 // indirect
4649
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
47-
github.com/fsnotify/fsnotify v1.5.1 // indirect
48-
github.com/go-logr/logr v1.2.2 // indirect
49-
github.com/go-stack/stack v1.8.1 // indirect
50+
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
51+
github.com/fsnotify/fsnotify v1.5.4 // indirect
52+
github.com/go-logr/logr v1.2.3 // indirect
53+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
54+
github.com/go-openapi/jsonreference v0.19.5 // indirect
55+
github.com/go-openapi/swag v0.19.14 // indirect
5056
github.com/gogo/protobuf v1.3.2 // indirect
5157
github.com/golang-jwt/jwt/v4 v4.3.0 // indirect
5258
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
5359
github.com/golang/protobuf v1.5.2 // indirect
5460
github.com/golang/snappy v0.0.4 // indirect
61+
github.com/google/gnostic v0.5.7-v3refs // indirect
5562
github.com/google/go-querystring v1.1.0 // indirect
5663
github.com/google/gofuzz v1.2.0 // indirect
57-
github.com/googleapis/gax-go/v2 v2.1.1 // indirect
58-
github.com/googleapis/gnostic v0.5.5 // indirect
64+
github.com/googleapis/enterprise-certificate-proxy v0.1.0 // indirect
65+
github.com/googleapis/gax-go/v2 v2.4.0 // indirect
5966
github.com/hashicorp/errwrap v1.0.0 // indirect
6067
github.com/imdario/mergo v0.3.12 // indirect
6168
github.com/jmespath/go-jmespath v0.4.0 // indirect
69+
github.com/josharian/intern v1.0.0 // indirect
6270
github.com/json-iterator/go v1.1.12 // indirect
6371
github.com/klauspost/compress v1.14.4 // indirect
72+
github.com/mailru/easyjson v0.7.6 // indirect
6473
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
6574
github.com/mitchellh/go-homedir v1.1.0 // indirect
6675
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
6776
github.com/modern-go/reflect2 v1.0.2 // indirect
77+
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
78+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
6879
github.com/openlyinc/pointy v1.1.2 // indirect
6980
github.com/pkg/errors v0.9.1 // indirect
7081
github.com/pmezard/go-difflib v1.0.0 // indirect
71-
github.com/prometheus/client_golang v1.12.1 // indirect
82+
github.com/prometheus/client_golang v1.12.2 // indirect
7283
github.com/prometheus/client_model v0.2.0 // indirect
7384
github.com/prometheus/common v0.32.1 // indirect
7485
github.com/prometheus/procfs v0.7.3 // indirect
7586
github.com/spf13/pflag v1.0.5 // indirect
7687
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
77-
github.com/xdg-go/scram v1.1.0 // indirect
78-
github.com/xdg-go/stringprep v1.0.2 // indirect
88+
github.com/xdg-go/scram v1.1.1 // indirect
89+
github.com/xdg-go/stringprep v1.0.3 // indirect
7990
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
8091
go.opencensus.io v0.23.0 // indirect
8192
go.uber.org/atomic v1.9.0 // indirect
8293
go.uber.org/multierr v1.7.0 // indirect
83-
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
84-
golang.org/x/net v0.0.0-20220526153639-5463443f8c37 // indirect
85-
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
86-
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
87-
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
94+
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
95+
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
96+
golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094 // indirect
97+
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
98+
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 // indirect
8899
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
89100
golang.org/x/text v0.3.7 // indirect
90-
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect
91-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
101+
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect
92102
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
93103
google.golang.org/appengine v1.6.7 // indirect
94-
google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf // indirect
95-
google.golang.org/grpc v1.44.0 // indirect
96-
google.golang.org/protobuf v1.27.1 // indirect
104+
google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f // indirect
105+
google.golang.org/grpc v1.47.0 // indirect
106+
google.golang.org/protobuf v1.28.0 // indirect
97107
gopkg.in/inf.v0 v0.9.1 // indirect
98108
gopkg.in/yaml.v2 v2.4.0 // indirect
99-
k8s.io/apiextensions-apiserver v0.23.4 // indirect
100-
k8s.io/component-base v0.23.4 // indirect
101-
k8s.io/klog/v2 v2.40.1 // indirect
102-
k8s.io/kube-openapi v0.0.0-20220124234850-424119656bbf // indirect
103-
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect
104-
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
105-
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
109+
k8s.io/apiextensions-apiserver v0.25.0 // indirect
110+
k8s.io/component-base v0.25.0 // indirect
111+
k8s.io/klog/v2 v2.70.1 // indirect
112+
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
113+
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed // indirect
114+
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
115+
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
106116
sigs.k8s.io/yaml v1.3.0 // indirect
107117
)
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Please sign in to comment.