Skip to content

OKD-259: Bump openshift/api and add support for OKD featureset specific CRDs#1324

Merged
openshift-merge-bot[bot] merged 2 commits intoopenshift:masterfrom
jatinsu:OKD-featureset
Jan 14, 2026
Merged

OKD-259: Bump openshift/api and add support for OKD featureset specific CRDs#1324
openshift-merge-bot[bot] merged 2 commits intoopenshift:masterfrom
jatinsu:OKD-featureset

Conversation

@jatinsu
Copy link
Contributor

@jatinsu jatinsu commented Dec 16, 2025

Vendor changes made here to add support for the OKD featureset

@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 16, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Dec 16, 2025

@jatinsu: This pull request references OKD-259 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 epic to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Vendor changes made here to add support for the OKD featureset

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.

@jatinsu jatinsu changed the title OKD-259: Vendor API and add support for OKD featureset Specific CRDs OKD-259: Vendor API and add support for OKD featureset specific CRDs Dec 16, 2025
@openshift-ci openshift-ci bot requested review from Miciah and bentito December 16, 2025 19:15
@jatinsu
Copy link
Contributor Author

jatinsu commented Dec 18, 2025

/test e2e-aws-pre-release-ossm e2e-gcp-operator okd-scos-images

@jatinsu
Copy link
Contributor Author

jatinsu commented Dec 18, 2025

/test e2e-aws-pre-release-ossm

1 similar comment
@jatinsu
Copy link
Contributor Author

jatinsu commented Jan 5, 2026

/test e2e-aws-pre-release-ossm

@jatinsu
Copy link
Contributor Author

jatinsu commented Jan 6, 2026

@Miciah Would you mind taking a look at this and giving a approval? Thank you!

@jatinsu jatinsu changed the title OKD-259: Vendor API and add support for OKD featureset specific CRDs OKD-259: Bump openshift/api and add support for OKD featureset specific CRDs Jan 6, 2026
@Miciah
Copy link
Contributor

Miciah commented Jan 7, 2026

@jatinsu, I'll add this PR to the team's review list. Does OKD also need #1272?

@alebedev87
Copy link
Contributor

@jatinsu: you added the installation of 00-custom-resource-definition-OKD.yaml but it's missing in manifests/ directory.

@jatinsu
Copy link
Contributor Author

jatinsu commented Jan 7, 2026

@jatinsu: you added the installation of 00-custom-resource-definition-OKD.yaml but it's missing in manifests/ directory.

I was a bit confused on this since all other featuresets have installations of their respective crds but these crds are all also missing in the manifests/ directory. Seems like this isn't needed anymore? Should I remove my addition in this case?

@Miciah
Copy link
Contributor

Miciah commented Jan 7, 2026

/assign

@Prashanth684
Copy link

@jatinsu, I'll add this PR to the team's review list. Does OKD also need #1272?

we will have to revisit #1272 as the person who was working on it is not involved in the effort anymore - but it has nothing to do with this effort and can be ignored for now.

@Miciah
Copy link
Contributor

Miciah commented Jan 7, 2026

I was a bit confused on this since all other featuresets have installations of their respective crds but these crds are all also missing in the manifests/ directory. Seems like this isn't needed anymore? Should I remove my addition in this case?

If I understand correctly, we do not need these changes now, but we will need them next time we add a featuregated API field in the IngressController CRD.

For example, fdb6215 bumped openshift/api to a version that had a featuregated IngressController.spec.endpointPublishingStrategy.loadBalancer.providerParameters.aws.networkingLoadBalancer.subnets API field. Adding this featuregated API field resulted in having multiple variants of the CRD:

  • manifests/00-custom-resource-definition-CustomNoUpgrade.yaml
  • manifests/00-custom-resource-definition-DevPreviewNoUpgrade.yaml
  • manifests/00-custom-resource-definition-TechPreviewNoUpgrade.yaml
  • manifests/00-custom-resource-definition.yaml

Subsequently, 48f0439 bumped openshift/api to a version in which none of the API fields were featuregated, and so all the variants were removed, leaving only manifests/00-custom-resource-definition.yaml.

And now there is an OKD variant for CRDs generally, so if we did have a featuregated API field in the IngressController CRD specifically, we would need to account for that variant as well.

So for this PR, there should be no new files under manifests/. However, with this PR merged, the next PR that adds a featuregated API field will also get the appropriate manifests/00-custom-resource-definition-OKD.yaml variant along with the other variants.

I think it is appropriate to merge this PR now. Otherwise, the next time we add a featuregated API field, we will need to update hack/update-generated-crd.sh and hack/verify-generated-crd.sh then to handle the OKD variant—and most likely we would forget to do so and waste time figuring out why things broke on OKD.

That said,
/approve
Please let me know if you disagree.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 7, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Miciah

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 Jan 7, 2026
@Miciah
Copy link
Contributor

Miciah commented Jan 7, 2026

I do request that you refer to the Jira ticket in the commit message and include a brief description of the changes (consistent with upstream Kubernetes commit message guidelines).

This commit updates `openshift-api` to the latest version to include the
new OKD featureset

`client-go` was also updated due to bumping `openshift-api` for
compatibility

commands ran for this update:
```
go get github.com/openshift/api@latest;
go get github.com/openshift/client-go@latest;
go mod tidy;
go mod vendor;
```
This commit updates update-generated-crd.sh and verify-generated-crd.sh
to support the OKD featureset
@jatinsu
Copy link
Contributor Author

jatinsu commented Jan 7, 2026

Please let me know if you disagree.

No disagreement here, the missing manifests makes a lot more sense to me now. Thanks for explaining!

I do request that you refer to the Jira ticket in the commit message and include a brief description of the changes (consistent with upstream Kubernetes commit message guidelines).

Just did. Thanks for pointing this out!

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 7, 2026

@jatinsu: The following test 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-aws-pre-release-ossm c017fb3 link false /test e2e-aws-pre-release-ossm

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.

@Prashanth684
Copy link

/test okd-scos-images

@jatinsu
Copy link
Contributor Author

jatinsu commented Jan 8, 2026

/test e2e-aws-operator

@Prashanth684
Copy link

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 12, 2026
@Prashanth684 Prashanth684 added docs-approved Signifies that Docs has signed off on this PR px-approved Signifies that Product Support has signed off on this PR acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. labels Jan 13, 2026
@Prashanth684
Copy link

/verified by @jatinsu

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jan 13, 2026
@openshift-ci-robot
Copy link
Contributor

@Prashanth684: This PR has been marked as verified by @jatinsu.

Details

In response to this:

/verified by @jatinsu

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

/retest-required

Remaining retests: 0 against base HEAD 636df55 and 2 for PR HEAD b735dc7 in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD c35fab4 and 1 for PR HEAD b735dc7 in total

@openshift-merge-bot openshift-merge-bot bot merged commit 56e2977 into openshift:master Jan 14, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. approved Indicates a PR has been approved by an approver from all required OWNERS files. docs-approved Signifies that Docs has signed off on this PR 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. px-approved Signifies that Product Support has signed off on this PR verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Comments