Skip to content

Commit

Permalink
go/v3-alpha: bump ControllerToolsVersion to v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
estroz committed Nov 17, 2020
1 parent 3a971ea commit 239c6d2
Show file tree
Hide file tree
Showing 20 changed files with 18 additions and 27 deletions.
2 changes: 1 addition & 1 deletion pkg/plugin/v3/scaffolds/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const (
// ControllerRuntimeVersion is the kubernetes-sigs/controller-runtime version to be used in the project
ControllerRuntimeVersion = "v0.7.0-alpha.6"
// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
ControllerToolsVersion = "2f203e490e8af05e988fdac460151ff3a93f3ee7"
ControllerToolsVersion = "v0.4.1"
// KustomizeVersion is the kubernetes-sigs/kustomize version to be used in the project
KustomizeVersion = "v3.5.4"

Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3-addon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ docker-push:
# Download controller-gen locally if necessary
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
controller-gen:
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@2f203e490e8af05e988fdac460151ff3a93f3ee7)
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1)

# Download kustomize locally if necessary
KUSTOMIZE = $(shell pwd)/bin/kustomize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: admirals.crew.testproject.org
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: captains.crew.testproject.org
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: firstmates.crew.testproject.org
spec:
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3-multigroup/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ docker-push:
# Download controller-gen locally if necessary
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
controller-gen:
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@2f203e490e8af05e988fdac460151ff3a93f3ee7)
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1)

# Download kustomize locally if necessary
KUSTOMIZE = $(shell pwd)/bin/kustomize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: captains.crew.testproject.org
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: healthcheckpolicies.foo.policy.testproject.org
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: krakens.sea-creatures.testproject.org
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: leviathans.sea-creatures.testproject.org
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: cruisers.ship.testproject.org
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: destroyers.ship.testproject.org
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: frigates.ship.testproject.org
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: lakers.testproject.org
spec:
Expand Down
6 changes: 0 additions & 6 deletions testdata/project-v3-multigroup/config/webhook/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ webhooks:
- admissionReviewVersions:
- v1beta1
clientConfig:
caBundle: Cg==
service:
name: webhook-service
namespace: system
Expand All @@ -30,7 +29,6 @@ webhooks:
- admissionReviewVersions:
- v1beta1
clientConfig:
caBundle: Cg==
service:
name: webhook-service
namespace: system
Expand All @@ -51,7 +49,6 @@ webhooks:
- admissionReviewVersions:
- v1beta1
clientConfig:
caBundle: Cg==
service:
name: webhook-service
namespace: system
Expand Down Expand Up @@ -80,7 +77,6 @@ webhooks:
- admissionReviewVersions:
- v1beta1
clientConfig:
caBundle: Cg==
service:
name: webhook-service
namespace: system
Expand All @@ -101,7 +97,6 @@ webhooks:
- admissionReviewVersions:
- v1beta1
clientConfig:
caBundle: Cg==
service:
name: webhook-service
namespace: system
Expand All @@ -122,7 +117,6 @@ webhooks:
- admissionReviewVersions:
- v1beta1
clientConfig:
caBundle: Cg==
service:
name: webhook-service
namespace: system
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ docker-push:
# Download controller-gen locally if necessary
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
controller-gen:
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@2f203e490e8af05e988fdac460151ff3a93f3ee7)
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1)

# Download kustomize locally if necessary
KUSTOMIZE = $(shell pwd)/bin/kustomize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: admirals.crew.testproject.org
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: captains.crew.testproject.org
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1-0.20200902055707-2f203e490e8a
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: firstmates.crew.testproject.org
spec:
Expand Down
3 changes: 0 additions & 3 deletions testdata/project-v3/config/webhook/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ webhooks:
- admissionReviewVersions:
- v1beta1
clientConfig:
caBundle: Cg==
service:
name: webhook-service
namespace: system
Expand All @@ -30,7 +29,6 @@ webhooks:
- admissionReviewVersions:
- v1beta1
clientConfig:
caBundle: Cg==
service:
name: webhook-service
namespace: system
Expand Down Expand Up @@ -59,7 +57,6 @@ webhooks:
- admissionReviewVersions:
- v1beta1
clientConfig:
caBundle: Cg==
service:
name: webhook-service
namespace: system
Expand Down

0 comments on commit 239c6d2

Please sign in to comment.