From d4829acda8bb4b16cf52f94d1240fed995a18137 Mon Sep 17 00:00:00 2001 From: mzeevi Date: Tue, 16 Apr 2024 18:35:55 +0000 Subject: [PATCH] add cert-manager installation to makefile With this PR, cert-manager has been added as a dependency for the installation of the nfspvc operator Signed-off-by: mzeevi --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 12d37c7b..bdc724df 100644 --- a/Makefile +++ b/Makefile @@ -146,13 +146,20 @@ undeploy: kustomize ## Undeploy controller from the K8s cluster specified in ~/. $(KUSTOMIZE) build config/default | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f - ##@ Capp prerequisites +CERT_MANAGER_VERSION ?= v1.13.3 +CERT_MANAGER_URL ?= https://github.com/cert-manager/cert-manager/releases/download/$(CERT_MANAGER_VERSION)/cert-manager.yaml +NFSPVC_URL ?= https://raw.githubusercontent.com/dana-team/nfspvc-operator/main/all_in_one.yaml .PHONY: prereq -prereq: install install-knative install-helm install-logging install-nfspvc enable-nfs-knative ## Install every prerequisite needed to develop on container-app-operator. +prereq: install install-cert-manager install-knative install-helm install-logging install-nfspvc enable-nfs-knative ## Install every prerequisite needed to develop on container-app-operator. .PHONY: install-nfspvc install-nfspvc: ## Install NfsPvcOperator - kubectl apply -f https://raw.githubusercontent.com/sahar2339/nfspvc-operator/feature/all_in_one_yaml/all_in_one.yaml + kubectl apply -f $(NFSPVC_URL) + +.PHONY: install-cert-manager +install-cert-manager: + kubectl apply -f $(CERT_MANAGER_URL) .PHONY: enable-nfs-knative enable-nfs-knative: ## Enable NFS for Knative