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 'name' parameter for OCM cluster search #301

Merged

Conversation

clcollins
Copy link
Member

Some clusters use "display_name" as a longer, more descriptive field.
And example of this is osd-v4stg-aws, which has:

Display Name:	SRE long lived cluster in production: osd-v4stg-aws

This causes osd-v4stg-aws (or others) to not be found when searching by the human
friendly name, as identified by @rendhalver in a recent pr
review
.

This PR adds "name" to the OCM cluster search parameters, which is the
parameter used by ocm-cli when it performs the same search.

Signed-off-by: Chris Collins [email protected]

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 14, 2024
Some clusters use "display_name" as a longer, more descriptive field.
And example of this is `osd-v4stg-aws`, which has:

```
Display Name:	SRE long lived cluster in production: osd-v4stg-aws
```

This causes osd-v4stg-aws (or others) to not be found when searching by the human
friendly name, as identified by @rendhalver in a [recent pr
review](openshift#300 (comment)).

This PR adds "name" to the OCM cluster search parameters, which is the
parameter used by ocm-cli when it performs the same search.

Signed-off-by: Chris Collins <[email protected]>
@clcollins clcollins force-pushed the fix_cluster_name_search branch from 22d454a to 05a01eb Compare August 14, 2024 22:01
@rendhalver
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 14, 2024
Copy link
Contributor

openshift-ci bot commented Aug 14, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clcollins, rendhalver

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:
  • OWNERS [clcollins,rendhalver]

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

@rendhalver
Copy link
Contributor

/retest

@openshift-merge-bot openshift-merge-bot bot merged commit 1fd10ef into openshift:master Aug 15, 2024
2 checks passed
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants