Skip to content

Commit e769e76

Browse files
authored
✨ update controller-runtime to 0.16.2 (#3625)
update controller-runtime to 0.16.2 Signed-off-by: lowang-bh <[email protected]>
1 parent 6893605 commit e769e76

File tree

29 files changed

+31
-31
lines changed

29 files changed

+31
-31
lines changed

docs/book/src/component-config-tutorial/testdata/project/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.20
55
require (
66
k8s.io/apimachinery v0.28.1
77
k8s.io/client-go v0.28.1
8-
sigs.k8s.io/controller-runtime v0.16.1
8+
sigs.k8s.io/controller-runtime v0.16.2
99
)
1010

1111
require (

docs/book/src/component-config-tutorial/testdata/project/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5Ohx
204204
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM=
205205
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 h1:qY1Ad8PODbnymg2pRbkyMT/ylpTrCM8P2RJ0yroCyIk=
206206
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
207-
sigs.k8s.io/controller-runtime v0.16.1 h1:+15lzrmHsE0s2kNl0Dl8cTchI5Cs8qofo5PGcPrV9z0=
208-
sigs.k8s.io/controller-runtime v0.16.1/go.mod h1:vpMu3LpI5sYWtujJOa2uPK61nB5rbwlN7BAB8aSLvGU=
207+
sigs.k8s.io/controller-runtime v0.16.2 h1:mwXAVuEk3EQf478PQwQ48zGOXvW27UJc8NHktQVuIPU=
208+
sigs.k8s.io/controller-runtime v0.16.2/go.mod h1:vpMu3LpI5sYWtujJOa2uPK61nB5rbwlN7BAB8aSLvGU=
209209
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
210210
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
211211
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE=

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
k8s.io/api v0.28.1
1010
k8s.io/apimachinery v0.28.1
1111
k8s.io/client-go v0.28.1
12-
sigs.k8s.io/controller-runtime v0.16.1
12+
sigs.k8s.io/controller-runtime v0.16.2
1313
)
1414

1515
require (

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5Ohx
218218
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM=
219219
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 h1:qY1Ad8PODbnymg2pRbkyMT/ylpTrCM8P2RJ0yroCyIk=
220220
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
221-
sigs.k8s.io/controller-runtime v0.16.1 h1:+15lzrmHsE0s2kNl0Dl8cTchI5Cs8qofo5PGcPrV9z0=
222-
sigs.k8s.io/controller-runtime v0.16.1/go.mod h1:vpMu3LpI5sYWtujJOa2uPK61nB5rbwlN7BAB8aSLvGU=
221+
sigs.k8s.io/controller-runtime v0.16.2 h1:mwXAVuEk3EQf478PQwQ48zGOXvW27UJc8NHktQVuIPU=
222+
sigs.k8s.io/controller-runtime v0.16.2/go.mod h1:vpMu3LpI5sYWtujJOa2uPK61nB5rbwlN7BAB8aSLvGU=
223223
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
224224
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
225225
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE=

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
@@ -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/[email protected].1/pkg/reconcile
98+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131

3232
const (
3333
// ControllerRuntimeVersion is the kubernetes-sigs/controller-runtime version to be used in the project
34-
ControllerRuntimeVersion = "v0.16.1"
34+
ControllerRuntimeVersion = "v0.16.2"
3535
// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
3636
ControllerToolsVersion = "v0.13.0"
3737
// EnvtestK8SVersion is the k8s version used to do the scaffold

testdata/project-v4-multigroup/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
k8s.io/api v0.28.1
99
k8s.io/apimachinery v0.28.1
1010
k8s.io/client-go v0.28.1
11-
sigs.k8s.io/controller-runtime v0.16.1
11+
sigs.k8s.io/controller-runtime v0.16.2
1212
)
1313

1414
require (

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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
47+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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/crew/captain_controller.go

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
80+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
80+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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/lakers_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type LakersReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/pkg/reconcile
4949
func (r *LakersReconciler) 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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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-deploy-image/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
k8s.io/api v0.28.1
99
k8s.io/apimachinery v0.28.1
1010
k8s.io/client-go v0.28.1
11-
sigs.k8s.io/controller-runtime v0.16.1
11+
sigs.k8s.io/controller-runtime v0.16.2
1212
)
1313

1414
require (

testdata/project-v4-with-deploy-image/internal/controller/busybox_controller.go

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
80+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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-deploy-image/internal/controller/memcached_controller.go

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
80+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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-with-grafana/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.20
55
require (
66
k8s.io/apimachinery v0.28.1
77
k8s.io/client-go v0.28.1
8-
sigs.k8s.io/controller-runtime v0.16.1
8+
sigs.k8s.io/controller-runtime v0.16.2
99
)
1010

1111
require (

testdata/project-v4/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
k8s.io/api v0.28.1
99
k8s.io/apimachinery v0.28.1
1010
k8s.io/client-go v0.28.1
11-
sigs.k8s.io/controller-runtime v0.16.1
11+
sigs.k8s.io/controller-runtime v0.16.2
1212
)
1313

1414
require (

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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/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

Lines changed: 1 addition & 1 deletion
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/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/pkg/reconcile
4949
func (r *CaptainReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type FirstMateReconciler struct {
4545
// the user.
4646
//
4747
// For more details, check Reconcile and its Result here:
48-
// - https://pkg.go.dev/sigs.k8s.io/[email protected].1/pkg/reconcile
48+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/pkg/reconcile
4949
func (r *FirstMateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5050
_ = log.FromContext(ctx)
5151

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type LakerReconciler struct {
4343
// the user.
4444
//
4545
// For more details, check Reconcile and its Result here:
46-
// - https://pkg.go.dev/sigs.k8s.io/[email protected].1/pkg/reconcile
46+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/pkg/reconcile
4747
func (r *LakerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
4848
_ = log.FromContext(ctx)
4949

0 commit comments

Comments
 (0)