|
|
@@ -21,16 +21,10 @@ spec: |
|
|
|
env: |
|
|
|
- name: branch |
|
|
|
value: <BRANCH_NAME> |
|
|
|
- name: TZ |
|
|
|
value: Asia/Shanghai |
|
|
|
ports: |
|
|
|
- containerPort: 80 |
|
|
|
protocol: TCP |
|
|
|
volumeMounts: |
|
|
|
- mountPath: "/app/appsettings.json" |
|
|
|
name: wfzweb-config |
|
|
|
readOnly: true |
|
|
|
subPath: appsettings |
|
|
|
- mountPath: "/etc/localtime" |
|
|
|
name: timezone |
|
|
|
resources: |
|
|
@@ -41,9 +35,6 @@ spec: |
|
|
|
cpu: "500m" |
|
|
|
memory: "512Mi" |
|
|
|
volumes: |
|
|
|
- name: wfzweb-config |
|
|
|
configMap: |
|
|
|
name: wfzweb-config |
|
|
|
- name: timezone |
|
|
|
hostPath: |
|
|
|
path: /usr/share/zoneinfo/Asia/Shanghai |
|
|
|