update makefile and helm templates

This commit is contained in:
Ali Orouji 2021-02-18 00:31:25 +03:30
parent 5639782790
commit 712ad6b3ce
12 changed files with 4 additions and 7 deletions

3
.gitignore vendored
View file

@ -14,6 +14,3 @@
.idea
_out
# Ignore the built binary
cert-manager-webhook-sotoon

View file

@ -1,4 +1,4 @@
IMAGE_NAME := "webhook"
IMAGE_NAME := "aliorouji/cert-manager-webhook-sotoon"
IMAGE_TAG := "latest"
OUT := $(shell pwd)/_out
@ -14,8 +14,8 @@ build:
.PHONY: rendered-manifest.yaml
rendered-manifest.yaml:
helm template \
--name example-webhook \
helm template cert-manager-webhook-sotoon \
deploy/cert-manager-webhook-sotoon \
--set image.repository=$(IMAGE_NAME) \
--set image.tag=$(IMAGE_TAG) \
deploy/example-webhook > "$(OUT)/rendered-manifest.yaml"
--output-dir=$(OUT)