kcp icon indicating copy to clipboard operation
kcp copied to clipboard

:bug: admission/webhooks: properly cache webhooks and cleanup

Open sttts opened this issue 1 year ago • 3 comments

Summary

The old code only added webhook sources, but never cleaned up. This PR bump kube to get CEL optimization for webhook filters, and it properly caches the webhook per cluster and cleans up on deletion.

Related issue(s)

Fixes #

Release Notes

Fix memory leak in admission webhook caching.

sttts avatar Sep 17 '24 09:09 sttts

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from sttts. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

kcp-ci-bot avatar Sep 17 '24 09:09 kcp-ci-bot

/retest

sttts avatar Sep 27 '24 12:09 sttts

@sttts: 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
pull-kcp-test-e2e-multiple-runs 6493b39402e00b8460ded0f5b532beb66fab7c35 link true /test pull-kcp-test-e2e-multiple-runs
pull-kcp-test-e2e 6493b39402e00b8460ded0f5b532beb66fab7c35 link true /test pull-kcp-test-e2e
pull-kcp-test-e2e-shared 6493b39402e00b8460ded0f5b532beb66fab7c35 link true /test pull-kcp-test-e2e-shared
pull-kcp-test-e2e-sharded 6493b39402e00b8460ded0f5b532beb66fab7c35 link true /test pull-kcp-test-e2e-sharded

Full PR test history

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. I understand the commands that are listed here.

kcp-ci-bot avatar Sep 27 '24 13:09 kcp-ci-bot

Issues go stale after 90d of inactivity. After a furter 30 days, they will turn rotten. Mark the issue as fresh with /remove-lifecycle stale.

If this issue is safe to close now please do so with /close.

/lifecycle stale

kcp-ci-bot avatar Dec 26 '24 20:12 kcp-ci-bot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

kcp-ci-bot avatar Jan 25 '25 20:01 kcp-ci-bot

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

kcp-ci-bot avatar Feb 24 '25 20:02 kcp-ci-bot

@kcp-ci-bot: Closed this PR.

In response to this:

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

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.

kcp-ci-bot avatar Feb 24 '25 20:02 kcp-ci-bot