Skip to content

Commit

Permalink
Fix install target
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Apr 1, 2023
1 parent 9afa806 commit ec8079f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ lint: $(BUILD_DIRS)
$(BUILD_DIRS):
@mkdir -p $@

KUBE_NAMESPACE ?= kubeops
KUBE_NAMESPACE ?= cert-manager
REGISTRY_SECRET ?=
IMAGE_PULL_POLICY ?= IfNotPresent

Expand All @@ -360,18 +360,13 @@ else
IMAGE_PULL_SECRETS = --set imagePullSecrets[0].name=$(REGISTRY_SECRET)
endif

PLATFORM_BASEURL ?= $(PLATFORM_BASEURL)
PLATFORM_TOKEN ?= $(PLATFORM_TOKEN)

.PHONY: install
install:
@cd ../installer; \
helm upgrade -i cert-manager-webhook-ace charts/cert-manager-webhook-ace --wait \
helm upgrade -i cert-manager-webhook-ace charts/cert-manager-webhook-ace --wait --debug \
--namespace=$(KUBE_NAMESPACE) --create-namespace \
--set image.tag=$(TAG_PROD) \
--set imagePullPolicy=$(IMAGE_PULL_POLICY) \
--set platform.baseURL=$(PLATFORM_BASEURL) \
--set platform.token=$(PLATFORM_TOKEN) \
$(IMAGE_PULL_SECRETS); \

.PHONY: uninstall
Expand Down

0 comments on commit ec8079f

Please sign in to comment.