瀏覽代碼

更新 'deploy-tmp.yaml'

scofield 5 年之前
父節點
當前提交
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
     kubernetes.io/ingress.class: $JNLP_INGRESS
 spec:
 spec:
   rules:
   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 
   - host: www.easou.cn 
     http:
     http:
       paths:
       paths: