From 1c2103d5802a9f5db406c3c0f3e5003fe8c25ea8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=88=98=E6=B4=AA=E9=9D=92?= Date: Wed, 21 Oct 2020 16:18:43 +0800 Subject: [PATCH] =?utf8?q?chore:=20=E8=B0=83=E6=95=B4=E6=96=B0=E5=BC=80?= =?utf8?q?=E6=99=AEtest=E7=8E=AF=E5=A2=83=EF=BC=8C=E9=83=A8=E7=BD=B2?= =?utf8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- ....user-authorization-service-ingresses.yaml | 50 +++++++++++++------ 1 file changed, 34 insertions(+), 16 deletions(-) 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 -- 2.17.1