Commit 0e9b2be
build(deps): bump kubernetes group to 0.36.1, controller-runtime to 0.24.1, Go to 1.26.3
Brings REL_5_8 in line with the dependency baseline already running on
main (PRs #4479 and #4483) so that the branch picks up:
- k8s.io/* 0.35.2 -> 0.36.1
- k8s.io/apiextensions-apiserver / apiserver 0.35.0 -> 0.36.0
- k8s.io/kube-openapi refreshed to the v0.36.1 timestamp
- k8s.io/klog/v2 2.130.1 -> 2.140.0
- k8s.io/utils refreshed
- sigs.k8s.io/controller-runtime 0.23.1 -> 0.24.1
- sigs.k8s.io/apiserver-network-proxy/konnectivity-client 0.31.2 -> 0.34.0
- sigs.k8s.io/structured-merge-diff/v6 to a stable v6.3.2
- go directive 1.25.0 -> 1.26.3 (matches main)
- golang.org/x/time 0.9.0 -> 0.14.0
- google.golang.org/protobuf 1.36.11 -> 1.36.12 pre-release
This supersedes Dependabot PR #4476: that PR mixes k8s 0.36.0 with
controller-runtime 0.23.3, which fails to compile because client-go
v0.36 added a HasSyncedChecker method to ResourceEventHandlerRegistration
that controller-runtime 0.23.x does not implement. Bumping cr to 0.24.1
is the supported combination.
Required source / config backports (mirror PR #4483 on main):
- config/crd/bases/postgres-operator.crunchydata.com_postgresclusters.yaml:
`make generate-crd` strips the now-obsolete "ProcMountType feature
flag" sentence from the procMount field description, since the gate
was promoted to GA in Kubernetes 1.36.
- internal/controller/postgrescluster/volumes.go: handle the new
`corev1.PersistentVolumeClaimUnused` condition (KEP-4901, K8s 1.36)
in the existing no-op `case` so that the `exhaustive` linter is
satisfied.
- internal/controller/postgrescluster/pgbackrest.go: fix a `go vet`
warning that surfaced under Go 1.26 by adding a %q verb to the
`EventRecorder.Eventf` call that was passing `repoName` without a
matching format directive.
- .golangci.yaml: add SA1019 exclusions for two new deprecations:
* `managed.FieldsV1.Raw` (k8s.io/apimachinery v0.36 deprecated
direct field access; tests still exercise the legacy field).
* `scheme.Builder` (controller-runtime v0.24 deprecated; the
recommended replacement requires restructuring our api packages
and is left for a follow-up).
`generate-rbac` is unchanged from REL_5_8 and was not regenerated here
because controller-gen tries to parse `internal/postgres/...`, which
transitively imports `pg_query_go` and fails to build on macOS hosts
(unrelated to this bump).
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 98ab425 commit 0e9b2be
6 files changed
Lines changed: 81 additions & 68 deletions
File tree
- config/crd/bases
- internal/controller/postgrescluster
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
192 | 205 | | |
193 | 206 | | |
194 | 207 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10241 | 10241 | | |
10242 | 10242 | | |
10243 | 10243 | | |
10244 | | - | |
10245 | 10244 | | |
10246 | 10245 | | |
10247 | 10246 | | |
| |||
16060 | 16059 | | |
16061 | 16060 | | |
16062 | 16061 | | |
16063 | | - | |
16064 | 16062 | | |
16065 | 16063 | | |
16066 | 16064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
65 | | - | |
| 64 | + | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | | - | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
75 | 73 | | |
76 | | - | |
| 74 | + | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
| |||
102 | 100 | | |
103 | 101 | | |
104 | 102 | | |
105 | | - | |
| 103 | + | |
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
113 | | - | |
| 111 | + | |
114 | 112 | | |
115 | 113 | | |
116 | 114 | | |
117 | 115 | | |
118 | | - | |
| 116 | + | |
119 | 117 | | |
120 | 118 | | |
121 | 119 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
127 | 126 | | |
128 | | - | |
| 127 | + | |
129 | 128 | | |
0 commit comments