Commit 2639954
committed
Bump controller-runtime to v0.18.4
Bump the vendored sigs.k8s.io/controller-runtime package to v0.18.4, the
latest release, which uses the k8s.io/* v0.30.1 packages.
Bump the vendored k8s.io/client-go package to v0.30.2. A previous commit
bumped the other k8s.io/* packages to v0.30.2 but left k8s.io/client-go at
v0.29.0. However, controller-runtime v0.18.4 requires k8s.io/client-go
v0.30.0 or newer because of a breaking change in the client-go
leaderelection package.
go get sigs.k8s.io/[email protected]
go mod edit -replace=k8s.io/client-go=k8s.io/[email protected]
go mod tidy
go mod vendor
Update calls to controller.Watch to adapt to breaking changes in
controller-runtime. Namely, the handler and predicate arguments have been
removed from Watch and are now specified as options on the source.
Additionally, the source.Kind type now has a type parameter, so it is
necessary to specify a client.Object type argument.
Follow-up to commit fdb6215, which bumped
the other k8s.io/* packages to v0.30.2.
This commit fixes OCPBUGS-38079.
https://issues.redhat.com/browse/OCPBUGS-38079
* go.mod: Bump.
* go.sum: Regenerate.
* pkg/operator/controller/canary/controller.go (New):
* pkg/operator/controller/certificate-publisher/controller.go (New):
* pkg/operator/controller/certificate/controller.go (New):
* pkg/operator/controller/clientca-configmap/controller.go (New):
* pkg/operator/controller/configurable-route/controller.go (New):
* pkg/operator/controller/crl/controller.go (New):
* pkg/operator/controller/dns/controller.go (New):
* pkg/operator/controller/gateway-service-dns/controller.go (NewUnmanaged):
* pkg/operator/controller/gatewayapi/controller.go (New):
* pkg/operator/controller/gatewayapi/controller_test.go
((fakeController).Watch):
* pkg/operator/controller/gatewayclass/controller.go (NewUnmanaged):
* pkg/operator/controller/ingress/controller.go (New):
* pkg/operator/controller/ingressclass/controller.go (New):
* pkg/operator/controller/monitoring-dashboard/controller.go (New):
* pkg/operator/controller/route-metrics/controller.go (New):
* pkg/operator/controller/status/controller.go (New):
* pkg/operator/controller/sync-http-error-code-configmap/controller.go
(New): Update for the new controller.Watch and source.Kind type signatures.
* vendor/*: Regenerate.1 parent 3384355 commit 2639954
File tree
215 files changed
+15832
-1990
lines changed- pkg/operator/controller
- canary
- certificate-publisher
- certificate
- clientca-configmap
- configurable-route
- crl
- dns
- gateway-service-dns
- gatewayapi
- gatewayclass
- ingressclass
- ingress
- monitoring-dashboard
- route-metrics
- status
- sync-http-error-code-configmap
- vendor
- github.com/evanphx/json-patch/v5
- internal/json
- golang.org/x/net/websocket
- k8s.io
- apimachinery/pkg/util
- httpstream/wsstream
- portforward
- api
- apidiscovery/v2
- storagemigration/v1alpha1
- client-go
- applyconfigurations
- admissionregistration/v1
- batch/v1
- core/v1
- internal
- resource/v1alpha2
- storagemigration/v1alpha1
- discovery
- features
- informers
- admissionregistration/v1
- resource/v1alpha2
- storagemigration
- v1alpha1
- kubernetes
- scheme
- typed
- admissionregistration/v1
- resource/v1alpha2
- storagemigration/v1alpha1
- listers
- admissionregistration/v1
- resource/v1alpha2
- storagemigration/v1alpha1
- metadata
- restmapper
- scale/scheme
- appsint
- appsv1beta1
- appsv1beta2
- autoscalingv1
- extensionsint
- extensionsv1beta1
- tools
- cache
- clientcmd
- api
- v1
- leaderelection
- record
- remotecommand
- transport/websocket
- util/flowcontrol
- component-base/config
- v1alpha1
- utils/integer
- sigs.k8s.io/controller-runtime/pkg
- cache
- internal
- client
- fake
- config
- v1alpha1
- controller
- event
- handler
- internal
- controller
- source
- manager
- metrics
- server
- predicate
- source
- webhook/admission
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
215 files changed
+15832
-1990
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
937 | | - | |
938 | | - | |
| 937 | + | |
| 938 | + | |
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
| |||
1617 | 1617 | | |
1618 | 1618 | | |
1619 | 1619 | | |
1620 | | - | |
1621 | 1620 | | |
| 1621 | + | |
| 1622 | + | |
1622 | 1623 | | |
1623 | 1624 | | |
1624 | 1625 | | |
| |||
1646 | 1647 | | |
1647 | 1648 | | |
1648 | 1649 | | |
1649 | | - | |
1650 | 1650 | | |
| 1651 | + | |
| 1652 | + | |
1651 | 1653 | | |
1652 | 1654 | | |
1653 | 1655 | | |
| |||
2503 | 2505 | | |
2504 | 2506 | | |
2505 | 2507 | | |
2506 | | - | |
2507 | 2508 | | |
2508 | 2509 | | |
2509 | 2510 | | |
| |||
2947 | 2948 | | |
2948 | 2949 | | |
2949 | 2950 | | |
2950 | | - | |
2951 | 2951 | | |
2952 | 2952 | | |
2953 | 2953 | | |
| |||
2972 | 2972 | | |
2973 | 2973 | | |
2974 | 2974 | | |
2975 | | - | |
2976 | 2975 | | |
2977 | 2976 | | |
2978 | 2977 | | |
| |||
2989 | 2988 | | |
2990 | 2989 | | |
2991 | 2990 | | |
2992 | | - | |
2993 | | - | |
| 2991 | + | |
| 2992 | + | |
2994 | 2993 | | |
2995 | 2994 | | |
2996 | 2995 | | |
| |||
3014 | 3013 | | |
3015 | 3014 | | |
3016 | 3015 | | |
3017 | | - | |
3018 | 3016 | | |
3019 | 3017 | | |
3020 | 3018 | | |
| |||
3026 | 3024 | | |
3027 | 3025 | | |
3028 | 3026 | | |
3029 | | - | |
3030 | 3027 | | |
3031 | 3028 | | |
3032 | 3029 | | |
| |||
3040 | 3037 | | |
3041 | 3038 | | |
3042 | 3039 | | |
3043 | | - | |
3044 | 3040 | | |
3045 | 3041 | | |
3046 | 3042 | | |
| |||
3057 | 3053 | | |
3058 | 3054 | | |
3059 | 3055 | | |
3060 | | - | |
3061 | 3056 | | |
3062 | 3057 | | |
3063 | 3058 | | |
| |||
3108 | 3103 | | |
3109 | 3104 | | |
3110 | 3105 | | |
3111 | | - | |
3112 | | - | |
| 3106 | + | |
| 3107 | + | |
3113 | 3108 | | |
3114 | 3109 | | |
3115 | 3110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
Lines changed: 20 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
79 | 61 | | |
80 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
| |||
145 | 141 | | |
146 | 142 | | |
147 | 143 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 144 | + | |
153 | 145 | | |
154 | 146 | | |
155 | 147 | | |
156 | 148 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 149 | + | |
162 | 150 | | |
163 | 151 | | |
164 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments