mirror of
https://github.com/bvanroll/environment-ff-stage-euw1-gkecluster-primary-production.git
synced 2025-08-29 03:22:41 +00:00
fixed names
This commit is contained in:
11
Makefile
11
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:
|
||||
|
||||
|
Reference in New Issue
Block a user