刘洪青 | 4720585 | 2020-08-14 13:39:30 +0800 | [diff] [blame] | 1 | # 4.9.security-center-ui.yaml |
| 2 | |
| 3 | --- |
| 4 | apiVersion: v1 |
| 5 | kind: ConfigMap |
| 6 | metadata: |
| 7 | namespace: personal-security-center |
| 8 | name: security-center-ui-env |
| 9 | data: |
刘洪青 | 494bf18 | 2020-12-24 21:37:28 +0800 | [diff] [blame] | 10 | # **修改** 学校的根域名 |
刘洪青 | 7ee4cd7 | 2020-11-09 10:57:35 +0800 | [diff] [blame] | 11 | RESOURCE_PREFIX: http://authx-minio.paas.xxx.edu.cn/security-center-ui |
| 12 | SCHOOL_NAME: "" |
刘洪青 | 4720585 | 2020-08-14 13:39:30 +0800 | [diff] [blame] | 13 | MAIN_SERVER: http://security-center.paas.xxx.edu.cn |
| 14 | |
| 15 | PERSONAL_CENTER_API: http://personal-security-center.paas.xxx.edu.cn |
刘洪青 | e6b0538 | 2020-12-07 11:48:12 +0800 | [diff] [blame] | 16 | |
刘洪青 | 4720585 | 2020-08-14 13:39:30 +0800 | [diff] [blame] | 17 | AUTH_CAS: http://cas.paas.xxx.edu.cn/cas |
| 18 | JWT_ISS: http://cas.paas.xxx.edu.cn/cas |
| 19 | JWT_SECRET: (@<rhnPaUYKC_k770*DuWwYQ_#Zc#8c(2rB?kae)rN)>K7qy)awCjxp$L653Mf$2 |
| 20 | |
| 21 | |
| 22 | --- |
| 23 | apiVersion: v1 |
| 24 | kind: Service |
| 25 | metadata: |
| 26 | namespace: personal-security-center |
| 27 | name: security-center-ui-svc |
| 28 | labels: |
| 29 | app: security-center-ui-svc |
| 30 | spec: |
| 31 | ports: |
| 32 | - port: 80 |
| 33 | targetPort: http |
| 34 | protocol: TCP |
| 35 | name: http |
| 36 | selector: |
| 37 | app: security-center-ui |
| 38 | |
| 39 | --- |
| 40 | apiVersion: apps/v1 |
| 41 | kind: Deployment |
| 42 | metadata: |
| 43 | namespace: personal-security-center |
| 44 | name: security-center-ui |
| 45 | spec: |
| 46 | selector: |
| 47 | matchLabels: |
| 48 | app: security-center-ui |
| 49 | replicas: 1 |
| 50 | template: |
| 51 | metadata: |
| 52 | labels: |
| 53 | app: security-center-ui |
| 54 | spec: |
| 55 | containers: |
| 56 | - name: security-center-ui |
| 57 | # 若使用了学校搭设的私有仓库,请修改 |
刘洪青 | febb8f2 | 2021-03-10 18:52:11 +0800 | [diff] [blame] | 58 | image: harbor.supwisdom.com/personal-security-center/security-center-ui:1.1.1-RELEASE |
刘洪青 | 4720585 | 2020-08-14 13:39:30 +0800 | [diff] [blame] | 59 | imagePullPolicy: Always |
| 60 | ports: |
| 61 | - containerPort: 80 |
| 62 | name: http |
| 63 | envFrom: |
| 64 | - configMapRef: |
| 65 | name: security-center-ui-env |
| 66 | resources: |
| 67 | requests: |
| 68 | memory: "128Mi" |
| 69 | limits: |
| 70 | memory: "256Mi" |
| 71 | imagePullSecrets: |
| 72 | - name: harbor-registry |