fix notebook route (kubeflow/kubeflow#4402)
This commit is contained in:
parent
2e7dc7ec06
commit
2fe3108347
|
|
@ -344,8 +344,8 @@ func virtualServiceName(kfName string, namespace string) string {
|
|||
func generateVirtualService(instance *v1beta1.Notebook) (*unstructured.Unstructured, error) {
|
||||
name := instance.Name
|
||||
namespace := instance.Namespace
|
||||
prefix := fmt.Sprintf("/notebook/%s/%s", namespace, name)
|
||||
rewrite := fmt.Sprintf("/notebook/%s/%s", namespace, name)
|
||||
prefix := fmt.Sprintf("/notebook/%s/%s/", namespace, name)
|
||||
rewrite := fmt.Sprintf("/notebook/%s/%s/", namespace, name)
|
||||
// TODO(gabrielwen): Make clusterDomain an option.
|
||||
service := fmt.Sprintf("%s.%s.svc.cluster.local", name, namespace)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue