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 changes to infrastructure object to contain service endpoints and feature flag added #2078

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

jared-hayes-dev
Copy link

Copy link
Contributor

openshift-ci bot commented Oct 29, 2024

Hello @jared-hayes-dev! Some important instructions when contributing to openshift/api:
API design plays an important part in the user experience of OpenShift and as such API PRs are subject to a high level of scrutiny to ensure they follow our best practices. If you haven't already done so, please review the OpenShift API Conventions and ensure that your proposed changes are compliant. Following these conventions will help expedite the api review process for your PR.

@openshift-ci openshift-ci bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 29, 2024
@openshift-ci openshift-ci bot requested review from deads2k and knobunc October 29, 2024 15:15
Copy link
Contributor

openshift-ci bot commented Oct 29, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jared-hayes-dev
Once this PR has been reviewed and has the lgtm label, please assign knobunc for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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 size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 5, 2024
Comment on lines 1523 to 1524
// ServiceEndpoints contains custom endpoints designated to
// override existing defaults of IBM Cloud Services.
Copy link
Contributor

Choose a reason for hiding this comment

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

The godoc on the status version of this field is different, shall we copy it here?

Copy link
Author

Choose a reason for hiding this comment

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

yes, fixed

type IBMCloudPlatformSpec struct {
// ServiceEndpoints contains custom endpoints designated to
// override existing defaults of IBM Cloud Services.
// +listType=atomic
Copy link
Contributor

Choose a reason for hiding this comment

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

Status version is a map type, why would this one be different?

Copy link
Author

Choose a reason for hiding this comment

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

my bad, unintentionally messed that up when playing with some things - fixed

@@ -670,4 +670,10 @@ var (
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
enhancementPR("https://github.com/openshift/enhancements/pull/1697").
mustRegister()

FeatureGateDyanmicServiceEndpointIBMCloud = newFeatureGate("DyanmicServiceEndpointIBMCloud").
Copy link
Contributor

Choose a reason for hiding this comment

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

You'll want to include an enableIn and add this to DevPreview and TechPreview initially

type IBMCloudPlatformSpec struct {
// serviceEndpoints is a list of custom endpoints which will override the default
// service endpoints of an IBM Cloud service. These endpoints are consumed by
// components within the cluster to reach the respective IBM Cloud Services.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should add some description here of what happens when you add values. They get verified and then copied to status by some controller right? And then consumed by?

Copy link
Contributor

openshift-ci bot commented Dec 4, 2024

@jared-hayes-dev: 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/verify 86d218d link true /test verify
ci/prow/e2e-aws-serial 86d218d link true /test e2e-aws-serial
ci/prow/e2e-aws-ovn-techpreview 86d218d link true /test e2e-aws-ovn-techpreview
ci/prow/e2e-aws-serial-techpreview 86d218d link true /test e2e-aws-serial-techpreview
ci/prow/e2e-gcp 86d218d link false /test e2e-gcp
ci/prow/e2e-aws-ovn 86d218d link true /test e2e-aws-ovn
ci/prow/okd-scos-e2e-aws-ovn 86d218d link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-aws-ovn-hypershift 86d218d link true /test e2e-aws-ovn-hypershift
ci/prow/e2e-azure 86d218d link false /test e2e-azure
ci/prow/e2e-upgrade 86d218d link true /test e2e-upgrade
ci/prow/minor-e2e-upgrade-minor 86d218d link true /test minor-e2e-upgrade-minor
ci/prow/lint 86d218d link true /test lint

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.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 4, 2024
@openshift-merge-robot
Copy link
Contributor

PR needs rebase.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants