diff --git a/product/gateway/ingress-www.yaml b/product/gateway/ingress-www.yaml deleted file mode 100644 index 9f1c75e..0000000 --- a/product/gateway/ingress-www.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: juno-www - annotations: - cert-manager.io/cluster-issuer: letsencrypt-prod - traefik.ingress.kubernetes.io/router.middlewares: default-cors@kubernetescrd, default-strip-api@kubernetescrd -spec: - tls: - - hosts: - - www.lingpaike.com - secretName: www.lingpaike.com - rules: - - host: www.lingpaike.com - http: - paths: - - pathType: Prefix - path: "/" - backend: - service: - name: juno-www - port: - number: 80 diff --git a/product/gateway/ingress.yaml b/product/gateway/ingress.yaml index 28b75cf..a8fea70 100644 --- a/product/gateway/ingress.yaml +++ b/product/gateway/ingress.yaml @@ -1,17 +1,17 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: juno-saas + name: juno-www annotations: cert-manager.io/cluster-issuer: letsencrypt-prod traefik.ingress.kubernetes.io/router.middlewares: default-cors@kubernetescrd, default-strip-api@kubernetescrd spec: tls: - hosts: - - saas.lingpaike.com - secretName: saas.lingpaike.com + - www.lingpaike.com + secretName: www.lingpaike.com rules: - - host: saas.lingpaike.com + - host: www.lingpaike.com http: paths: - pathType: Prefix diff --git a/uat/gateway/ingress-www.yaml b/uat/gateway/ingress-www.yaml deleted file mode 100644 index 3d3b40a..0000000 --- a/uat/gateway/ingress-www.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: juno-www - annotations: - cert-manager.io/cluster-issuer: letsencrypt-prod - traefik.ingress.kubernetes.io/router.middlewares: default-cors@kubernetescrd, default-strip-api@kubernetescrd -spec: - tls: - - hosts: - - www.qa.lingpaike.com - secretName: www.qa.lingpaike.com - rules: - - host: www.qa.lingpaike.com - http: - paths: - - pathType: Prefix - path: "/" - backend: - service: - name: juno-www - port: - number: 80 diff --git a/uat/gateway/ingress.yaml b/uat/gateway/ingress.yaml index c100b0f..47a1316 100644 --- a/uat/gateway/ingress.yaml +++ b/uat/gateway/ingress.yaml @@ -1,17 +1,17 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: juno-saas + name: juno-www annotations: cert-manager.io/cluster-issuer: letsencrypt-prod traefik.ingress.kubernetes.io/router.middlewares: default-cors@kubernetescrd, default-strip-api@kubernetescrd spec: tls: - hosts: - - saas.qa.lingpaike.com - secretName: saas.qa.lingpaike.com + - www.qa.lingpaike.com + secretName: www.qa.lingpaike.com rules: - - host: saas.qa.lingpaike.com + - host: www.qa.lingpaike.com http: paths: - pathType: Prefix