Sfoglia il codice sorgente

更新 'deploy-tmp.yaml'

scofield 5 anni fa
parent
commit
1bcd78f536
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  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: