diff --git a/Makefile b/Makefile index 9c461e2..b03a603 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ CHART_REPO := http://jenkins-x-chartmuseum:8080 DIR := "env" NAMESPACE := "default-staging" -NAME := "env-$(NAMESPACE)" OS := $(shell uname) build: clean @@ -9,19 +8,17 @@ build: clean helm version helm init helm repo add releases ${CHART_REPO} - helm dependency build env + helm dependency build ${DIR} helm lint ${DIR} install: - echo "Installing release ${NAME} to namespace ${NAMESPACE} - helm install ${DIR} --name ${NAME} --namespace ${NAMESPACE} + helm install ${DIR} --name ${NAMESPACE} --namespace ${NAMESPACE} upgrade: - echo "Upgrading release ${NAME} to namespace ${NAMESPACE} - helm upgrade ${NAME} ${DIR} --namespace ${NAMESPACE} + helm upgrade ${NAMESPACE} ${DIR} --namespace ${NAMESPACE} delete: - helm delete --purge ${NAME} --namespace ${NAMESPACE} + helm delete --purge ${NAMESPACE} --namespace ${NAMESPACE} clean: