Skip to content

Commit

Permalink
add cert-manager installation to makefile
Browse files Browse the repository at this point in the history
With this PR, cert-manager has been added as a dependency
for the installation of the nfspvc operator

Signed-off-by: mzeevi <meytar80@gmail.com>
  • Loading branch information
mzeevi committed Apr 16, 2024
1 parent 280b77e commit d4829ac
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4829ac

Please sign in to comment.