scofield 5 жил өмнө
parent
commit
1bcd78f536
1 өөрчлөгдсөн 7 нэмэгдсэн , 0 устгасан
  1. 7 0
      deploy-tmp.yaml

+ 7 - 0
deploy-tmp.yaml

@@ -80,6 +80,13 @@ metadata:
     kubernetes.io/ingress.class: $JNLP_INGRESS
 spec:
   rules:
+  - host: $JNLP_ENV-$DRONE_REPO_NAME$JNLP_DOMAIN
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $DRONE_REPO_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
   - host: www.easou.cn 
     http:
       paths: