mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-01 22:35:49 +02:00
update makefile and helm templates
This commit is contained in:
parent
5639782790
commit
712ad6b3ce
12 changed files with 4 additions and 7 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -14,6 +14,3 @@
|
|||
.idea
|
||||
|
||||
_out
|
||||
|
||||
# Ignore the built binary
|
||||
cert-manager-webhook-sotoon
|
||||
|
|
8
Makefile
8
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue