mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Add Namespace to glusterfs custom volume names.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
62616d79ad
commit
2c34b9cf77
@ -765,7 +765,7 @@ func (p *glusterfsVolumeProvisioner) CreateVolume(gid int) (r *v1.GlusterfsVolum
|
||||
}
|
||||
|
||||
if p.provisionerConfig.volumeNamePrefix != "" {
|
||||
customVolumeName = fmt.Sprintf("%s_%s_%s", p.provisionerConfig.volumeNamePrefix, p.options.PVC.Name, uuid.NewUUID())
|
||||
customVolumeName = fmt.Sprintf("%s_%s_%s_%s", p.provisionerConfig.volumeNamePrefix, p.options.PVC.Namespace, p.options.PVC.Name, uuid.NewUUID())
|
||||
}
|
||||
|
||||
gid64 := int64(gid)
|
||||
|
Loading…
Reference in New Issue
Block a user