docs: admin-center-zuul 部署时,增加 context path /admin
diff --git a/deploy-manifests/k8s-rancher/6.admin-platform/6.admin-center/2.admin-center-ingresses.yaml b/deploy-manifests/k8s-rancher/6.admin-platform/6.admin-center/2.admin-center-ingresses.yaml
index b701016..981451b 100644
--- a/deploy-manifests/k8s-rancher/6.admin-platform/6.admin-center/2.admin-center-ingresses.yaml
+++ b/deploy-manifests/k8s-rancher/6.admin-platform/6.admin-center/2.admin-center-ingresses.yaml
@@ -17,7 +17,7 @@
- host: admin-center.paas.xxx.edu.cn
http:
paths:
- - path: /
+ - path: /admin
backend:
serviceName: admin-center-zuul-svc
servicePort: http
diff --git a/deploy-manifests/k8s-rancher/6.admin-platform/6.admin-center/4.5.admin-center-zuul.yaml b/deploy-manifests/k8s-rancher/6.admin-platform/6.admin-center/4.5.admin-center-zuul.yaml
index ee16741..3902d92 100644
--- a/deploy-manifests/k8s-rancher/6.admin-platform/6.admin-center/4.5.admin-center-zuul.yaml
+++ b/deploy-manifests/k8s-rancher/6.admin-platform/6.admin-center/4.5.admin-center-zuul.yaml
@@ -14,6 +14,8 @@
#SSL_TRUSTSTORE_FILE: file:/certs/server/server.truststore
#SSL_TRUSTSTORE_PASSWORD: ""
+ SERVER_SERVLET_CONTEXT_PATH: "/admin"
+
SERVER_MAXHTTPHEADERSIZE: "10240"
SERVER_TOMCAT_MAX_CONNECTIONS: "10000"
@@ -55,7 +57,7 @@
INFRAS_SECURITY_CAS_ENABLED: "true"
# 修改为学校的admin-center的访问域名
- APP_SERVER_HOST_URL: "http://admin-center.paas.xxx.edu.cn"
+ APP_SERVER_HOST_URL: "http://admin-center.paas.xxx.edu.cn/admin"
#APP_LOGIN_URL: "/cas/login"
#APP_LOGOUT_URL: "/cas/logout"
# 修改为学校的cas的访问域名
@@ -173,7 +175,7 @@
memory: "512Mi"
readinessProbe:
httpGet:
- path: /actuator/health
+ path: /admin/actuator/health
port: 8080
initialDelaySeconds: 20
periodSeconds: 5
diff --git a/deploy-manifests/k8s-rancher/6.admin-platform/7.admin-platform/4.1.admin-management.yaml b/deploy-manifests/k8s-rancher/6.admin-platform/7.admin-platform/4.1.admin-management.yaml
index e7dca58..359a0d2 100644
--- a/deploy-manifests/k8s-rancher/6.admin-platform/7.admin-platform/4.1.admin-management.yaml
+++ b/deploy-manifests/k8s-rancher/6.admin-platform/7.admin-platform/4.1.admin-management.yaml
@@ -9,7 +9,7 @@
data:
SCHOOL_NAME: sw
SERVER_URL: http://admin-management.paas.xxx.edu.cn
- BACKEND_URL: http://admin-center.paas.xxx.edu.cn
+ BACKEND_URL: http://admin-center.paas.xxx.edu.cn/admin
# 可选 jwt-cas,idToken-cas,uniauth
AUTH_TYPE: idToken-cas