Add some more things

This commit is contained in:
Dennis Schmalacker 2020-05-28 17:29:57 +02:00
parent a9e521d3ec
commit 178b5660e5
3 changed files with 20 additions and 3 deletions

16
.dockerignore Normal file
View File

@ -0,0 +1,16 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, build with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
_out
# Ignore the built binary
cert-manager-webhook-example

View File

@ -1,4 +1,4 @@
IMAGE_NAME := "webhook"
IMAGE_NAME := "mecodia/cert-manager-webhook-hetzner"
IMAGE_TAG := "latest"
OUT := $(shell pwd)/_out
@ -10,6 +10,7 @@ verify:
build:
docker build -t "$(IMAGE_NAME):$(IMAGE_TAG)" .
docker push "$(IMAGE_NAME):$(IMAGE_TAG)"
.PHONY: rendered-manifest.yaml
rendered-manifest.yaml:
@ -17,4 +18,4 @@ rendered-manifest.yaml:
--name example-webhook \
--set image.repository=$(IMAGE_NAME) \
--set image.tag=$(IMAGE_TAG) \
deploy/example-webhook > "$(OUT)/rendered-manifest.yaml"
deploy/hetzner-webhook > "$(OUT)/rendered-manifest.yaml"

View File

@ -1,4 +1,4 @@
{
"apiKey": "EBEMLAlXhFAW05jyeoFMJPe2e12wJEf0"
"apiKey": ""
}