style: 新开普test,部署脚本整理、更新
diff --git a/project/newcapec-test/k8s-rancher/1.authx-service/0.authx-service/2.authx-service-minio.yaml b/project/newcapec-test/k8s-rancher/1.authx-service/0.authx-service/2.authx-service-minio.yaml
index 3b757fb..93657ff 100644
--- a/project/newcapec-test/k8s-rancher/1.authx-service/0.authx-service/2.authx-service-minio.yaml
+++ b/project/newcapec-test/k8s-rancher/1.authx-service/0.authx-service/2.authx-service-minio.yaml
@@ -5,27 +5,35 @@
# 文件服务器,对象存储
####################################################
+# 手动初始化默认的图片
+#
+# 访问 https://authx-minio-test.paas.newcapec.cn
+# 登录 1y8N@8R@a_2u , 8pxlIe9#lN7Q
+# 创建 bucket: portrait , cas-server-site-ui
+# 将 portrait 目录下的 图片,上传到 portrait 中(此为用户的默认头像)
+# 将 cas-server-site-ui 目录下的 图片,上传到 cas-server-site-ui 中(此为认证登录界面上使用的图片,实际项目中,由UI进行设计后,替换)
+
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
- namespace: authx-service-test
name: minio-data-pvc
+ namespace: authx-service-test
spec:
accessModes:
- ReadWriteMany
# 根据情况修改
- storageClassName: supwisdom-nfs-storage
+ storageClassName: nfs-client
resources:
requests:
- storage: 5Gi
+ storage: 50Gi
---
apiVersion: v1
kind: Secret
metadata:
- namespace: authx-service-test
name: minio-env-secret
+ namespace: authx-service-test
type: Opaque
data:
# 修改 access_key,并使用 base64 工具进行编码
@@ -96,20 +104,21 @@
# 该 ingress 配置可选,主要用于实施调试用
-# ---
-# apiVersion: extensions/v1beta1
-# kind: Ingress
-# metadata:
-# name: minio-ingress
-# namespace: authx-service
-# spec:
-# rules:
-# # 修改为学校的根域名
-# - host: minio.paas.xxx.edu.cn
-# http:
-# paths:
-# - path: /
-# backend:
-# serviceName: minio-svc
-# servicePort: http
-
+---
+apiVersion: extensions/v1beta1
+kind: Ingress
+metadata:
+ name: minio-ingress
+ namespace: authx-service-test
+ annotations:
+ nginx.ingress.kubernetes.io/proxy-body-size: 8m
+spec:
+ rules:
+ # 修改为学校的根域名
+ - host: authx-minio-test.paas.newcapec.cn
+ http:
+ paths:
+ - path: /
+ backend:
+ serviceName: minio-svc
+ servicePort: http
diff --git a/project/newcapec-test/k8s-rancher/1.authx-service/0.authx-service/9.poa-api-docs-installer.yaml b/project/newcapec-test/k8s-rancher/1.authx-service/0.authx-service/9.poa-api-docs-installer.yaml
index 7c15066..2ef7e13 100644
--- a/project/newcapec-test/k8s-rancher/1.authx-service/0.authx-service/9.poa-api-docs-installer.yaml
+++ b/project/newcapec-test/k8s-rancher/1.authx-service/0.authx-service/9.poa-api-docs-installer.yaml
@@ -12,7 +12,9 @@
##
# 平台OpenAPI的外网访问地址,
# **修改** 学校的根域名
- POA_SERVER_URL: http://poa-test.newcapec.cn
+ POA_SERVER_URL: http://poa-test.paas.newcapec.cn
+ POA_SA_SERVER_URL: http://poa-sa-test.paas.newcapec.cn
+ # http://poa-test-platform-openapi-sa.poa-test.svc.cluster.local:8443
---
@@ -33,7 +35,7 @@
containers:
- name: poa-api-docs-installer
# 若使用了学校搭设的私有仓库,请修改
- image: harbor.supwisdom.com/authx-service/poa-api-docs-installer:1.0.0-SNAPSHOT
+ image: harbor.supwisdom.com/authx-service/poa-api-docs-installer:1.1.0-SNAPSHOT
imagePullPolicy: Always
envFrom:
- configMapRef: