Explorar el Código

更新 'deploy-tmp.yaml'

scofield hace 5 años
padre
commit
213ac44f99
Se han modificado 1 ficheros con 81 adiciones y 3 borrados
  1. 81 3
      deploy-tmp.yaml

+ 81 - 3
deploy-tmp.yaml

@@ -74,16 +74,94 @@ spec:
 apiVersion: extensions/v1beta1
 kind: Ingress
 metadata:
-  name: $DRONE_REPO_NAME-ingress
+  name: $JNLP_CONTROL_NAME-ing
   namespace: $JNLP_ENV
   annotations:
     kubernetes.io/ingress.class: $JNLP_INGRESS
 spec:
   rules:
-  - host: $JNLP_ENV-$DRONE_REPO_NAME$JNLP_DOMAIN
+  - host: www.easou.cn 
     http:
       paths:
       - path: /
         backend:
-          serviceName: $DRONE_REPO_NAME-svc
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+  - host: wap.easou.cn
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+  - host: easou.cn
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+  - host: a.easou.cn
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+  - host: www.appeasou.com 
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+  - host: wap.appeasou.com
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+  - host: appeasou.com
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+  - host: a.appeasou.com
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+
+  - host: www.easou.com 
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+  - host: wap.easou.com
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+  - host: easou.com
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
+          servicePort: $JNLP_CONTAINER_PORT
+  - host: a.easou.com
+    http:
+      paths:
+      - path: /
+        backend:
+          serviceName: $JNLP_CONTROL_NAME-svc
           servicePort: $JNLP_CONTAINER_PORT