diff --git a/vendor/github.com/libopenstorage/openstorage/volume/drivers/pwx/connection.go b/vendor/github.com/libopenstorage/openstorage/volume/drivers/pwx/connection.go index fab9750fff..22a8aea913 100644 --- a/vendor/github.com/libopenstorage/openstorage/volume/drivers/pwx/connection.go +++ b/vendor/github.com/libopenstorage/openstorage/volume/drivers/pwx/connection.go @@ -125,7 +125,7 @@ func (cpb *ConnectionParamsBuilder) BuildClientsEndpoints() (string, string, err return "", "", fmt.Errorf("failed to get k8s service specification: %v", err) } - endpoint = fmt.Sprintf("%s.%s.svc.cluster.local", svc.Name, svc.Namespace) + endpoint = fmt.Sprintf("%s.%s", svc.Name, svc.Namespace) var restPort int var restPortSecured int diff --git a/vendor/github.com/libopenstorage/operator/drivers/storage/portworx/util/util.go b/vendor/github.com/libopenstorage/operator/drivers/storage/portworx/util/util.go index 78187db043..648aba3c6c 100644 --- a/vendor/github.com/libopenstorage/operator/drivers/storage/portworx/util/util.go +++ b/vendor/github.com/libopenstorage/operator/drivers/storage/portworx/util/util.go @@ -797,7 +797,7 @@ func GetPortworxConn(sdkConn *grpc.ClientConn, k8sClient client.Client, namespac } // note, using symbolic name for the `endpoint`, as SSL certificates won't have K8s service IP - endpoint := PortworxServiceName + "." + namespace + ".svc.cluster.local" + endpoint := PortworxServiceName + "." + namespace sdkPort := defaultSDKPort // Get the ports from service