Skip to content

Conversation

@rhamilto
Copy link
Member

@rhamilto rhamilto commented Jul 2, 2019

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 2, 2019
@rhamilto rhamilto changed the title Add ConsoleLogLink CRD to enable custom log links [WIP] Add ConsoleLogLink CRD to enable custom log links Jul 2, 2019
@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 2, 2019
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 2, 2019
@rhamilto rhamilto force-pushed the console-1528 branch 2 times, most recently from 5a36570 to a800008 Compare July 5, 2019 16:54
@rhamilto
Copy link
Member Author

rhamilto commented Jul 5, 2019

Updated. @spadgett, PTAL.

@rhamilto rhamilto changed the title [WIP] Add ConsoleLogLink CRD to enable custom log links Add ConsoleLogLink CRD to enable custom log links Jul 5, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 5, 2019
@rhamilto rhamilto force-pushed the console-1528 branch 2 times, most recently from ac9c6d4 to ba89494 Compare July 5, 2019 18:55
@rhamilto
Copy link
Member Author

rhamilto commented Jul 8, 2019

/retest

Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need to be in a try...catch or an _.attempt()?
What if a provider gives you something invalid.

Copy link
Contributor

Choose a reason for hiding this comment

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

Referencing this:
https://github.com/openshift/api/pull/380/files#diff-9754f97c9c90951cc7df5ac76b6eea86R36
We probably need to be very clear about the expected format of the regex in our example, as well as ensure we give a couple good examples. This kind of thing can be annoying if you don't know if ^openshift- is ok, or if /^openshift-/g is needed.

Copy link
Contributor

Choose a reason for hiding this comment

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

@jhadvig fyi

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (namespaceFilter && namespace.search(namespaceFilter) === -1) {
if (namespaceFilter && namespace.search(new RegExp(namespaceFilter, 'g')) === -1) {

@rhamilto rhamilto changed the title Add ConsoleLogLink CRD to enable custom log links Add ConsoleExternalLogLink CRD to enable custom log links Jul 17, 2019
@rhamilto
Copy link
Member Author

@spadgett, suggestions accepted.

@rhamilto
Copy link
Member Author

/retest

Copy link
Member

@spadgett spadgett left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 18, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rhamilto, spadgett

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

The pull request process is described here

Details 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

@spadgett spadgett added this to the v4.2 milestone Jul 18, 2019
@spadgett
Copy link
Member

/retest

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@rhamilto
Copy link
Member Author

/retest

1 similar comment
@spadgett
Copy link
Member

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pod Log Links Extension

6 participants