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

Update MutatingWebhookConfiguration: Switch from objectSelector to AdmissionWebhookMatchConditions #2241

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

lianghao208
Copy link
Member

What this PR does / why we need it:

The AdmissionWebhookMatchConditions became beta feature in k8s 1.28, which means the feature-gate is enabled by default.
This PR switches the webhook configuration from objectSelector to AdmissionWebhookMatchConditions to exclude the katib-controller pod creation deadlock.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2206

Checklist:

  • Docs included if any changes are user facing

Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

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

We can not merge this PR since we're supporting K8s v1.26 and v1.27.
/hold

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@tenzen-y
Copy link
Member

/lifecycle frozen

Copy link

@tenzen-y: The lifecycle/frozen label cannot be applied to Pull Requests.

In response to this:

/lifecycle frozen

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/test-infra repository.

@tenzen-y
Copy link
Member

/remove-lifecycle stale

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@tenzen-y
Copy link
Member

/remove-lifecycle stale

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@tenzen-y
Copy link
Member

/remove-lifecycle stale

Copy link

github-actions bot commented Nov 9, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Copy link

This pull request has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.

@github-actions github-actions bot closed this Nov 29, 2024
@andreyvelich andreyvelich reopened this Nov 29, 2024
@andreyvelich
Copy link
Member

/remove-lifecycle stale

@tenzen-y
Copy link
Member

tenzen-y commented Jan 14, 2025

@lianghao208 We stopped supporting v1.27. So, could you rebase and prepare a merge?

@lianghao208
Copy link
Member Author

@lianghao208 We stopped supporting v1.27. So, could you rebase and prepare a merge?

Sure, I am working on it.

@tenzen-y
Copy link
Member

@lianghao208 We stopped supporting v1.27. So, could you rebase and prepare a merge?

Sure, I am working on it.

Thank you!

@lianghao208
Copy link
Member Author

@tenzen-y
already rebased, PTAL, thanks.

Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

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

Thank you!
/lgtm
/approve

/rerun-all

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tenzen-y

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

@tenzen-y
Copy link
Member

/rerun-all

@tenzen-y
Copy link
Member

/hold cancel

@google-oss-prow google-oss-prow bot merged commit aa04cf4 into kubeflow:master Jan 22, 2025
63 checks passed
mahdikhashan pushed a commit to mahdikhashan/katib that referenced this pull request Jan 27, 2025
…missionWebhookMatchConditions (kubeflow#2241)

Signed-off-by: lianghao208 <[email protected]>
Signed-off-by: mahdikhashan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch from objectSelector to AdmissionWebhookMatchConditions
3 participants