Skip to content

🌱 fix and test webhook testdata compilation#1345

Merged
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
alvaroaleman:fix-bump
Feb 17, 2026
Merged

🌱 fix and test webhook testdata compilation#1345
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
alvaroaleman:fix-bump

Conversation

@alvaroaleman
Copy link
Member

@alvaroaleman alvaroaleman commented Feb 16, 2026

The webhook testdata used a very old controller-runtime version but
fundamentally doesn't actually need any code, as the tests only require
the markers, so just kill it all.

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 16, 2026

var _ webhook.Defaulter = &CronJob{}
var _ webhook.Validator = &CronJob{}
var _ admission.Defaulter[*cronjobv1.CronJob] = &webhook{}
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 am also wondering if we even need any of this code...Would it be enough to just have an empty go file with the comments?

Copy link
Member Author

Choose a reason for hiding this comment

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

We do not, so just removing it all

@alvaroaleman alvaroaleman changed the title 🌱 Bump c-r dependency, fix webhook testdata compilation 🌱 fix and test webhook testdata compilation Feb 17, 2026
The webhook testdata used a very old controller-runtime version but
fundamentally doesn't actually need any code, as the tests only require
the markers, so just kill it all.
@sbueringer
Copy link
Member

Nice cleanup, thx!

/lgtm
/approve

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

LGTM label has been added.

DetailsGit tree hash: fc48fc083ae7fa4a0ed7922968cd7559d04188b5

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman, sbueringer

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:
  • OWNERS [alvaroaleman,sbueringer]

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 3c8cb26 into kubernetes-sigs:main Feb 17, 2026
7 checks passed
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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants