刘洪青 | d0187d0 | 2020-08-19 14:55:05 +0800 | [diff] [blame] | 1 | # 10.9.poa-api-docs-installer.yaml |
| 2 | |
| 3 | # 安装完 POA 后,执行 |
| 4 | |
| 5 | --- |
| 6 | apiVersion: v1 |
| 7 | kind: ConfigMap |
| 8 | metadata: |
| 9 | namespace: authx-service-test |
| 10 | name: poa-api-docs-installer-env |
| 11 | data: |
| 12 | ## |
| 13 | # 平台OpenAPI的外网访问地址, |
| 14 | # **修改** 学校的根域名 |
刘洪青 | 2a8d4c5 | 2020-10-15 16:21:23 +0800 | [diff] [blame] | 15 | POA_SERVER_URL: http://poa-test.paas.newcapec.cn |
| 16 | POA_SA_SERVER_URL: http://poa-sa-test.paas.newcapec.cn |
| 17 | # http://poa-test-platform-openapi-sa.poa-test.svc.cluster.local:8443 |
刘洪青 | d0187d0 | 2020-08-19 14:55:05 +0800 | [diff] [blame] | 18 | |
刘洪青 | ccd6f0b | 2020-10-21 10:32:56 +0800 | [diff] [blame^] | 19 | USER_API_SERVER_URL: http://user-data-service-poa-svc.user-data-service-test.svc.cluster.local:8080 |
| 20 | USER_AUTHZ_API_SERVER_URL: http://user-authorization-poa-svc.user-authorization-service-test.svc.cluster.local:8080 |
| 21 | COMMUNICATE_API_SERVER_URL: http://communicate-center-poa-svc.communicate-center-test.svc.cluster.local:8080 |
| 22 | |
刘洪青 | d0187d0 | 2020-08-19 14:55:05 +0800 | [diff] [blame] | 23 | |
| 24 | --- |
| 25 | apiVersion: batch/v1 |
| 26 | kind: Job |
| 27 | metadata: |
| 28 | namespace: authx-service-test |
| 29 | name: poa-api-docs-installer |
| 30 | spec: |
| 31 | completions: 1 |
| 32 | parallelism: 1 |
| 33 | template: |
| 34 | metadata: |
| 35 | labels: |
| 36 | app: poa-api-docs-installer |
| 37 | spec: |
| 38 | restartPolicy: Never |
| 39 | containers: |
| 40 | - name: poa-api-docs-installer |
| 41 | # 若使用了学校搭设的私有仓库,请修改 |
刘洪青 | 2a8d4c5 | 2020-10-15 16:21:23 +0800 | [diff] [blame] | 42 | image: harbor.supwisdom.com/authx-service/poa-api-docs-installer:1.1.0-SNAPSHOT |
刘洪青 | d0187d0 | 2020-08-19 14:55:05 +0800 | [diff] [blame] | 43 | imagePullPolicy: Always |
| 44 | envFrom: |
| 45 | - configMapRef: |
| 46 | name: poa-api-docs-installer-env |
| 47 | resources: |
| 48 | requests: |
| 49 | memory: "256Mi" |
| 50 | limits: |
| 51 | memory: "256Mi" |
| 52 | imagePullSecrets: |
| 53 | - name: harbor-registry |