Skip to content

Commit 3ec5c57

Browse files
Upgrade controller-runtime from v0.19.0 to v0.19.1
1 parent 81cf04f commit 3ec5c57

File tree

38 files changed

+47
-47
lines changed

38 files changed

+47
-47
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func main() {
118118

119119
// Metrics endpoint is enabled in 'config/default/kustomization.yaml'. The Metrics options configure the server.
120120
// More info:
121-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/server
121+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/server
122122
// - https://book.kubebuilder.io/reference/metrics.html
123123
metricsServerOptions := metricsserver.Options{
124124
BindAddress: metricsAddr,
@@ -136,7 +136,7 @@ func main() {
136136
// FilterProvider is used to protect the metrics endpoint with authn/authz.
137137
// These configurations ensure that only authorized users and service accounts
138138
// can access the metrics endpoint. The RBAC are configured in 'config/rbac/kustomization.yaml'. More info:
139-
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/filters#WithAuthenticationAndAuthorization
139+
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/filters#WithAuthenticationAndAuthorization
140140
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization
141141
}
142142

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
k8s.io/api v0.31.0
1010
k8s.io/apimachinery v0.31.0
1111
k8s.io/client-go v0.31.0
12-
sigs.k8s.io/controller-runtime v0.19.0
12+
sigs.k8s.io/controller-runtime v0.19.1
1313
)
1414

1515
require (

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1
243243
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
244244
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 h1:2770sDpzrjjsAtVhSeUFseziht227YAWYHLGNM8QPwY=
245245
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw=
246-
sigs.k8s.io/controller-runtime v0.19.0 h1:nWVM7aq+Il2ABxwiCizrVDSlmDcshi9llbaFbC0ji/Q=
247-
sigs.k8s.io/controller-runtime v0.19.0/go.mod h1:iRmWllt8IlaLjvTTDLhRBXIEtkCK6hwVBJJsYS9Ajf4=
246+
sigs.k8s.io/controller-runtime v0.19.1 h1:Son+Q40+Be3QWb+niBXAg2vFiYWolDjjRfO8hn/cxOk=
247+
sigs.k8s.io/controller-runtime v0.19.1/go.mod h1:iRmWllt8IlaLjvTTDLhRBXIEtkCK6hwVBJJsYS9Ajf4=
248248
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
249249
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
250250
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4=

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ var (
9595
// the user.
9696
//
9797
// For more details, check Reconcile and its Result here:
98-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
98+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
9999
func (r *CronJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
100100
log := log.FromContext(ctx)
101101

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func main() {
9898

9999
// Metrics endpoint is enabled in 'config/default/kustomization.yaml'. The Metrics options configure the server.
100100
// More info:
101-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/server
101+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/server
102102
// - https://book.kubebuilder.io/reference/metrics.html
103103
metricsServerOptions := metricsserver.Options{
104104
BindAddress: metricsAddr,
@@ -116,7 +116,7 @@ func main() {
116116
// FilterProvider is used to protect the metrics endpoint with authn/authz.
117117
// These configurations ensure that only authorized users and service accounts
118118
// can access the metrics endpoint. The RBAC are configured in 'config/rbac/kustomization.yaml'. More info:
119-
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/filters#WithAuthenticationAndAuthorization
119+
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/filters#WithAuthenticationAndAuthorization
120120
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization
121121
}
122122

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
k8s.io/api v0.31.0
99
k8s.io/apimachinery v0.31.0
1010
k8s.io/client-go v0.31.0
11-
sigs.k8s.io/controller-runtime v0.19.0
11+
sigs.k8s.io/controller-runtime v0.19.1
1212
)
1313

1414
require (

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1
241241
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
242242
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 h1:2770sDpzrjjsAtVhSeUFseziht227YAWYHLGNM8QPwY=
243243
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw=
244-
sigs.k8s.io/controller-runtime v0.19.0 h1:nWVM7aq+Il2ABxwiCizrVDSlmDcshi9llbaFbC0ji/Q=
245-
sigs.k8s.io/controller-runtime v0.19.0/go.mod h1:iRmWllt8IlaLjvTTDLhRBXIEtkCK6hwVBJJsYS9Ajf4=
244+
sigs.k8s.io/controller-runtime v0.19.1 h1:Son+Q40+Be3QWb+niBXAg2vFiYWolDjjRfO8hn/cxOk=
245+
sigs.k8s.io/controller-runtime v0.19.1/go.mod h1:iRmWllt8IlaLjvTTDLhRBXIEtkCK6hwVBJJsYS9Ajf4=
246246
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
247247
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
248248
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4=

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

+1-1
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.19.0/pkg/reconcile
71+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
7272
func (r *MemcachedReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
7373
log := log.FromContext(ctx)
7474

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func main() {
117117

118118
// Metrics endpoint is enabled in 'config/default/kustomization.yaml'. The Metrics options configure the server.
119119
// More info:
120-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/server
120+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/server
121121
// - https://book.kubebuilder.io/reference/metrics.html
122122
metricsServerOptions := metricsserver.Options{
123123
BindAddress: metricsAddr,
@@ -135,7 +135,7 @@ func main() {
135135
// FilterProvider is used to protect the metrics endpoint with authn/authz.
136136
// These configurations ensure that only authorized users and service accounts
137137
// can access the metrics endpoint. The RBAC are configured in 'config/rbac/kustomization.yaml'. More info:
138-
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/filters#WithAuthenticationAndAuthorization
138+
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/filters#WithAuthenticationAndAuthorization
139139
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization
140140
}
141141

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
k8s.io/api v0.31.0
1010
k8s.io/apimachinery v0.31.0
1111
k8s.io/client-go v0.31.0
12-
sigs.k8s.io/controller-runtime v0.19.0
12+
sigs.k8s.io/controller-runtime v0.19.1
1313
)
1414

1515
require (

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1
243243
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
244244
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 h1:2770sDpzrjjsAtVhSeUFseziht227YAWYHLGNM8QPwY=
245245
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw=
246-
sigs.k8s.io/controller-runtime v0.19.0 h1:nWVM7aq+Il2ABxwiCizrVDSlmDcshi9llbaFbC0ji/Q=
247-
sigs.k8s.io/controller-runtime v0.19.0/go.mod h1:iRmWllt8IlaLjvTTDLhRBXIEtkCK6hwVBJJsYS9Ajf4=
246+
sigs.k8s.io/controller-runtime v0.19.1 h1:Son+Q40+Be3QWb+niBXAg2vFiYWolDjjRfO8hn/cxOk=
247+
sigs.k8s.io/controller-runtime v0.19.1/go.mod h1:iRmWllt8IlaLjvTTDLhRBXIEtkCK6hwVBJJsYS9Ajf4=
248248
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
249249
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
250250
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4=

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ var (
9595
// the user.
9696
//
9797
// For more details, check Reconcile and its Result here:
98-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
98+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
9999
func (r *CronJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
100100
log := log.FromContext(ctx)
101101

pkg/plugins/golang/v4/scaffolds/init.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636

3737
const (
3838
// ControllerRuntimeVersion is the kubernetes-sigs/controller-runtime version to be used in the project
39-
ControllerRuntimeVersion = "v0.19.0"
39+
ControllerRuntimeVersion = "v0.19.1"
4040
// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
4141
ControllerToolsVersion = "v0.16.4"
4242
// EnvtestK8SVersion is the k8s version used to do the scaffold

testdata/project-v4-multigroup/cmd/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func main() {
134134

135135
// Metrics endpoint is enabled in 'config/default/kustomization.yaml'. The Metrics options configure the server.
136136
// More info:
137-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/server
137+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/server
138138
// - https://book.kubebuilder.io/reference/metrics.html
139139
metricsServerOptions := metricsserver.Options{
140140
BindAddress: metricsAddr,
@@ -152,7 +152,7 @@ func main() {
152152
// FilterProvider is used to protect the metrics endpoint with authn/authz.
153153
// These configurations ensure that only authorized users and service accounts
154154
// can access the metrics endpoint. The RBAC are configured in 'config/rbac/kustomization.yaml'. More info:
155-
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/filters#WithAuthenticationAndAuthorization
155+
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/filters#WithAuthenticationAndAuthorization
156156
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization
157157
}
158158

testdata/project-v4-multigroup/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
k8s.io/api v0.31.1
1010
k8s.io/apimachinery v0.31.1
1111
k8s.io/client-go v0.31.1
12-
sigs.k8s.io/controller-runtime v0.19.0
12+
sigs.k8s.io/controller-runtime v0.19.1
1313
)
1414

1515
require (

testdata/project-v4-multigroup/internal/controller/apps/deployment_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type DeploymentReconciler struct {
4444
// the user.
4545
//
4646
// For more details, check Reconcile and its Result here:
47-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
47+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4848
func (r *DeploymentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
4949
_ = log.FromContext(ctx)
5050

testdata/project-v4-multigroup/internal/controller/cert-manager/certificate_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type CertificateReconciler struct {
4444
// the user.
4545
//
4646
// For more details, check Reconcile and its Result here:
47-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
47+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4848
func (r *CertificateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
4949
_ = log.FromContext(ctx)
5050

testdata/project-v4-multigroup/internal/controller/crew/captain_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type CaptainReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4949
func (r *CaptainReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

testdata/project-v4-multigroup/internal/controller/example.com/busybox_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ type BusyboxReconciler struct {
7777
// For further info:
7878
// - About Operator Pattern: https://kubernetes.io/docs/concepts/extend-kubernetes/operator/
7979
// - About Controllers: https://kubernetes.io/docs/concepts/architecture/controller/
80-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
80+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
8181
func (r *BusyboxReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
8282
log := log.FromContext(ctx)
8383

testdata/project-v4-multigroup/internal/controller/example.com/memcached_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ type MemcachedReconciler struct {
7777
// For further info:
7878
// - About Operator Pattern: https://kubernetes.io/docs/concepts/extend-kubernetes/operator/
7979
// - About Controllers: https://kubernetes.io/docs/concepts/architecture/controller/
80-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
80+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
8181
func (r *MemcachedReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
8282
log := log.FromContext(ctx)
8383

testdata/project-v4-multigroup/internal/controller/fiz/bar_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type BarReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4949
func (r *BarReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

testdata/project-v4-multigroup/internal/controller/foo.policy/healthcheckpolicy_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type HealthCheckPolicyReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4949
func (r *HealthCheckPolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

testdata/project-v4-multigroup/internal/controller/foo/bar_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type BarReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4949
func (r *BarReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

testdata/project-v4-multigroup/internal/controller/sea-creatures/kraken_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type KrakenReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4949
func (r *KrakenReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

testdata/project-v4-multigroup/internal/controller/sea-creatures/leviathan_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type LeviathanReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4949
func (r *LeviathanReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

testdata/project-v4-multigroup/internal/controller/ship/cruiser_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type CruiserReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4949
func (r *CruiserReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

testdata/project-v4-multigroup/internal/controller/ship/destroyer_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type DestroyerReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4949
func (r *DestroyerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

testdata/project-v4-multigroup/internal/controller/ship/frigate_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type FrigateReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4949
func (r *FrigateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

testdata/project-v4-with-plugins/cmd/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func main() {
9999

100100
// Metrics endpoint is enabled in 'config/default/kustomization.yaml'. The Metrics options configure the server.
101101
// More info:
102-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/server
102+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/server
103103
// - https://book.kubebuilder.io/reference/metrics.html
104104
metricsServerOptions := metricsserver.Options{
105105
BindAddress: metricsAddr,
@@ -117,7 +117,7 @@ func main() {
117117
// FilterProvider is used to protect the metrics endpoint with authn/authz.
118118
// These configurations ensure that only authorized users and service accounts
119119
// can access the metrics endpoint. The RBAC are configured in 'config/rbac/kustomization.yaml'. More info:
120-
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/filters#WithAuthenticationAndAuthorization
120+
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/filters#WithAuthenticationAndAuthorization
121121
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization
122122
}
123123

testdata/project-v4-with-plugins/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
k8s.io/api v0.31.0
99
k8s.io/apimachinery v0.31.0
1010
k8s.io/client-go v0.31.0
11-
sigs.k8s.io/controller-runtime v0.19.0
11+
sigs.k8s.io/controller-runtime v0.19.1
1212
)
1313

1414
require (

testdata/project-v4-with-plugins/internal/controller/busybox_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ type BusyboxReconciler struct {
7777
// For further info:
7878
// - About Operator Pattern: https://kubernetes.io/docs/concepts/extend-kubernetes/operator/
7979
// - About Controllers: https://kubernetes.io/docs/concepts/architecture/controller/
80-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
80+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
8181
func (r *BusyboxReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
8282
log := log.FromContext(ctx)
8383

testdata/project-v4-with-plugins/internal/controller/memcached_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ type MemcachedReconciler struct {
7777
// For further info:
7878
// - About Operator Pattern: https://kubernetes.io/docs/concepts/extend-kubernetes/operator/
7979
// - About Controllers: https://kubernetes.io/docs/concepts/architecture/controller/
80-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
80+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
8181
func (r *MemcachedReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
8282
log := log.FromContext(ctx)
8383

testdata/project-v4/cmd/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func main() {
104104

105105
// Metrics endpoint is enabled in 'config/default/kustomization.yaml'. The Metrics options configure the server.
106106
// More info:
107-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/server
107+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/server
108108
// - https://book.kubebuilder.io/reference/metrics.html
109109
metricsServerOptions := metricsserver.Options{
110110
BindAddress: metricsAddr,
@@ -122,7 +122,7 @@ func main() {
122122
// FilterProvider is used to protect the metrics endpoint with authn/authz.
123123
// These configurations ensure that only authorized users and service accounts
124124
// can access the metrics endpoint. The RBAC are configured in 'config/rbac/kustomization.yaml'. More info:
125-
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/metrics/filters#WithAuthenticationAndAuthorization
125+
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/metrics/filters#WithAuthenticationAndAuthorization
126126
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization
127127
}
128128

testdata/project-v4/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
k8s.io/api v0.31.1
1010
k8s.io/apimachinery v0.31.1
1111
k8s.io/client-go v0.31.1
12-
sigs.k8s.io/controller-runtime v0.19.0
12+
sigs.k8s.io/controller-runtime v0.19.1
1313
)
1414

1515
require (

testdata/project-v4/internal/controller/admiral_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type AdmiralReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4949
func (r *AdmiralReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

testdata/project-v4/internal/controller/captain_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type CaptainReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
4949
func (r *CaptainReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

0 commit comments

Comments
 (0)