mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
Merge pull request #119129 from shiftstack/deprecate-pvlabeler
Document PVLabeler as deprecated
This commit is contained in:
commit
94f7049746
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user