Merge pull request #119129 from shiftstack/deprecate-pvlabeler

Document PVLabeler as deprecated
This commit is contained in:
Kubernetes Prow Robot 2023-10-29 02:51:53 +02:00 committed by GitHub
commit 94f7049746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,6 +290,7 @@ type Zones interface {
} }
// PVLabeler is an abstract, pluggable interface for fetching labels for volumes // PVLabeler is an abstract, pluggable interface for fetching labels for volumes
// DEPRECATED: PVLabeler is deprecated in favor of CSI topology feature.
type PVLabeler interface { type PVLabeler interface {
GetLabelsForVolume(ctx context.Context, pv *v1.PersistentVolume) (map[string]string, error) GetLabelsForVolume(ctx context.Context, pv *v1.PersistentVolume) (map[string]string, error)
} }