Updated DeploymentConfig with an environment variable
This commit is contained in:
		
							parent
							
								
									964447c2ce
								
							
						
					
					
						commit
						17a0a2a211
					
				@ -25,12 +25,17 @@ objects:
 | 
				
			|||||||
          deploymentconfig: ${APPLICATION_NAME}
 | 
					          deploymentconfig: ${APPLICATION_NAME}
 | 
				
			||||||
      spec:
 | 
					      spec:
 | 
				
			||||||
        containers:
 | 
					        containers:
 | 
				
			||||||
 | 
					          - env:
 | 
				
			||||||
 | 
					              - name: PATH_BASE
 | 
				
			||||||
 | 
					                value: /mobilesmarketingapigw
 | 
				
			||||||
            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}
 | 
				
			||||||
            ports:
 | 
					            ports:
 | 
				
			||||||
            - containerPort: 8080
 | 
					            - containerPort: 8080
 | 
				
			||||||
              protocol: TCP
 | 
					              protocol: TCP
 | 
				
			||||||
 | 
					            - containerPort: 8081
 | 
				
			||||||
 | 
					              protocol: TCP
 | 
				
			||||||
            resources: {}
 | 
					            resources: {}
 | 
				
			||||||
            terminationMessagePath: /dev/termination-log
 | 
					            terminationMessagePath: /dev/termination-log
 | 
				
			||||||
            terminationMessagePolicy: File
 | 
					            terminationMessagePolicy: File
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user