fixed names

This commit is contained in:
James Strachan
2018-01-16 22:42:54 +00:00
parent cee8c34740
commit 65d29aa968

View File

@@ -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: