Skip to content

Conversation

@dlom
Copy link
Contributor

@dlom dlom commented Oct 22, 2025

Closes #256 (for real this time)
xref: CORS-4266
See also: openshift/hive#2731

Additionally, this PR removes the UniqueItems validator on the IP address tuples, as explained in the commit message

@openshift-ci openshift-ci bot requested review from eslutsky and honza October 22, 2025 00:13
@dlom dlom force-pushed the add-deepcopy-to-types branch from aafbc03 to e3465e9 Compare October 22, 2025 00:13
)

//go:generate go run ../../vendor/sigs.k8s.io/controller-tools/cmd/controller-gen crd:crdVersions=v1 paths=. output:dir=../../data/data/
//go:generate go run ../../vendor/k8s.io/code-generator/cmd/deepcopy-gen --output-file zz_generated.deepcopy.go ./...
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here is where the generator is actually invoked. This ties in with existing codegen, and hack/verify_codegen.sh

@dlom dlom force-pushed the add-deepcopy-to-types branch 4 times, most recently from 76157f1 to f99bfe3 Compare October 22, 2025 19:04
@dlom
Copy link
Contributor Author

dlom commented Oct 22, 2025

/retitle CORS-4266: Add generated DeepCopy implementations for pkg/types/installconfig

@openshift-ci openshift-ci bot changed the title Add generated DeepCopy implementations for pkg/types/installconfig CORS-4266: Add generated DeepCopy implementations for pkg/types/installconfig Oct 22, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Oct 22, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 22, 2025

@dlom: This pull request references CORS-4266 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 task to target the "4.21.0" version, but no target version was set.

In response to this:

Closes #256 (for real this time)

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

openshift-ci-robot commented Oct 22, 2025

@dlom: This pull request references CORS-4266 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 task to target the "4.21.0" version, but no target version was set.

In response to this:

Closes #256 (for real this time)
xref: CORS-4266
See also: openshift/hive#2731

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.

1 similar comment
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 22, 2025

@dlom: This pull request references CORS-4266 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 task to target the "4.21.0" version, but no target version was set.

In response to this:

Closes #256 (for real this time)
xref: CORS-4266
See also: openshift/hive#2731

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.

@dlom
Copy link
Contributor Author

dlom commented Oct 22, 2025

/jira refresh

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 22, 2025

@dlom: This pull request references CORS-4266 which is a valid jira issue.

In response to this:

/jira refresh

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.

@dlom
Copy link
Contributor Author

dlom commented Oct 23, 2025

/retest

3 similar comments
@dlom
Copy link
Contributor Author

dlom commented Oct 24, 2025

/retest

@dlom
Copy link
Contributor Author

dlom commented Oct 25, 2025

/retest

@dlom
Copy link
Contributor Author

dlom commented Oct 29, 2025

/retest

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 29, 2025

@dlom: This pull request references CORS-4266 which is a valid jira issue.

In response to this:

Closes #256 (for real this time)
xref: CORS-4266
See also: openshift/hive#2731

Additionally, this PR removes the UniqueItems validator on the IP address tuples, as explained in the commit message

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

@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.

This looks good. Left some minor comments, which I think should be addressed.

Regarding the last commit, removing uniqueitems I think that's fine. I reviewed the validation code and we have validation in place that ensures if 2 IPs are provided, one must be ipv4 and one ipv6, so therefore they must be unique. i.e. the validation is redundant and already in place.

@dlom
Copy link
Contributor Author

dlom commented Nov 12, 2025

@patrickdillon Thank you, this is ready for a final review now

@dlom dlom requested a review from patrickdillon November 12, 2025 17:47
@patrickdillon
Copy link
Contributor

/approve
/lgtm

will be verified by verify-codegen, which timedout on the most recent run

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 18, 2025
dlom added 2 commits November 18, 2025 22:28
Iff the intent of adding kubebuilder/DeepCopy code generation is to
enable these types to be used in CRD definitions, it stands to reason
that these CRDs should be usable in a k8s cluster.  UniqueItem=true is
not permitted on CRDs for k8s.

This might be controversial because it relaxes validation requirements
@dlom
Copy link
Contributor Author

dlom commented Nov 19, 2025

How did some pass and some fail? 🤯

edit: and verify-codegen should have complained

@dlom dlom force-pushed the add-deepcopy-to-types branch from f9d438c to f8aa3f7 Compare November 19, 2025 06:46
@openshift-ci-robot openshift-ci-robot removed the verified Signifies that the PR passed pre-merge verification criteria label Nov 19, 2025
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 19, 2025
@tthvo
Copy link
Member

tthvo commented Nov 19, 2025

How did some pass and some fail? 🤯

edit: and verify-codegen should have complained

I suspect those "passed" jobs could be stale pre-submit results that haven't been rerun 🤷 Let's see again...

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 19, 2025
Copy link
Member

@tthvo tthvo left a comment

Choose a reason for hiding this comment

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

/lgtm
/verified by verify-codegen

All good now!

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 19, 2025
@tthvo
Copy link
Member

tthvo commented Nov 19, 2025

/verified by verify-codegen

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Nov 19, 2025
@openshift-ci-robot
Copy link
Contributor

@tthvo: This PR has been marked as verified by verify-codegen.

In response to this:

/verified by verify-codegen

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 0791e81 and 2 for PR HEAD f8aa3f7 in total

@tthvo
Copy link
Member

tthvo commented Nov 19, 2025

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 61db26a and 1 for PR HEAD f8aa3f7 in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 18c57a0 and 0 for PR HEAD f8aa3f7 in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision f8aa3f7 was retested 3 times: holding

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 20, 2025
@2uasimojo
Copy link
Member

/retest-required

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 20, 2025

@dlom: 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/okd-scos-e2e-aws-ovn f9d438c link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-gcp-custom-dns f8aa3f7 link false /test e2e-gcp-custom-dns
ci/prow/e2e-azure-ovn-shared-vpc f8aa3f7 link false /test e2e-azure-ovn-shared-vpc
ci/prow/gcp-private f8aa3f7 link false /test gcp-private
ci/prow/e2e-metal-single-node-live-iso f8aa3f7 link false /test e2e-metal-single-node-live-iso
ci/prow/e2e-nutanix-ovn f8aa3f7 link false /test e2e-nutanix-ovn
ci/prow/e2e-openstack-proxy f8aa3f7 link false /test e2e-openstack-proxy
ci/prow/e2e-azurestack f8aa3f7 link false /test e2e-azurestack
ci/prow/e2e-metal-ovn-two-node-fencing f8aa3f7 link false /test e2e-metal-ovn-two-node-fencing
ci/prow/e2e-metal-assisted f8aa3f7 link false /test e2e-metal-assisted
ci/prow/e2e-ibmcloud-ovn f8aa3f7 link false /test e2e-ibmcloud-ovn
ci/prow/e2e-vsphere-ovn-disk-setup-techpreview f8aa3f7 link false /test e2e-vsphere-ovn-disk-setup-techpreview
ci/prow/e2e-aws-ovn-heterogeneous f8aa3f7 link false /test e2e-aws-ovn-heterogeneous
ci/prow/e2e-metal-ipi-ovn-dualstack f8aa3f7 link false /test e2e-metal-ipi-ovn-dualstack

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.

@2uasimojo
Copy link
Member

/retest-required
/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 20, 2025
@patrickdillon
Copy link
Contributor

This is caught in retest hell.

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. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InstallConfig Cannot Be Embedded in Kube Types Due to missing DeepCopyInto Methods

6 participants