Bug 1783179

Summary: If env var is set after first component push then route URL doesn't work after editing the source
Product: Red Hat odo for OpenShift Container Platform Reporter: Amit <arout>
Component: rhodoAssignee: Tomáš Král <tkral>
Status: CLOSED WORKSFORME QA Contact: Amit <arout>
Severity: high Docs Contact: Yana Hontyk <yhontyk>
Priority: unspecified    
Version: 1.0.x   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-19 11:49:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Amit 2019-12-13 08:30:01 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

odo component create java
odo push
odo config set --env foo=bar
#create route
odo push
#Access the route URL     <------------- Works
#edit java source code
odo push 
#Access the app URL     <------------- Breaks

Actual results:


Expected results:


Additional info:

Comment 1 Amit 2019-12-13 08:44:11 UTC
(In reply to Amit from comment #0)
> Description of problem:
> If env var is set after first component push then route URL doesn't work after editing the source
> 
> Version-Release number of selected component (if applicable):
> 
> 
> How reproducible:
> 
> 
> Steps to Reproduce:
> 
> odo component create java
> odo push
> odo config set --env foo=bar
> #create route
> odo push
> #Access the route URL     <------------- Works
> #edit java source code
> odo push 
> #Access the app URL     <------------- Breaks
> 
> Actual results:
> 
> 
> Expected results:
> 
> 
> Additional info:

Comment 2 Tomáš Král 2019-12-19 11:49:46 UTC
Unable to reproduce, see https://github.com/openshift/odo/issues/2371#issuecomment-567014387 for more information