diff --git a/RepostajesDj/K8S/Makefile b/RepostajesDj/K8S/Makefile index ff6ea77..9086c92 100644 --- a/RepostajesDj/K8S/Makefile +++ b/RepostajesDj/K8S/Makefile @@ -1,5 +1,7 @@ export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') -export IMG_VERSION = 0.17 +#export REGISTRY=registry.cube.local +export REGISTRY=registry.reymota.es +export IMG_VERSION = 0.21 export IMG_NGINX_VERSION = 1.0 # limpia todo diff --git a/RepostajesDj/K8S/nginx-deployment.yaml b/RepostajesDj/K8S/nginx-deployment.yaml index 9e974be..41472e3 100644 --- a/RepostajesDj/K8S/nginx-deployment.yaml +++ b/RepostajesDj/K8S/nginx-deployment.yaml @@ -24,7 +24,7 @@ spec: io.kompose.service: nginx spec: containers: - - image: registry.reymota.es/nginx-vehiculos-$ARQUITECTURA:$IMG_NGINX_VERSION + - image: $REGISTRY/nginx-vehiculos-$ARQUITECTURA:$IMG_NGINX_VERSION name: nginx ports: - containerPort: 80 diff --git a/RepostajesDj/K8S/vehiculos-deployment.yaml b/RepostajesDj/K8S/vehiculos-deployment.yaml index d6bb91b..070521e 100644 --- a/RepostajesDj/K8S/vehiculos-deployment.yaml +++ b/RepostajesDj/K8S/vehiculos-deployment.yaml @@ -37,7 +37,7 @@ spec: - --bind - 0.0.0.0:8000 name: vehiculos - image: registry.reymota.es/vehiculos-$ARQUITECTURA:$IMG_VERSION + image: $REGISTRY/vehiculos-$ARQUITECTURA:$IMG_VERSION env: - name: VERSION value: "$IMG_VERSION"