Skip to content

Commit 11144ca

Browse files
authored
upgrade controller-tools and regenerate manifests/code in order to support objectmeta in podtemplatespec (#260)
1 parent 0c9da98 commit 11144ca

3 files changed

Lines changed: 3857 additions & 867 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ TAG_WITHOUT_PREFIX := $(shell echo $(TAG) | sed s/^v//)
1212
IMG ?= quay.io/evryfs/github-actions-runner-operator:$(TAG)
1313
GHCR_IMG ?= ghcr.io/evryfs/github-actions-runner-operator:${TAG}
1414
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
15-
CRD_OPTIONS ?= "crd:trivialVersions=true"
15+
CRD_OPTIONS ?= "crd:trivialVersions=true,generateEmbeddedObjectMeta=true"
1616

1717
# Default bundle image tag
1818
BUNDLE_IMG ?= quay.io/evryfs/github-actions-runner-operator-bundle:$(TAG)
@@ -91,7 +91,7 @@ ifeq (, $(shell which controller-gen))
9191
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
9292
cd $$CONTROLLER_GEN_TMP_DIR ;\
9393
go mod init tmp ;\
94-
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.5.0 ;\
94+
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.6.0 ;\
9595
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
9696
}
9797
CONTROLLER_GEN=$(GOBIN)/controller-gen

api/v1alpha1/zz_generated.deepcopy.go

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

0 commit comments

Comments
 (0)