|
|
@ -1,5 +1,5 @@ |
|
|
export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') |
|
|
export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') |
|
|
export IMG_VERSION = 1.30 |
|
|
|
|
|
|
|
|
export IMG_VERSION = 1.34 |
|
|
export IMG_NGINX_VERSION = 1.17 |
|
|
export IMG_NGINX_VERSION = 1.17 |
|
|
|
|
|
|
|
|
# limpia todo
|
|
|
# limpia todo
|
|
|
@ -9,6 +9,8 @@ imagen: |
|
|
cd ../; make |
|
|
cd ../; make |
|
|
|
|
|
|
|
|
install: |
|
|
install: |
|
|
|
|
|
-kubectl create -f namespace.yaml |
|
|
|
|
|
-kubectl create -f reg-secret.yaml |
|
|
-kubectl create -f env-prod-configmap.yaml |
|
|
-kubectl create -f env-prod-configmap.yaml |
|
|
-kubectl create -f env-prod-db-configmap.yaml |
|
|
-kubectl create -f env-prod-db-configmap.yaml |
|
|
|
|
|
|
|
|
@ -39,6 +41,8 @@ clean: |
|
|
-kubectl delete -f static-volume-persistentvolumeclaim.yaml |
|
|
-kubectl delete -f static-volume-persistentvolumeclaim.yaml |
|
|
-kubectl delete -f libros-prod-persistentvolumeclaim.yaml |
|
|
-kubectl delete -f libros-prod-persistentvolumeclaim.yaml |
|
|
-kubectl delete -f pv-local-libros.yaml |
|
|
-kubectl delete -f pv-local-libros.yaml |
|
|
|
|
|
-kubectl delete -f reg-secret.yaml |
|
|
|
|
|
-kubectl delete -f namespace.yaml |
|
|
|
|
|
|
|
|
nginx: |
|
|
nginx: |
|
|
cd ../nginx; make |
|
|
cd ../nginx; make |