Browse Source

Update deployment.yaml

guizhong 6 years ago
parent
commit
b157334843
1 changed files with 14 additions and 0 deletions
  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