Browse Source

Updated DeploymentConfig with an environment variable

pull/1259/head
Tim McCarthy 5 years ago
parent
commit
17a0a2a211
1 changed files with 14 additions and 9 deletions
  1. +14
    -9
      deploy/aro/mobilemarketingapigw/mobilemarketingapigw-deploy-template.yml

+ 14
- 9
deploy/aro/mobilemarketingapigw/mobilemarketingapigw-deploy-template.yml View File

@ -25,15 +25,20 @@ objects:
deploymentconfig: ${APPLICATION_NAME}
spec:
containers:
image: docker-registry.default.svc:5000/${IMAGE_REGISTRY_PROJECT_NAME}/${APPLICATION_NAME}:latest
imagePullPolicy: Always
name: ${APPLICATION_NAME}
ports:
- containerPort: 8080
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
- env:
- name: PATH_BASE
value: /mobilesmarketingapigw
image: docker-registry.default.svc:5000/${IMAGE_REGISTRY_PROJECT_NAME}/${APPLICATION_NAME}:latest
imagePullPolicy: Always
name: ${APPLICATION_NAME}
ports:
- containerPort: 8080
protocol: TCP
- containerPort: 8081
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler


Loading…
Cancel
Save