You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
490 B

include ../servicios/.env
export IMG_VERSION = ${VERSION}
# limpia todo
all: imagen clean install
imagen:
cd ../servicios; make
install:
-kubectl create -f pv-local-libros.yaml
-kubectl create -f libros-prod-persistentvolumeclaim.yaml
-envsubst < libros-deployment.yaml |kubectl create -f -
clean:
-envsubst < libros-deployment.yaml |kubectl delete -f -
-kubectl delete -f libros-prod-persistentvolumeclaim.yaml
-kubectl delete -f pv-local-libros.yaml
prueba:
@echo $(VERSION)