|
|
@@ -1,6 +1,5 @@
|
|
|
export REGISTRY=registry.reymota.es
|
|
|
export IMG_VERSION = alpine-9
|
|
|
-export PUERTO = 30346
|
|
|
export NAMESPACE = finanzas
|
|
|
|
|
|
# limpia todo
|
|
|
@@ -20,7 +19,7 @@ install:
|
|
|
-cat db-deployment.yaml| sed -e "s/<NS>/${NAMESPACE}/" | kubectl create -f -
|
|
|
-cat db-service.yaml| sed -e "s/<NS>/${NAMESPACE}/" | kubectl create -f -
|
|
|
|
|
|
- -cat finanzas-deployment.yaml | sed -e "s/<PUERTO>/${PUERTO}/" |sed -e "s/<NS>/${NAMESPACE}/" | sed -e "s/<TAG>/${IMG_VERSION}/" | kubectl create -f -
|
|
|
+ -cat finanzas-deployment.yaml | sed -e "s/<NS>/${NAMESPACE}/" | sed -e "s/<TAG>/${IMG_VERSION}/" | kubectl create -f -
|
|
|
-cat finanzas-ingress.yaml | sed -e "s/<NS>/${NAMESPACE}/" | kubectl create -f -
|
|
|
|
|
|
clean:
|
|
|
@@ -49,5 +48,5 @@ claims:
|
|
|
-cat pvc-postgresql.yaml | sed -e "s/<NS>/${NAMESPACE}/" | kubectl create -f -
|
|
|
|
|
|
app:
|
|
|
- -cat finanzas-deployment.yaml | sed -e "s/<PUERTO>/${PUERTO}/" | sed -e "s/<NS>/${NAMESPACE}/" | sed -e "s/<TAG>/${IMG_VERSION}/" | kubectl delete -f -
|
|
|
- -cat finanzas-deployment.yaml | sed -e "s/<PUERTO>/${PUERTO}/" | sed -e "s/<NS>/${NAMESPACE}/" | sed -e "s/<TAG>/${IMG_VERSION}/" | kubectl create -f -
|
|
|
+ -cat finanzas-deployment.yaml | sed -e "s/<NS>/${NAMESPACE}/" | sed -e "s/<TAG>/${IMG_VERSION}/" | kubectl delete -f -
|
|
|
+ -cat finanzas-deployment.yaml | sed -e "s/<NS>/${NAMESPACE}/" | sed -e "s/<TAG>/${IMG_VERSION}/" | kubectl create -f -
|