mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
Document PVLabeler as deprecated
This has no callers outside of the deprecated PersistentVolumeLabel admission controller, and it does not appear to be intended for implementation by external cloud provider implementations. The CSI topology feature, while not an exact equivalent, fulfils a very similar role. Indicate this. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
8f79a3d91e
commit
f2fa6d5f6b
@ -285,6 +285,7 @@ type Zones interface {
|
||||
}
|
||||
|
||||
// PVLabeler is an abstract, pluggable interface for fetching labels for volumes
|
||||
// DEPRECATED: PVLabeler is deprecated in favor of CSI topology feature.
|
||||
type PVLabeler interface {
|
||||
GetLabelsForVolume(ctx context.Context, pv *v1.PersistentVolume) (map[string]string, error)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user