Skip to content

Commit 222f7bc

Browse files
committed
Add certs-clean target to Makefile and implement clean functionality in TLS cert generation
1 parent 175be42 commit 222f7bc

File tree

5 files changed

+415
-365
lines changed

5 files changed

+415
-365
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,3 +272,11 @@ ifeq (, $(shell command -v go))
272272
else
273273
make -C hack/tls-cert-gen run
274274
endif
275+
276+
.PHONY: certs-clean
277+
certs-clean: ## Clean just in time TLS certificates needed for tests and examples
278+
ifeq (, $(shell command -v go))
279+
docker run --rm -v .:/workspace/kubernetes-ingress -w /workspace/kubernetes-ingress golang:1.25.4-trixie make certs-clean
280+
else
281+
make -C hack/tls-cert-gen clean
282+
endif

0 commit comments

Comments
 (0)