From: 刘洪青 Date: Wed, 21 Oct 2020 08:18:43 +0000 (+0800) Subject: chore: 调整新开普test环境,部署配置 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=1c2103d5802a9f5db406c3c0f3e5003fe8c25ea8;p=institute%2Fdeploy-authx-service.git chore: 调整新开普test环境,部署配置 --- diff --git a/project/newcapec-test/k8s-rancher/1.authx-service/3.user-authorization-service/2.user-authorization-service-ingresses.yaml b/project/newcapec-test/k8s-rancher/1.authx-service/3.user-authorization-service/2.user-authorization-service-ingresses.yaml index 93fa95b..a02be26 100644 --- a/project/newcapec-test/k8s-rancher/1.authx-service/3.user-authorization-service/2.user-authorization-service-ingresses.yaml +++ b/project/newcapec-test/k8s-rancher/1.authx-service/3.user-authorization-service/2.user-authorization-service-ingresses.yaml @@ -9,19 +9,37 @@ # kubectl create secret generic ca-secret --from-file=client.truststore=client.truststore -n user-authorization-service # 暂时不使用,直接使用内部地址 -# --- -# apiVersion: extensions/v1beta1 -# kind: Ingress -# metadata: -# namespace: user-authorization-service-test -# name: user-authz-api-ingress -# spec: -# rules: -# # 修改为学校的根域名 -# - host: user-authz-api.paas.xxx.edu.cn -# http: -# paths: -# - path: / -# backend: -# serviceName: user-authorization-poa-svc -# servicePort: http +--- +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + namespace: user-authorization-service-test + name: user-authz-api-ingress +spec: + rules: + # 修改为学校的根域名 + - host: user-authz-api-test.paas.newcapec.cn + http: + paths: + - path: / + backend: + serviceName: user-authorization-poa-svc + servicePort: http + + +--- +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + namespace: user-authorization-service-test + name: user-authz-sa-ingress +spec: + rules: + # 修改为学校的根域名 + - host: user-authz-sa-test.paas.newcapec.cn + http: + paths: + - path: / + backend: + serviceName: user-authorization-sa-svc + servicePort: http