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

OCM-11019 | fix: Do not accept clusterID for thumbprint if programmatic #2443

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

hunterkepley
Copy link
Contributor

@hunterkepley hunterkepley commented Sep 10, 2024

https://issues.redhat.com/browse/OCM-11019

Works with:

  • HCP cluster
  • Classic cluster
  • OIDC provider creation

Issue was that, when creating a cluster and providing an oidc config id, it would send both, causing a failure

There was a secondary issue, where when creating an HCP cluster, it does not technically exist at the time of creating a provider, which differs from classic. This was fixed by only supplying the OIDC ID in this situation. If you only supply cluster ID, it will fail due to non-existent HCP cluster

Copy link
Contributor

openshift-ci bot commented Sep 10, 2024

@hunterkepley: all tests passed!

Full PR test history. Your PR dashboard.

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

@davidleerh
Copy link
Contributor

/lgtm

@davidleerh
Copy link
Contributor

/cherrypick release_1.2.45

@openshift-cherrypick-robot

@davidleerh: once the present PR merges, I will cherry-pick it on top of release_1.2.45 in a new PR and assign it to you.

In response to this:

/cherrypick release_1.2.45

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 kubernetes-sigs/prow repository.

@davidleerh davidleerh added 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. labels Sep 10, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 90494f7 into openshift:master Sep 10, 2024
9 checks passed
@openshift-cherrypick-robot

@davidleerh: new pull request created: #2444

In response to this:

/cherrypick release_1.2.45

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 kubernetes-sigs/prow repository.

Copy link
Contributor

openshift-ci bot commented Sep 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidleerh, hunterkepley

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

1 similar comment
Copy link
Contributor

openshift-ci bot commented Sep 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidleerh, hunterkepley

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

Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.37%. Comparing base (99e2b4e) to head (eb6416b).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2443   +/-   ##
=======================================
  Coverage   29.37%   29.37%           
=======================================
  Files         161      161           
  Lines       22365    22365           
=======================================
  Hits         6569     6569           
  Misses      15251    15251           
  Partials      545      545           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

3 participants