Skip to content

OCPBUGS-15215: OAuth template config in HostedCluter.configuration.ouath is not honored in HyperShift - #3041

Merged
openshift-merge-robot merged 1 commit into
openshift:mainfrom
Patryk-Stefanski:OCPBUGS-15215
Sep 26, 2023
Merged

openshift-merge-robot merged 1 commit into
openshift:mainfrom
Patryk-Stefanski:OCPBUGS-15215

Conversation

@Patryk-Stefanski

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Fixes OAuth template config in HostedCluter.configuration.ouath is not honored in HyperShift bug.

Which issue(s) this PR fixes :
Fixes #

https://issues.redhat.com/browse/OCPBUGS-15215

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Sep 25, 2023
@openshift-ci-robot

Copy link
Copy Markdown

@Patryk-Stefanski: This pull request references Jira Issue OCPBUGS-15215, which is invalid:

  • expected the bug to target the "4.15.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

What this PR does / why we need it:
Fixes OAuth template config in HostedCluter.configuration.ouath is not honored in HyperShift bug.

Which issue(s) this PR fixes :
Fixes #

https://issues.redhat.com/browse/OCPBUGS-15215

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

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/test-infra repository.

@Patryk-Stefanski Patryk-Stefanski changed the title OCPBUGS-15215: s OAuth template config in HostedCluter.configuration.ouath is not honored in HyperShift OCPBUGS-15215: OAuth template config in HostedCluter.configuration.ouath is not honored in HyperShift Sep 25, 2023
@openshift-ci openshift-ci Bot added area/control-plane-operator Indicates the PR includes changes for the control plane operator - in an OCP release and removed do-not-merge/needs-area labels Sep 25, 2023
@enxebre

enxebre commented Sep 25, 2023

Copy link
Copy Markdown
Member

/approve

@openshift-ci

openshift-ci Bot commented Sep 25, 2023

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: enxebre, Patryk-Stefanski

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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 25, 2023
util.BuildVolume(oauthVolumeErrorTemplate(), func(volume *corev1.Volume) {
buildOAuthVolumeErrorTemplate(volume, params)
}),
util.BuildVolume(oauthVolumeLoginTemplate(), func(volume *corev1.Volume) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

it'd be nice to have a unit test that validates reconcileDeployment set the right volumes for the right hcp input

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Do you think this test is sufficient link ? We never change the name of the volume being used it's just the secret that changes depending on whether the templates are specified or not and think this should cover it.

@netlify

netlify Bot commented Sep 25, 2023

Copy link
Copy Markdown

✅ Deploy Preview for hypershift-docs ready!

Name Link
🔨 Latest commit 1c98d69
🔍 Latest deploy log https://app.netlify.com/sites/hypershift-docs/deploys/65117b5681c00b00080ca647
😎 Deploy Preview https://deploy-preview-3041--hypershift-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Patryk-Stefanski Patryk-Stefanski changed the title OCPBUGS-15215: OAuth template config in HostedCluter.configuration.ouath is not honored in HyperShift Draft: OCPBUGS-15215: OAuth template config in HostedCluter.configuration.ouath is not honored in HyperShift Sep 25, 2023
@Patryk-Stefanski Patryk-Stefanski changed the title Draft: OCPBUGS-15215: OAuth template config in HostedCluter.configuration.ouath is not honored in HyperShift OCPBUGS-15215: OAuth template config in HostedCluter.configuration.ouath is not honored in HyperShift Sep 25, 2023
@sjenning

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Sep 25, 2023
@sjenning

Copy link
Copy Markdown
Contributor

/jira refresh

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Sep 26, 2023
@openshift-ci-robot

Copy link
Copy Markdown

@sjenning: This pull request references Jira Issue OCPBUGS-15215, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (jiezhao@redhat.com), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

/jira refresh

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/test-infra repository.

@openshift-ci-robot openshift-ci-robot removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Sep 26, 2023
@openshift-ci

openshift-ci Bot commented Sep 26, 2023

Copy link
Copy Markdown
Contributor

@Patryk-Stefanski: all tests passed!

Full PR test history. Your PR dashboard.

Details

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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot
openshift-merge-robot merged commit 696f8d5 into openshift:main Sep 26, 2023
@openshift-ci-robot

Copy link
Copy Markdown

@Patryk-Stefanski: Jira Issue OCPBUGS-15215: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-15215 has been moved to the MODIFIED state.

Details

In response to this:

What this PR does / why we need it:
Fixes OAuth template config in HostedCluter.configuration.ouath is not honored in HyperShift bug.

Which issue(s) this PR fixes :
Fixes #

https://issues.redhat.com/browse/OCPBUGS-15215

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

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/test-infra repository.

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

Fix included in accepted release 4.15.0-0.nightly-2023-09-27-073353

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. area/control-plane-operator Indicates the PR includes changes for the control plane operator - in an OCP release jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants