Skip to content

Commit d905233

Browse files
committed
(go/v3) bump controller-runtime to v0.7.2
Signed-off-by: Eric Stroczynski <[email protected]>
1 parent 2b46403 commit d905233

26 files changed

+26
-26
lines changed

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

Lines changed: 1 addition & 1 deletion
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.7.0"
39+
ControllerRuntimeVersion = "v0.7.2"
4040
// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
4141
ControllerToolsVersion = "v0.4.1"
4242
// KustomizeVersion is the kubernetes-sigs/kustomize version to be used in the project

testdata/project-v3-addon/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ vet: ## Run go vet against code.
4646
ENVTEST_ASSETS_DIR=$(shell pwd)/testbin
4747
test: manifests generate fmt vet ## Run tests.
4848
mkdir -p ${ENVTEST_ASSETS_DIR}
49-
test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.7.0/hack/setup-envtest.sh
49+
test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.7.2/hack/setup-envtest.sh
5050
source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); go test ./... -coverprofile cover.out
5151

5252
##@ Build

testdata/project-v3-addon/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ require (
88
github.com/onsi/gomega v1.10.2
99
k8s.io/apimachinery v0.19.2
1010
k8s.io/client-go v0.19.2
11-
sigs.k8s.io/controller-runtime v0.7.0
11+
sigs.k8s.io/controller-runtime v0.7.2
1212
sigs.k8s.io/kubebuilder-declarative-pattern v0.0.0-20210113160450-b84d99da0217
1313
)

testdata/project-v3-config/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ vet: ## Run go vet against code.
4646
ENVTEST_ASSETS_DIR=$(shell pwd)/testbin
4747
test: manifests generate fmt vet ## Run tests.
4848
mkdir -p ${ENVTEST_ASSETS_DIR}
49-
test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.7.0/hack/setup-envtest.sh
49+
test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.7.2/hack/setup-envtest.sh
5050
source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); go test ./... -coverprofile cover.out
5151

5252
##@ Build

testdata/project-v3-config/controllers/admiral_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type AdmiralReconciler struct {
4646
// the user.
4747
//
4848
// For more details, check Reconcile and its Result here:
49-
// - https://pkg.go.dev/sigs.k8s.io/[email protected].0/pkg/reconcile
49+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/pkg/reconcile
5050
func (r *AdmiralReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5151
_ = r.Log.WithValues("admiral", req.NamespacedName)
5252

testdata/project-v3-config/controllers/captain_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type CaptainReconciler struct {
4646
// the user.
4747
//
4848
// For more details, check Reconcile and its Result here:
49-
// - https://pkg.go.dev/sigs.k8s.io/[email protected].0/pkg/reconcile
49+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/pkg/reconcile
5050
func (r *CaptainReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
5151
_ = r.Log.WithValues("captain", req.NamespacedName)
5252

testdata/project-v3-config/controllers/firstmate_controller.go

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

testdata/project-v3-config/controllers/laker_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type LakerReconciler 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].0/pkg/reconcile
47+
// - https://pkg.go.dev/sigs.k8s.io/[email protected].2/pkg/reconcile
4848
func (r *LakerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
4949
_ = r.Log.WithValues("laker", req.NamespacedName)
5050

testdata/project-v3-config/go.mod

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

testdata/project-v3-multigroup/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ vet: ## Run go vet against code.
4646
ENVTEST_ASSETS_DIR=$(shell pwd)/testbin
4747
test: manifests generate fmt vet ## Run tests.
4848
mkdir -p ${ENVTEST_ASSETS_DIR}
49-
test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.7.0/hack/setup-envtest.sh
49+
test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.7.2/hack/setup-envtest.sh
5050
source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); go test ./... -coverprofile cover.out
5151

5252
##@ Build

0 commit comments

Comments
 (0)