Skip to content

Commit 20f5854

Browse files
authored
update controller runtime to 0.16.0 (#34)
<!-- Thanks for sending a pull request! Here are some tips for you: 1. Ensure you have added the unit tests for your changes. 2. Ensure you have included output of manual testing done in the Testing section. 3. Ensure number of lines of code for new or existing methods are within the reasonable limit. 4. Ensure your change works on existing clusters after upgrade. --> **What type of PR is this?** Upgrade controller runtime to 0.16 <!-- Add one of the following: bug cleanup documentation feature --> **Which issue does this PR fix**: In older versions, manger blocks health endpoints server before cache is finished. **What does this PR do / Why do we need it**: This improvement can avoid controller restarts when cache need a long time to build up. Health checks won't fail during startup due to timeout on waiting cache. **If an issue # is not available please add steps to reproduce and the controller logs**: **Testing done on this change**: <!-- output of manual testing/integration tests results and also attach logs showing the fix being resolved --> **Automation added to e2e**: <!-- List the e2e tests you added as part of this PR. If no, create an issue with enhancement/testing label --> **Will this PR introduce any new dependencies?**: <!-- e.g. new K8s API --> **Will this break upgrades or downgrades. Has updating a running cluster been tested?**: **Does this PR introduce any user-facing change?**: <!-- If yes, a release note update is required: Enter your extended release note in the block below. If the PR requires additional actions from users switching to the new release, include the string "action required". --> ```release-note ``` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
2 parents 6d4852c + 6153334 commit 20f5854

File tree

3 files changed

+140
-150
lines changed

3 files changed

+140
-150
lines changed

go.mod

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,38 @@ require (
66
github.com/go-logr/logr v1.2.4
77
github.com/golang/mock v1.6.0
88
github.com/google/go-cmp v0.5.9
9-
github.com/onsi/ginkgo/v2 v2.9.5
10-
github.com/onsi/gomega v1.27.7
9+
github.com/onsi/ginkgo/v2 v2.11.0
10+
github.com/onsi/gomega v1.27.10
1111
github.com/pkg/errors v0.9.1
1212
github.com/samber/lo v1.38.1
1313
github.com/spf13/pflag v1.0.5
14-
github.com/stretchr/testify v1.8.1
15-
go.uber.org/zap v1.24.0
16-
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17
17-
k8s.io/api v0.27.2
18-
k8s.io/apimachinery v0.27.2
19-
k8s.io/client-go v0.27.2
20-
sigs.k8s.io/controller-runtime v0.15.0
14+
github.com/stretchr/testify v1.8.2
15+
go.uber.org/zap v1.25.0
16+
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e
17+
k8s.io/api v0.28.0
18+
k8s.io/apimachinery v0.28.0
19+
k8s.io/client-go v0.28.0
20+
sigs.k8s.io/controller-runtime v0.16.0
2121
)
2222

2323
require (
2424
github.com/beorn7/perks v1.0.1 // indirect
2525
github.com/cespare/xxhash/v2 v2.2.0 // indirect
2626
github.com/davecgh/go-spew v1.1.1 // indirect
2727
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
28-
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
28+
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
2929
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
3030
github.com/fsnotify/fsnotify v1.6.0 // indirect
3131
github.com/go-logr/zapr v1.2.4 // indirect
3232
github.com/go-openapi/jsonpointer v0.19.6 // indirect
33-
github.com/go-openapi/jsonreference v0.20.1 // indirect
33+
github.com/go-openapi/jsonreference v0.20.2 // indirect
3434
github.com/go-openapi/swag v0.22.3 // indirect
3535
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
3636
github.com/gogo/protobuf v1.3.2 // indirect
3737
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
3838
github.com/golang/protobuf v1.5.3 // indirect
39-
github.com/google/gnostic v0.5.7-v3refs // indirect
40-
github.com/google/gofuzz v1.1.0 // indirect
39+
github.com/google/gnostic-models v0.6.8 // indirect
40+
github.com/google/gofuzz v1.2.0 // indirect
4141
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
4242
github.com/google/uuid v1.3.0 // indirect
4343
github.com/imdario/mergo v0.3.6 // indirect
@@ -49,30 +49,29 @@ require (
4949
github.com/modern-go/reflect2 v1.0.2 // indirect
5050
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5151
github.com/pmezard/go-difflib v1.0.0 // indirect
52-
github.com/prometheus/client_golang v1.15.1 // indirect
52+
github.com/prometheus/client_golang v1.16.0 // indirect
5353
github.com/prometheus/client_model v0.4.0 // indirect
54-
github.com/prometheus/common v0.42.0 // indirect
55-
github.com/prometheus/procfs v0.9.0 // indirect
56-
go.uber.org/atomic v1.7.0 // indirect
57-
go.uber.org/multierr v1.6.0 // indirect
58-
golang.org/x/net v0.10.0 // indirect
59-
golang.org/x/oauth2 v0.5.0 // indirect
60-
golang.org/x/sys v0.8.0 // indirect
61-
golang.org/x/term v0.8.0 // indirect
62-
golang.org/x/text v0.9.0 // indirect
54+
github.com/prometheus/common v0.44.0 // indirect
55+
github.com/prometheus/procfs v0.10.1 // indirect
56+
go.uber.org/multierr v1.11.0 // indirect
57+
golang.org/x/net v0.13.0 // indirect
58+
golang.org/x/oauth2 v0.8.0 // indirect
59+
golang.org/x/sys v0.11.0 // indirect
60+
golang.org/x/term v0.10.0 // indirect
61+
golang.org/x/text v0.11.0 // indirect
6362
golang.org/x/time v0.3.0 // indirect
64-
golang.org/x/tools v0.9.1 // indirect
65-
gomodules.xyz/jsonpatch/v2 v2.3.0 // indirect
63+
golang.org/x/tools v0.9.3 // indirect
64+
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
6665
google.golang.org/appengine v1.6.7 // indirect
6766
google.golang.org/protobuf v1.30.0 // indirect
6867
gopkg.in/inf.v0 v0.9.1 // indirect
6968
gopkg.in/yaml.v2 v2.4.0 // indirect
7069
gopkg.in/yaml.v3 v3.0.1 // indirect
71-
k8s.io/apiextensions-apiserver v0.27.2 // indirect
72-
k8s.io/component-base v0.27.2 // indirect
73-
k8s.io/klog/v2 v2.90.1 // indirect
74-
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
75-
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect
70+
k8s.io/apiextensions-apiserver v0.28.0 // indirect
71+
k8s.io/component-base v0.28.0 // indirect
72+
k8s.io/klog/v2 v2.100.1 // indirect
73+
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
74+
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
7675
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
7776
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
7877
sigs.k8s.io/yaml v1.3.0 // indirect

0 commit comments

Comments
 (0)