Explorar el Código

更新 'deploy-tmp.yaml'

robert hace 5 años
padre
commit
5d7579ac8c
Se han modificado 1 ficheros con 1 adiciones y 95 borrados
  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