浏览代码

Update deployment.yaml

guizhong 6 年之前
父节点
当前提交
b157334843
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      deployment.yaml

+ 14 - 0
deployment.yaml

@@ -87,3 +87,17 @@ spec:
         backend:
           serviceName: $JNLP_CONTROL_NAME-svc
           servicePort: $JNLP_CONTAINER_PORT
+  - host: test-$JNLP_ENV-$JNLP_CONTROL_NAME$JNLP_DOMAIN
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+  - host: test2-$JNLP_ENV-$JNLP_CONTROL_NAME$JNLP_DOMAIN
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT