Browse Source

Update deployment.yaml

guizhong 6 years ago
parent
commit
13d64d8677
1 changed files with 3 additions and 1 deletions
  1. 3 1
      deployment.yaml

+ 3 - 1
deployment.yaml

@@ -80,7 +80,9 @@ metadata:
     kubernetes.io/ingress.class: $JNLP_INGRESS
     kubernetes.io/ingress.class: $JNLP_INGRESS
 spec:
 spec:
   rules:
   rules:
-  - host: $JNLP_ENV-$JNLP_CONTROL_NAME$JNLP_DOMAIN
+  hosts:
+    - $JNLP_ENV-$JNLP_CONTROL_NAME$JNLP_DOMAIN
+    - test-$JNLP_ENV-$JNLP_CONTROL_NAME$JNLP_DOMAIN
     http:
     http:
       paths:
       paths:
       - path: /
       - path: /