|
@@ -74,16 +74,94 @@ spec:
|
|
apiVersion: extensions/v1beta1
|
|
apiVersion: extensions/v1beta1
|
|
kind: Ingress
|
|
kind: Ingress
|
|
metadata:
|
|
metadata:
|
|
- name: $DRONE_REPO_NAME-ingress
|
|
|
|
|
|
+ name: $JNLP_CONTROL_NAME-ing
|
|
namespace: $JNLP_ENV
|
|
namespace: $JNLP_ENV
|
|
annotations:
|
|
annotations:
|
|
kubernetes.io/ingress.class: $JNLP_INGRESS
|
|
kubernetes.io/ingress.class: $JNLP_INGRESS
|
|
spec:
|
|
spec:
|
|
rules:
|
|
rules:
|
|
- - host: $JNLP_ENV-$DRONE_REPO_NAME$JNLP_DOMAIN
|
|
|
|
|
|
+ - host: www.easou.cn
|
|
http:
|
|
http:
|
|
paths:
|
|
paths:
|
|
- path: /
|
|
- path: /
|
|
backend:
|
|
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
|
|
servicePort: $JNLP_CONTAINER_PORT
|