Skip to content

Commit 4fbe8f6

Browse files
✨ (go/v4): Upgrade controller-runtime from v0.23.0 to v0.23.1 (#5402)
chore(go/v4): Upgrade controller-runtime from v0.23.0 to v0.23.1
1 parent 1933691 commit 4fbe8f6

File tree

41 files changed

+62
-62
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+62
-62
lines changed

docs/book/src/cronjob-tutorial/testdata/project/cmd/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func main() {
141141

142142
// Metrics endpoint is enabled in 'config/default/kustomization.yaml'. The Metrics options configure the server.
143143
// More info:
144-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.0/pkg/metrics/server
144+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.1/pkg/metrics/server
145145
// - https://book.kubebuilder.io/reference/metrics.html
146146
metricsServerOptions := metricsserver.Options{
147147
BindAddress: metricsAddr,
@@ -153,7 +153,7 @@ func main() {
153153
// FilterProvider is used to protect the metrics endpoint with authn/authz.
154154
// These configurations ensure that only authorized users and service accounts
155155
// can access the metrics endpoint. The RBAC are configured in 'config/rbac/kustomization.yaml'. More info:
156-
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.0/pkg/metrics/filters#WithAuthenticationAndAuthorization
156+
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.1/pkg/metrics/filters#WithAuthenticationAndAuthorization
157157
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization
158158
}
159159

docs/book/src/cronjob-tutorial/testdata/project/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
k8s.io/apimachinery v0.35.0
1111
k8s.io/client-go v0.35.0
1212
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4
13-
sigs.k8s.io/controller-runtime v0.23.0
13+
sigs.k8s.io/controller-runtime v0.23.1
1414
)
1515

1616
require (
@@ -96,6 +96,6 @@ require (
9696
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
9797
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
9898
sigs.k8s.io/randfill v1.0.0 // indirect
99-
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
99+
sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482 // indirect
100100
sigs.k8s.io/yaml v1.6.0 // indirect
101101
)

docs/book/src/cronjob-tutorial/testdata/project/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,13 @@ k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 h1:SjGebBtkBqHFOli+05xYbK8YF1Dzk
245245
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
246246
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 h1:jpcvIRr3GLoUoEKRkHKSmGjxb6lWwrBlJsXc+eUYQHM=
247247
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw=
248-
sigs.k8s.io/controller-runtime v0.23.0 h1:Ubi7klJWiwEWqDY+odSVZiFA0aDSevOCXpa38yCSYu8=
249-
sigs.k8s.io/controller-runtime v0.23.0/go.mod h1:DBOIr9NsprUqCZ1ZhsuJ0wAnQSIxY/C6VjZbmLgw0j0=
248+
sigs.k8s.io/controller-runtime v0.23.1 h1:TjJSM80Nf43Mg21+RCy3J70aj/W6KyvDtOlpKf+PupE=
249+
sigs.k8s.io/controller-runtime v0.23.1/go.mod h1:B6COOxKptp+YaUT5q4l6LqUJTRpizbgf9KSRNdQGns0=
250250
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg=
251251
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg=
252252
sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU=
253253
sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
254-
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 h1:jTijUJbW353oVOd9oTlifJqOGEkUw2jB/fXCbTiQEco=
255-
sigs.k8s.io/structured-merge-diff/v6 v6.3.0/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE=
254+
sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482 h1:2WOzJpHUBVrrkDjU4KBT8n5LDcj824eX0I5UKcgeRUs=
255+
sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE=
256256
sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs=
257257
sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4=

docs/book/src/cronjob-tutorial/testdata/project/internal/controller/cronjob_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ var (
108108
// the user.
109109
//
110110
// For more details, check Reconcile and its Result here:
111-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.0/pkg/reconcile
111+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.1/pkg/reconcile
112112
// nolint:gocyclo
113113
func (r *CronJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
114114
log := logf.FromContext(ctx)

docs/book/src/getting-started/testdata/project/cmd/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func main() {
121121

122122
// Metrics endpoint is enabled in 'config/default/kustomization.yaml'. The Metrics options configure the server.
123123
// More info:
124-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.0/pkg/metrics/server
124+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.1/pkg/metrics/server
125125
// - https://book.kubebuilder.io/reference/metrics.html
126126
metricsServerOptions := metricsserver.Options{
127127
BindAddress: metricsAddr,
@@ -133,7 +133,7 @@ func main() {
133133
// FilterProvider is used to protect the metrics endpoint with authn/authz.
134134
// These configurations ensure that only authorized users and service accounts
135135
// can access the metrics endpoint. The RBAC are configured in 'config/rbac/kustomization.yaml'. More info:
136-
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.0/pkg/metrics/filters#WithAuthenticationAndAuthorization
136+
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.1/pkg/metrics/filters#WithAuthenticationAndAuthorization
137137
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization
138138
}
139139

docs/book/src/getting-started/testdata/project/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
k8s.io/apimachinery v0.35.0
1010
k8s.io/client-go v0.35.0
1111
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4
12-
sigs.k8s.io/controller-runtime v0.23.0
12+
sigs.k8s.io/controller-runtime v0.23.1
1313
)
1414

1515
require (
@@ -95,6 +95,6 @@ require (
9595
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
9696
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
9797
sigs.k8s.io/randfill v1.0.0 // indirect
98-
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
98+
sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482 // indirect
9999
sigs.k8s.io/yaml v1.6.0 // indirect
100100
)

docs/book/src/getting-started/testdata/project/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@ k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 h1:SjGebBtkBqHFOli+05xYbK8YF1Dzk
243243
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
244244
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 h1:jpcvIRr3GLoUoEKRkHKSmGjxb6lWwrBlJsXc+eUYQHM=
245245
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw=
246-
sigs.k8s.io/controller-runtime v0.23.0 h1:Ubi7klJWiwEWqDY+odSVZiFA0aDSevOCXpa38yCSYu8=
247-
sigs.k8s.io/controller-runtime v0.23.0/go.mod h1:DBOIr9NsprUqCZ1ZhsuJ0wAnQSIxY/C6VjZbmLgw0j0=
246+
sigs.k8s.io/controller-runtime v0.23.1 h1:TjJSM80Nf43Mg21+RCy3J70aj/W6KyvDtOlpKf+PupE=
247+
sigs.k8s.io/controller-runtime v0.23.1/go.mod h1:B6COOxKptp+YaUT5q4l6LqUJTRpizbgf9KSRNdQGns0=
248248
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg=
249249
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg=
250250
sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU=
251251
sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
252-
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 h1:jTijUJbW353oVOd9oTlifJqOGEkUw2jB/fXCbTiQEco=
253-
sigs.k8s.io/structured-merge-diff/v6 v6.3.0/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE=
252+
sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482 h1:2WOzJpHUBVrrkDjU4KBT8n5LDcj824eX0I5UKcgeRUs=
253+
sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE=
254254
sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs=
255255
sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4=

docs/book/src/getting-started/testdata/project/internal/controller/memcached_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ type MemcachedReconciler struct {
6868
// - About Controllers: https://kubernetes.io/docs/concepts/architecture/controller/
6969
//
7070
// For more details, check Reconcile and its Result here:
71-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.0/pkg/reconcile
71+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.1/pkg/reconcile
7272
func (r *MemcachedReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
7373
log := logf.FromContext(ctx)
7474

docs/book/src/multiversion-tutorial/testdata/project/cmd/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func main() {
142142

143143
// Metrics endpoint is enabled in 'config/default/kustomization.yaml'. The Metrics options configure the server.
144144
// More info:
145-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.0/pkg/metrics/server
145+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.1/pkg/metrics/server
146146
// - https://book.kubebuilder.io/reference/metrics.html
147147
metricsServerOptions := metricsserver.Options{
148148
BindAddress: metricsAddr,
@@ -154,7 +154,7 @@ func main() {
154154
// FilterProvider is used to protect the metrics endpoint with authn/authz.
155155
// These configurations ensure that only authorized users and service accounts
156156
// can access the metrics endpoint. The RBAC are configured in 'config/rbac/kustomization.yaml'. More info:
157-
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.0/pkg/metrics/filters#WithAuthenticationAndAuthorization
157+
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.1/pkg/metrics/filters#WithAuthenticationAndAuthorization
158158
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization
159159
}
160160

docs/book/src/multiversion-tutorial/testdata/project/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
k8s.io/apimachinery v0.35.0
1111
k8s.io/client-go v0.35.0
1212
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4
13-
sigs.k8s.io/controller-runtime v0.23.0
13+
sigs.k8s.io/controller-runtime v0.23.1
1414
)
1515

1616
require (
@@ -96,6 +96,6 @@ require (
9696
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
9797
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
9898
sigs.k8s.io/randfill v1.0.0 // indirect
99-
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
99+
sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482 // indirect
100100
sigs.k8s.io/yaml v1.6.0 // indirect
101101
)

0 commit comments

Comments
 (0)