-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show correct image stream name on deploy image #976
Conversation
@@ -73,7 +73,8 @@ | |||
administrator. | |||
</div> | |||
<h2> | |||
{{app.name}}<span ng-if="import.tag">:{{import.tag}}</span> | |||
<span ng-if="mode === 'dockerImage'">{{app.name}}<span ng-if="import.tag">:{{import.tag}}</span></span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm does it make sense to be changing that header at all? isn't that header the name and metadata of the image?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah we can change it for the other case. The difference is that we will actually create an image stream tag with that value in your project for mode === 'dockerImage'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a line that tells you we will create an image stream? That seems like the right thing vs changing the name of the image that we loaded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'll update the PR
If I deploy from an image stream image and customize the app name, don't change the image stream name in the summary header.
07261f2
to
55cf6b4
Compare
@jwforres another look? |
[merge] |
Evaluated for origin web console merge up to 55cf6b4 |
Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/797/) (Base Commit: 9647628) |
If I deploy from an image stream image and customize the app name, don't
change the image stream name in the summary header.
Fixes #973
@jwforres PTAL