Sfoglia il codice sorgente

更新 'deploy-tmp.yaml'

robert 5 anni fa
parent
commit
ebd26d445f
1 ha cambiato i file con 88 aggiunte e 1 eliminazioni
  1. 88 1
      deploy-tmp.yaml

+ 88 - 1
deploy-tmp.yaml

@@ -77,4 +77,91 @@ metadata:
   name: $DRONE_REPO_NAME-ingress
   namespace: $JNLP_ENV
   annotations:
-    kubernetes.io/ingress.class: $JNLP_INGRESS
+    kubernetes.io/ingress.class: $JNLP_INGRESS
+spec:
+  rules:
+  - host: www.easou.cn 
+    http:
+      paths:
+      - path: /
+        backend:
+          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