mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-30 05:43:58 +00:00
Automatic merge from submit-queue (batch tested with PRs 67194, 67540). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Externalize PV/PVC informer for StorageObjectInUseProtection & NodeAuthorizer **What this PR does / why we need it**: /sig api-machinery ref: #66680 We move on and make the change happen for PV/PVC. > PV: NodeAuthorizer, StorageObjectInUseProtection > PVC: StorageObjectInUseProtection 1. Externalize PV and PVC informers for `StorageObjectInUseProtection` 2. Copy utility functions for PV from `pkg/api/persistentvolume` to `pkg/api/v1/persistentvolume` and make it accept external types. 3. Bump PV informer in NodeAuthorizer **Release note**: ```release-note NONE ```