Skip to content
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

Add link to deployment and dc from pod page #1041

Merged
merged 1 commit into from
Dec 15, 2016

Conversation

spadgett
Copy link
Member

@spadgett spadgett commented Dec 14, 2016

If the pod is part of a deployment, add a link to the deployment and deployment config.

screen_shot_2016-12-14_at_3_14_20_pm

Closes #319
Replaces #1039

If the pod is part of a deployment, add a link to the deployment and
deployment config.
@spadgett
Copy link
Member Author

For reference, here's the link on the replication controller page:

screen_shot_2016-12-14_at_3_28_22_pm

var podResolved = function(pod, action) {
$scope.loaded = true;
$scope.pod = pod;
$scope.dcName = annotation(pod, 'deploymentConfig');
$scope.rcName = annotation(pod, 'deployment');
$scope.deploymentVersion = annotation(pod, 'deploymentVersion');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't we want the same for pods that are part of other controllers? or are we waiting for the rebase to get pods with ownerRefs

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or are we waiting for the rebase to get pods with ownerRefs

Yes, waiting for owner refs. I don't see any way to do this for other controllers yet.

@jwforres
Copy link
Member

[merge]

@spadgett
Copy link
Member Author

There was an error talking to AWS.

[merge]

@jwforres
Copy link
Member

jwforres commented Dec 15, 2016 via email

@spadgett
Copy link
Member Author

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 2dc6b92

@openshift-bot
Copy link

openshift-bot commented Dec 15, 2016

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/862/) (Base Commit: 247492a)

@openshift-bot openshift-bot merged commit d0e340c into openshift:master Dec 15, 2016
@spadgett spadgett deleted the pod-deployment-link branch December 16, 2016 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants