| # 10.9.poa-api-docs-installer.yaml |
| |
| # 安装完 POA 后,执行 |
| |
| --- |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| namespace: authx-service-test |
| name: poa-api-docs-installer-env |
| data: |
| ## |
| # 平台OpenAPI的外网访问地址, |
| # **修改** 学校的根域名 |
| 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 |
| |
| USER_API_SERVER_URL: http://user-data-service-poa-svc.user-data-service-test.svc.cluster.local:8080 |
| USER_AUTHZ_API_SERVER_URL: http://user-authorization-poa-svc.user-authorization-service-test.svc.cluster.local:8080 |
| COMMUNICATE_API_SERVER_URL: http://communicate-center-poa-svc.communicate-center-test.svc.cluster.local:8080 |
| |
| |
| --- |
| apiVersion: batch/v1 |
| kind: Job |
| metadata: |
| namespace: authx-service-test |
| name: poa-api-docs-installer |
| spec: |
| completions: 1 |
| parallelism: 1 |
| template: |
| metadata: |
| labels: |
| app: poa-api-docs-installer |
| spec: |
| restartPolicy: Never |
| containers: |
| - name: poa-api-docs-installer |
| # 若使用了学校搭设的私有仓库,请修改 |
| image: harbor.supwisdom.com/authx-service/poa-api-docs-installer:1.1.0-SNAPSHOT |
| imagePullPolicy: Always |
| envFrom: |
| - configMapRef: |
| name: poa-api-docs-installer-env |
| resources: |
| requests: |
| memory: "256Mi" |
| limits: |
| memory: "256Mi" |
| imagePullSecrets: |
| - name: harbor-registry |