Explorar el Código

Update deployment.yaml

guizhong hace 6 años
padre
commit
b157334843
Se han modificado 1 ficheros con 14 adiciones y 0 borrados
  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