Updated DeploymentConfig with an environment variable
This commit is contained in:
parent
964447c2ce
commit
17a0a2a211
@ -25,15 +25,20 @@ objects:
|
|||||||
deploymentconfig: ${APPLICATION_NAME}
|
deploymentconfig: ${APPLICATION_NAME}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
image: docker-registry.default.svc:5000/${IMAGE_REGISTRY_PROJECT_NAME}/${APPLICATION_NAME}:latest
|
- env:
|
||||||
imagePullPolicy: Always
|
- name: PATH_BASE
|
||||||
name: ${APPLICATION_NAME}
|
value: /mobilesmarketingapigw
|
||||||
ports:
|
image: docker-registry.default.svc:5000/${IMAGE_REGISTRY_PROJECT_NAME}/${APPLICATION_NAME}:latest
|
||||||
- containerPort: 8080
|
imagePullPolicy: Always
|
||||||
protocol: TCP
|
name: ${APPLICATION_NAME}
|
||||||
resources: {}
|
ports:
|
||||||
terminationMessagePath: /dev/termination-log
|
- containerPort: 8080
|
||||||
terminationMessagePolicy: File
|
protocol: TCP
|
||||||
|
- containerPort: 8081
|
||||||
|
protocol: TCP
|
||||||
|
resources: {}
|
||||||
|
terminationMessagePath: /dev/termination-log
|
||||||
|
terminationMessagePolicy: File
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
schedulerName: default-scheduler
|
schedulerName: default-scheduler
|
||||||
|
Loading…
x
Reference in New Issue
Block a user