Browse Source

Added new port for basketapi

pull/1259/head
Tim McCarthy 5 years ago
parent
commit
48cb82936d
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      deploy/aro/openshift-templates/basketapi-deploy-template.yml

+ 8
- 0
deploy/aro/openshift-templates/basketapi-deploy-template.yml View File

@ -34,6 +34,10 @@ objects:
value: ${REDIS_HOSTNAME} value: ${REDIS_HOSTNAME}
- name: EventBusConnection - name: EventBusConnection
value: ${RABBITMQ_HOSTNAME} value: ${RABBITMQ_HOSTNAME}
- name: PORT
value: 8080
- name: GRPC_PORT
value: 5001
image: docker-registry.default.svc:5000/${IMAGE_REGISTRY_PROJECT_NAME}/${APPLICATION_NAME}:latest image: docker-registry.default.svc:5000/${IMAGE_REGISTRY_PROJECT_NAME}/${APPLICATION_NAME}:latest
imagePullPolicy: Always imagePullPolicy: Always
name: ${APPLICATION_NAME} name: ${APPLICATION_NAME}
@ -72,6 +76,10 @@ objects:
port: 8080 port: 8080
protocol: TCP protocol: TCP
targetPort: 8080 targetPort: 8080
- name: 5001-tcp
port: 5001
protocol: TCP
targetPort: 5001
selector: selector:
app: ${APPLICATION_NAME} app: ${APPLICATION_NAME}
deploymentconfig: ${APPLICATION_NAME} deploymentconfig: ${APPLICATION_NAME}


Loading…
Cancel
Save