From 96808a51343e87e82fd596cb732904a146bc4b2a Mon Sep 17 00:00:00 2001 From: Kornilios Kourtis Date: Wed, 24 Jul 2024 09:14:29 +0200 Subject: [PATCH] make: update install/k8s when running make crds The crds also live in the helm charts, so update install/k8s whenever we run make crds. Also update docs. Signed-off-by: Kornilios Kourtis --- Makefile | 2 ++ docs/content/en/docs/contribution-guide/making-changes.md | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index caeb6960804..11e8a876eb0 100644 --- a/Makefile +++ b/Makefile @@ -394,6 +394,8 @@ crds: ## Generate kubebuilder files. $(GO) mod tidy $(GO) mod vendor $(GO) mod verify + # YAML CRDs also live in the helm charts, so update them as well. + $(MAKE) -C install/kubernetes tetragon/crds-yaml .PHONY: vendor vendor: ## Tidy and vendor Go modules. diff --git a/docs/content/en/docs/contribution-guide/making-changes.md b/docs/content/en/docs/contribution-guide/making-changes.md index d278937b416..43ad8d4a2ba 100644 --- a/docs/content/en/docs/contribution-guide/making-changes.md +++ b/docs/content/en/docs/contribution-guide/making-changes.md @@ -75,7 +75,6 @@ these files (`pkg/k8s/`), you need to run code generation: ```shell make crds -make -C install/kubernetes tetragon/crds-yaml ``` ## Making changes to Helm chart