diff --git a/Yamls/reymota-service.yaml b/Yamls/reymota-service.yaml index 13aa22d..7751f24 100644 --- a/Yamls/reymota-service.yaml +++ b/Yamls/reymota-service.yaml @@ -4,10 +4,12 @@ metadata: name: reymota namespace: reymota spec: - type: NodePort + type: LoadBalancer ports: - name: "8080" port: 8080 nodePort: 30341 targetPort: 8080 + selector: + deployment: reymota diff --git a/nuevaapp.sh b/nuevaapp.sh index a4f16fc..26fec24 100644 --- a/nuevaapp.sh +++ b/nuevaapp.sh @@ -1 +1 @@ -oc new-app http://gitea.reymota.es/creylopez/ReyMotaAppsOC.git -e DEBUG=True +oc new-app http://gitea.reymota.es/creylopez/ReyMotaAppsOC.git -e DEBUG="False" --name='reymota'