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

NO-ISSUE: Update to use rukpakv1alpha2 apis #108

Merged

Conversation

kevinrizza
Copy link
Member

Includes controller runtime bump changes

Comment on lines -82 to -83
MetricsBindAddress: metricsAddr,
Port: 9443,
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean to remove these?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah.

kubernetes-sigs/controller-runtime#2407

Controller runtime reimplemented the metrics server configuration, and given the state of this project I didn't think it was worth reconfiguring so I just removed the metrics configuration rather than reimplementing it. It wouldn't be a ton of effort to do, but I think we want to try to move toward getting rid of this thing entirely once we start swapping out rukpak.

Ref: image,
},
},
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

I would delete this

func buildBundleDeployment(image string) rukpakv1alpha1.BundleDeploymentSpec {
return rukpakv1alpha1.BundleDeploymentSpec{
func buildBundleDeployment(image string) rukpakv1alpha2.BundleDeploymentSpec {
return rukpakv1alpha2.BundleDeploymentSpec{
ProvisionerClassName: plainProvisionerID,

Choose a reason for hiding this comment

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

Looks like ProvisionerClassName should be registryProvisionerID. The bundle provisioner id would go in here.

Copy link
Member Author

Choose a reason for hiding this comment

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

I actually think platform operators was specifically designed not to work with registryv1 bundles. Did we lose the plain provisioner in the latest revision?

Copy link

@varshaprasad96 varshaprasad96 Jan 26, 2024

Choose a reason for hiding this comment

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

Plain provisioner does exist. I noticed BundleSpec.provisionerClassName to be registry. Which is what made me think that this could be registryV1.

Copy link
Member Author

Choose a reason for hiding this comment

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

I tested this a little bit and you were correct. We actually don't have support for configuring the provisioner in PO and the only test examples we have support for are registryv1, so the right thing to migrate here is to use the registryv1 provisioner. I've updated accordingly.

Includes controller runtime bump changes

Signed-off-by: kevinrizza <krizza@redhat.com>
@ankitathomas
Copy link

/lgtm

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

@varshaprasad96 varshaprasad96 left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@kevinrizza
Copy link
Member Author

/override openshift-e2e-aws

@kevinrizza
Copy link
Member Author

/approve

@kevinrizza
Copy link
Member Author

/override ci/prow/openshift-e2e-aws

@kevinrizza kevinrizza changed the title Update to use rukpakv1alpha2 apis NO-ISSUE: Update to use rukpakv1alpha2 apis Jan 29, 2024
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 29, 2024
@openshift-ci-robot
Copy link

@kevinrizza: This pull request explicitly references no jira issue.

In response to this:

Includes controller runtime bump changes

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.

@kevinrizza kevinrizza added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 29, 2024
Copy link
Contributor

openshift-ci bot commented Jan 29, 2024

@kevinrizza: kevinrizza unauthorized: /override is restricted to Repo administrators, approvers in top level OWNERS file, and the following github teams:openshift: openshift-release-oversight openshift-staff-engineers.

In response to this:

/override openshift-e2e-aws

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.

Copy link
Contributor

openshift-ci bot commented Jan 29, 2024

@kevinrizza: kevinrizza unauthorized: /override is restricted to Repo administrators, approvers in top level OWNERS file, and the following github teams:openshift: openshift-release-oversight openshift-staff-engineers.

In response to this:

/override ci/prow/openshift-e2e-aws

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.

Copy link
Contributor

openshift-ci bot commented Jan 29, 2024

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: kevinrizza, varshaprasad96

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-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD cf737e2 and 2 for PR HEAD bb1111d in total

@ncdc
Copy link
Contributor

ncdc commented Jan 29, 2024

AWS flake
/retest

@grokspawn
Copy link

/retest

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 6af37e4 and 1 for PR HEAD bb1111d in total

@kevinrizza
Copy link
Member Author

/retest

@m1kola
Copy link
Member

m1kola commented Feb 1, 2024

/retest

Copy link
Contributor

openshift-ci bot commented Feb 1, 2024

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

@openshift-merge-bot openshift-merge-bot bot merged commit eebb073 into openshift:main Feb 1, 2024
6 checks passed
@openshift-bot
Copy link

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-cluster-platform-operators-manager-container-v4.16.0-202402011710.p0.geebb073.assembly.stream for distgit ose-cluster-platform-operators-manager.
All builds following this will include this PR.

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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants