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

COO-186: fix: add korrel8r proxy configuration to logging view plugin #515

Merged

Conversation

jgbernalp
Copy link
Contributor

This PR adds the korrel8r proxy configuration so the the logging view plugin can discover korrel8r and correlation links are shown.

@jgbernalp jgbernalp requested a review from a team as a code owner June 13, 2024 08:41
@jgbernalp jgbernalp requested review from sthaha and JoaoBraveCoding and removed request for a team June 13, 2024 08:41
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Jun 13, 2024

@jgbernalp: This pull request references COO-186 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.17.0" version, but no target version was set.

In response to this:

This PR adds the korrel8r proxy configuration so the the logging view plugin can discover korrel8r and correlation links are shown.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from marioferh and periklis June 13, 2024 08:41
@@ -62,6 +62,16 @@ func createLoggingPluginInfo(plugin *uiv1alpha1.UIPlugin, namespace, name, image
Port: 8080,
},
},
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it ok to create the proxy entry even when the korrel8r plugin isn't installed?

Copy link
Contributor Author

@jgbernalp jgbernalp Jun 13, 2024

Choose a reason for hiding this comment

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

I think is ok as the console proxy just allows the plugin to communicate to the in cluster service. If the korrel8r deployment/service fails, or is not there, requests will fail and the plugin won't show the correlation links.

Copy link

@periklis periklis left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

openshift-ci bot commented Jun 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jgbernalp, periklis

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit a1f0de3 into rhobs:main Jun 13, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants