Skip to content

Commit d7f5713

Browse files
committed
guestbook-operator: update controller-gen
We want up-to-date annotations on the CRD for patches.
1 parent cfd0b42 commit d7f5713

File tree

6 files changed

+28
-546
lines changed

6 files changed

+28
-546
lines changed

examples/guestbook-operator/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
# Image URL to use all building/pushing image targets
33
IMG ?= controller:latest
4-
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
5-
CRD_OPTIONS ?= "crd:trivialVersions=true,preserveUnknownFields=false"
4+
# Produce v1 CRDs
5+
CRD_OPTIONS ?= "crd:crdVersions=v1"
66

77
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
88
ifeq (,$(shell go env GOBIN))
@@ -98,7 +98,7 @@ CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
9898

9999
## Tool Versions
100100
KUSTOMIZE_VERSION ?= v3.8.7
101-
CONTROLLER_TOOLS_VERSION ?= v0.4.1
101+
CONTROLLER_TOOLS_VERSION ?= v0.17.3
102102

103103
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
104104
.PHONY: kustomize

examples/guestbook-operator/api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/guestbook-operator/config/crd/addons.example.org_guestbooks.yaml

Lines changed: 0 additions & 269 deletions
This file was deleted.

0 commit comments

Comments
 (0)