Skip to content

OCPCLOUD-3320: Use new manifests-gen#259

Draft
mdbooth wants to merge 2 commits intoopenshift:masterfrom
openshift-cloud-team:manifests-gen
Draft

OCPCLOUD-3320: Use new manifests-gen#259
mdbooth wants to merge 2 commits intoopenshift:masterfrom
openshift-cloud-team:manifests-gen

Conversation

@mdbooth
Copy link

@mdbooth mdbooth commented Dec 19, 2025

@openshift-ci-robot
Copy link

openshift-ci-robot commented Dec 19, 2025

@mdbooth: This pull request references OCPCLOUD-3320 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.22.0" version, but no target version was set.

Details

In response to this:

Use new manifests-gen

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.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Dec 19, 2025
@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 Dec 19, 2025
@openshift-ci
Copy link

openshift-ci bot commented Dec 19, 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
Copy link

openshift-ci bot commented Dec 19, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mdbooth

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 Dec 19, 2025
@mdbooth mdbooth force-pushed the manifests-gen branch 2 times, most recently from 17b9bce to b512242 Compare January 5, 2026 15:55
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 5, 2026

@mdbooth: This pull request references OCPCLOUD-3320 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.22.0" version, but no target version was set.

Details

In response to this:

Use new manifests-gen

TODO:

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.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 16, 2026
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 16, 2026
@openshift-ci
Copy link

openshift-ci bot commented Jan 19, 2026

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

Choose a reason for hiding this comment

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

Have we considered writing multiple files rather than one enormous, unreviewable file?

Copy link
Author

Choose a reason for hiding this comment

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

This file is not primarily for review. It's for consumption by the installer, and one big file is easier to manage. Also, as the output of kustomize is a single KRM-formatted dooberry, we'd have to invent a scheme to split it on. We'd be adding complexity in the producer in order to create complexity for the consumer.

In terms of reviewability, it's no more or less reviewable than the installer_components.yaml we had for review, but no longer need because this file is now always available. What makes you say it's unreviewable? The vendor directory regularly breaks GH, but that's a separate issue.

Choose a reason for hiding this comment

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

It's a 25k line file?

I would imagine that when we are regenerating files, it would be easier to review if you could see it touched a particular configmap vs some random lines in the midst of 25k

I didn't like that the previous iteration was unreviewable either FWIW

Comment on lines +15 to +16
COPY openshift/manifests /manifests
COPY openshift/capi-operator-manifests /capi-operator-manifests

Choose a reason for hiding this comment

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

Why were we previously copying from the builder?

Copy link
Author

Choose a reason for hiding this comment

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

No idea. It was unnecessary, though.

-install-order=10 \
-attribute version="${PROVIDER_VERSION}" \
-self-image-ref registry.ci.openshift.org/openshift:cluster-capi-controllers \
-protect-cluster-resource cluster

Choose a reason for hiding this comment

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

What would this flag accept for other types, e.g. AWSCluster? I'm surprised this is just cluster and not a fully qualified name?

Copy link
Author

Choose a reason for hiding this comment

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

This is an override for the heuristic which was there before, but which seemed to be tripped up by most providers due to having more than one infracluster type.

We could make this fully qualified. Is it worth respinning for it? It would be annoying to change later, so maybe.

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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. 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.

4 participants