cert-manager-webhook-example/Makefile
2021-02-18 01:01:09 +03:30

21 lines
494 B
Makefile

IMAGE_NAME := "aliorouji/cert-manager-webhook-sotoon"
IMAGE_TAG := "latest"
OUT := $(shell pwd)/_out
$(shell mkdir -p "$(OUT)")
verify:
sh ./scripts/fetch-test-binaries.sh
go test -v .
build:
docker build -t "$(IMAGE_NAME):$(IMAGE_TAG)" .
.PHONY: rendered-manifest.yaml
rendered-manifest.yaml:
helm template cert-manager-webhook-sotoon \
deploy/cert-manager-webhook-sotoon \
--set image.repository=$(IMAGE_NAME) \
--set image.tag=$(IMAGE_TAG) \
--output-dir=$(OUT)