mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-24 03:18:57 +00:00
glusterfs service endpoint prefix should be glusterfs-dynamic-
.
This commit is contained in:
@@ -768,7 +768,7 @@ func (p *glusterfsVolumeProvisioner) CreateVolume(gid int) (r *v1.GlusterfsVolum
|
|||||||
return nil, 0, fmt.Errorf("error [%v] when getting cluster nodes for volume %s", err, volume)
|
return nil, 0, fmt.Errorf("error [%v] when getting cluster nodes for volume %s", err, volume)
|
||||||
}
|
}
|
||||||
|
|
||||||
// The 'endpointname' is created in form of 'gluster-dynamic-<claimname>'.
|
// The 'endpointname' is created in form of 'glusterfs-dynamic-<claimname>'.
|
||||||
// createEndpointService() checks for this 'endpoint' existence in PVC's namespace and
|
// createEndpointService() checks for this 'endpoint' existence in PVC's namespace and
|
||||||
// If not found, it create an endpoint and svc using the IPs we dynamically picked at time
|
// If not found, it create an endpoint and svc using the IPs we dynamically picked at time
|
||||||
// of volume creation.
|
// of volume creation.
|
||||||
|
Reference in New Issue
Block a user