Skip to content

OCPEDGE-1707: Add Disable Certificate Verification API #9640

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mshitrit
Copy link
Contributor

@mshitrit mshitrit commented Apr 6, 2025

Adding an API to disable SSL certification, one use case for this being relevant is a customer setting up redfish fencing on their internal network.

Signed-off-by: Michael Shitrit <[email protected]>
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 6, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Apr 6, 2025

@mshitrit: This pull request references OCPEDGE-1707 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 story to target the "4.19.0" version, but no target version was set.

In response to this:

Adding an API to disable SSL certification, one use case for this being relevant is a customer setting up redfish fencing on their internal network.

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.

Copy link
Contributor

openshift-ci bot commented Apr 6, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 6, 2025
@mshitrit
Copy link
Contributor Author

mshitrit commented Apr 6, 2025

/test gofmt golint govet

@mshitrit mshitrit marked this pull request as ready for review April 6, 2025 13:21
@openshift-ci openshift-ci bot requested review from barbacbd and patrickdillon April 6, 2025 13:22
@mshitrit
Copy link
Contributor Author

mshitrit commented Apr 7, 2025

/retest

@mshitrit mshitrit changed the title [WIP] OCPEDGE-1707: Add Disable Certificate Verification API OCPEDGE-1707: Add Disable Certificate Verification API Apr 7, 2025
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 7, 2025
@eggfoobar
Copy link
Contributor

/test e2e-metal-ovn-two-node-arbiter

@mshitrit
Copy link
Contributor Author

mshitrit commented Apr 8, 2025

/retest

Copy link
Contributor

@patrickdillon patrickdillon left a comment

Choose a reason for hiding this comment

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

/approve

Username string `json:"username" validate:"required"`
Password string `json:"password" validate:"required"`
Address string `json:"address" validate:"required,uniqueField"`
DisableCertificateVerification bool `json:"disableCertificateVerification"`
Copy link
Contributor

Choose a reason for hiding this comment

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

I generally try to follow API team's guiedlines of never using booleans, instead opting for enums like Enabled Disabled. So take that if it's useful, but I'm fine with this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, good feedback, I'll keep that in mind for future changes.
In this particular case I was just trying to stay aligned with the BMC implementation

Copy link
Contributor

openshift-ci bot commented Apr 8, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon

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-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 8, 2025
@eggfoobar
Copy link
Contributor

/test e2e-metal-ovn-two-node-arbiter

Copy link
Contributor

openshift-ci bot commented Apr 9, 2025

@mshitrit: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-vsphere-ovn-multi-network 035ad48 link false /test e2e-vsphere-ovn-multi-network
ci/prow/e2e-metal-ovn-two-node-arbiter 035ad48 link false /test e2e-metal-ovn-two-node-arbiter

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.

@jaypoulz
Copy link
Contributor

Before we merge this, I would like us to update the corresponding entry in openshift-metal3/dev-scripts@98fa8a1 to avoid having to do a follow up fix.

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants