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

Revert type hack in api #845

Merged
merged 3 commits into from
Aug 10, 2022

Conversation

marquiz
Copy link
Contributor

@marquiz marquiz commented Jul 7, 2022

  • Revert the hack that was a workaround for issues with k8s deepcopy-gen.
    New deepcopy-gen is able to generate code correctly without issues so
    this is not needed anymore.

    Also, removing this hack solves issues with object validation when
    creating NodeFeatureRules programmatically with nfd go-client. This is
    needed later with NodeFeatureRules e2e-tests.

  • Update controller-gen and k8s code-generator to the latest releases.

  • Refresh auto-generated files

Depends on #829

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 7, 2022
@marquiz
Copy link
Contributor Author

marquiz commented Jul 7, 2022

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 7, 2022
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 7, 2022
@marquiz
Copy link
Contributor Author

marquiz commented Aug 9, 2022

/retitle Revert type hack in api

@k8s-ci-robot k8s-ci-robot changed the title revert the type hack Revert type hack in api Aug 9, 2022
@marquiz marquiz force-pushed the devel/nfd-api-cleanup branch 3 times, most recently from 22cf9e2 to 4a667b0 Compare August 10, 2022 11:19
@marquiz
Copy link
Contributor Author

marquiz commented Aug 10, 2022

#829 was merged ->
/unhold

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 10, 2022
Update controller-gen and k8s code-generator to the latest releases.
Revert the hack that was a workaround for issues with k8s deepcopy-gen.
New deepcopy-gen is able to generate code correctly without issues so
this is not needed anymore.

Also, removing this hack solves issues with object validation when
creating NodeFeatureRules programmatically with nfd go-client. This is
needed later with NodeFeatureRules e2e-tests.

Logically reverts f3cc109.
@marquiz
Copy link
Contributor Author

marquiz commented Aug 10, 2022

/assign @ArangoGutierrez

Copy link
Contributor

@ArangoGutierrez ArangoGutierrez left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 10, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ArangoGutierrez, marquiz

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

@k8s-ci-robot k8s-ci-robot merged commit f26064c into kubernetes-sigs:master Aug 10, 2022
@marquiz marquiz deleted the devel/nfd-api-cleanup branch August 10, 2022 13:34
@marquiz marquiz mentioned this pull request Dec 20, 2022
22 tasks
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants