From 0f50ef648d5dc936fb404deeacbfcacba918af95 Mon Sep 17 00:00:00 2001 From: Kenneth Jenkins <51246568+kenjenkins@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:13:06 -0700 Subject: [PATCH] remove empty boilerplate file (#1050) The command to generate the DeepCopy code for the ingress CRD objects references an empty headerFile. The headerFile parameter appears to be optional, so I think we can skip it instead of passing an empty file. --- Makefile | 2 +- hack/boilerplate.go.txt | 0 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 hack/boilerplate.go.txt diff --git a/Makefile b/Makefile index a247952c..96901bc1 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ generated: config/crd/bases/ingress.pomerium.io_pomerium.yaml apis/ingress/v1/zz apis/ingress/v1/zz_generated.deepcopy.go: apis/ingress/v1/pomerium_types.go @echo "==> $@" - @$(CONTROLLER_GEN) object:headerFile=./hack/boilerplate.go.txt paths=$(CRD_PACKAGE) output:dir=apis/ingress/v1 + @$(CONTROLLER_GEN) object paths=$(CRD_PACKAGE) output:dir=apis/ingress/v1 config/crd/bases/ingress.pomerium.io_pomerium.yaml: apis/ingress/v1/pomerium_types.go @echo "==> $@" diff --git a/hack/boilerplate.go.txt b/hack/boilerplate.go.txt deleted file mode 100644 index e69de29b..00000000