|
@@ -29,6 +29,7 @@ func genParam(req *types.CreateJupyterInfo) map[string]interface{} {
|
|
|
settings = append(settings, fmt.Sprintf("ingress.jupyterlab.hosts[0].host=%s", req.Host))
|
|
|
settings = append(settings, fmt.Sprintf("ingress.jupyterlab.hosts[0].paths[0].path=%s", req.Path))
|
|
|
settings = append(settings, fmt.Sprintf("ingress.jupyterlab.hosts[0].paths[0].pathType=%s", req.PathType))
|
|
|
+ logx.Info(req.IngressClass, "------- len: ", len(req.IngressClass))
|
|
|
if len(req.IngressClass) > 0 {
|
|
|
// ingressClass, _ := json.Marshal(map[string]string{
|
|
|
// "kubernetes.io/ingress.class": req.IngressClass,
|