2023-07-25 04:37:57 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: website
|
|
|
|
spec:
|
|
|
|
replicas: 2
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: website
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: website
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: website
|
2023-08-16 23:20:07 +00:00
|
|
|
image: git.distrust.co/public/website
|
|
|
|
imagePullPolicy: Always
|
2023-07-25 04:37:57 +00:00
|
|
|
ports:
|
|
|
|
- containerPort: 80
|
|
|
|
---
|
2024-09-05 04:01:21 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: web-form
|
|
|
|
spec:
|
|
|
|
replicas: 2
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: web-form
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: web-form
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: web-form
|
|
|
|
image: git.distrust.co/public/web-form
|
|
|
|
imagePullPolicy: Always
|
|
|
|
env:
|
|
|
|
- name: WEBMAIL_TARGET
|
|
|
|
value: sales@distrust.co
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: webmail-credentials
|
|
|
|
ports:
|
|
|
|
- containerPort: 4200
|
|
|
|
---
|
2023-07-25 04:37:57 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: website
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
port: 80
|
|
|
|
targetPort: 80
|
|
|
|
selector:
|
|
|
|
app: website
|
2024-09-05 04:01:21 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: web-form
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
port: 80
|
|
|
|
targetPort: 4200
|
|
|
|
selector:
|
|
|
|
app: web-form
|