2021-08-28 20:31:45 +00:00
|
|
|
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: front
|
|
|
|
spec:
|
2021-08-28 21:28:46 +00:00
|
|
|
replicas: 1
|
2021-08-28 20:31:45 +00:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: front
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: front
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: app
|
|
|
|
image: anticrm/front
|
|
|
|
ports:
|
|
|
|
- containerPort: 8080
|
|
|
|
imagePullPolicy: Always
|
2021-10-25 15:11:48 +00:00
|
|
|
env:
|
2021-11-22 11:17:10 +00:00
|
|
|
- name: ACCOUNTS_URL
|
|
|
|
value: https://account.hc.engineering/
|
|
|
|
- name: UPLOAD_URL
|
|
|
|
value: /files
|
2021-10-25 15:11:48 +00:00
|
|
|
- name: TRANSACTOR_URL
|
2022-01-12 09:03:12 +00:00
|
|
|
value: wss://transactor.hc.engineering/
|
|
|
|
- name: GMAIL_URL
|
|
|
|
value: gmail.hc.engineering
|
2021-10-25 15:11:48 +00:00
|
|
|
- name: ELASTIC_URL
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: elastic
|
|
|
|
key: url
|
|
|
|
- name: MINIO_ENDPOINT
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: minio
|
|
|
|
key: endpoint
|
|
|
|
- name: MINIO_ACCESS_KEY
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: minio
|
|
|
|
key: accessKey
|
|
|
|
- name: MINIO_SECRET_KEY
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: minio
|
|
|
|
key: secretKey
|
2021-08-28 20:31:45 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: front
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
app: front
|
|
|
|
ports:
|
|
|
|
- port: 80
|
|
|
|
targetPort: 8080
|