Sfoglia il codice sorgente

更新 'deploy-tmp.yaml'

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

+ 1 - 95
deploy-tmp.yaml

@@ -77,98 +77,4 @@ metadata:
   name: $DRONE_REPO_NAME-ingress
   namespace: $JNLP_ENV
   annotations:
-    kubernetes.io/ingress.class: $JNLP_INGRESS
-spec:
-  rules:
-  - host: $JNLP_ENV-$DRONE_REPO_NAME$JNLP_DOMAIN
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-  - host: www.easou.cn 
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-  - host: wap.easou.cn
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-  - host: easou.cn
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-  - host: a.easou.cn
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-  - host: www.appeasou.com 
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-  - host: wap.appeasou.com
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-  - host: appeasou.com
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-  - host: a.appeasou.com
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-
-  - host: www.easou.com 
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-  - host: wap.easou.com
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-  - host: easou.com
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
-  - host: a.easou.com
-    http:
-      paths:
-      - path: /
-        backend:
-          serviceName: $DRONE_REPO_NAME-svc
-          servicePort: $JNLP_CONTAINER_PORT
+    kubernetes.io/ingress.class: $JNLP_INGRESS