mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-02 23:05:48 +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
|
.idea
|
||||||
|
|
||||||
_out
|
_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"
|
IMAGE_TAG := "latest"
|
||||||
|
|
||||||
OUT := $(shell pwd)/_out
|
OUT := $(shell pwd)/_out
|
||||||
|
@ -14,8 +14,8 @@ build:
|
||||||
|
|
||||||
.PHONY: rendered-manifest.yaml
|
.PHONY: rendered-manifest.yaml
|
||||||
rendered-manifest.yaml:
|
rendered-manifest.yaml:
|
||||||
helm template \
|
helm template cert-manager-webhook-sotoon \
|
||||||
--name example-webhook \
|
deploy/cert-manager-webhook-sotoon \
|
||||||
--set image.repository=$(IMAGE_NAME) \
|
--set image.repository=$(IMAGE_NAME) \
|
||||||
--set image.tag=$(IMAGE_TAG) \
|
--set image.tag=$(IMAGE_TAG) \
|
||||||
deploy/example-webhook > "$(OUT)/rendered-manifest.yaml"
|
--output-dir=$(OUT)
|
||||||
|
|
Loading…
Reference in a new issue