mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
Pass pod metadata to flex plugin
This commit is contained in:
@@ -30,10 +30,14 @@ type flexVolume struct {
|
||||
// mounter provides the interface that is used to mount the actual
|
||||
// block device.
|
||||
mounter mount.Interface
|
||||
// podName is the name of the pod, if available.
|
||||
podName string
|
||||
// podUID is the UID of the pod.
|
||||
podUID types.UID
|
||||
// podNamespace is the namespace of the pod.
|
||||
// podNamespace is the namespace of the pod, if available.
|
||||
podNamespace string
|
||||
// podServiceAccountName is the service account name of the pod, if available.
|
||||
podServiceAccountName string
|
||||
// volName is the name of the pod's volume.
|
||||
volName string
|
||||
// the underlying plugin
|
||||
|
||||
Reference in New Issue
Block a user