Skip to content

Commit

Permalink
make: update install/k8s when running make crds
Browse files Browse the repository at this point in the history
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 <kornilios@isovalent.com>
  • Loading branch information
kkourt committed Jul 31, 2024
1 parent 1a0ed6c commit 96808a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion docs/content/en/docs/contribution-guide/making-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96808a5

Please sign in to comment.