File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,24 @@ docker-build-dev: check-env-docker-repo git-commit-sha
118118 docker build --build-arg=GIT_COMMIT=$(GIT_COMMIT ) -t $(DOCKER_REGISTRY_SERVER ) /$(OPERATOR_IMAGE ) :$(GIT_COMMIT ) .
119119 docker push $(DOCKER_REGISTRY_SERVER ) /$(OPERATOR_IMAGE ) :$(GIT_COMMIT )
120120
121+ CERT_MANAGER_VERSION ?= 1.2.0
122+ CERT_MANAGER_HELM_RELEASE := cert-manager
123+ CERT_MANAGER_NAMESPACE := cert-manager
124+ cert-manager :
125+ @echo " Installing Cert Manager"
126+ helm repo add jetstack https://charts.jetstack.io
127+ helm upgrade $(CERT_MANAGER_HELM_RELEASE ) jetstack/$(@ ) \
128+ --install \
129+ --namespace $(CERT_MANAGER_NAMESPACE ) --create-namespace \
130+ --version $(CERT_MANAGER_VERSION ) \
131+ --wait
132+
133+ cert-manager-rm :
134+ @echo " Deleting Cert Manager"
135+ helm uninstall $(CERT_MANAGER_HELM_RELEASE ) \
136+ --namespace $(CERT_MANAGER_NAMESPACE )
137+ kubectl delete namespace $(CERT_MANAGER_NAMESPACE )
138+
121139kind-prepare : # # Prepare KIND to support LoadBalancer services
122140 # Note that created LoadBalancer services will have an unreachable external IP
123141 @kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.3/manifests/namespace.yaml
You can’t perform that action at this time.
0 commit comments