Maksim Lioshyn 78af81bf1c Task 1 done
2023-01-04 14:56:13 +04:00

30 lines
614 B
YAML

kind: Deployment
apiVersion: apps/v1
metadata:
name: webstatus
labels:
app: eshop
service: webstatus
spec:
replicas: 1
selector:
matchLabels:
service: webstatus
template:
metadata:
labels:
app: eshop
service: webstatus
spec:
containers:
- name: webstatus
image: {{ .Values.registry }}/webstatus:linux-net6-initial
imagePullPolicy: Always
ports:
- name: http
containerPort: 80
protocol: TCP
envFrom:
- configMapRef:
name: webstatus-cm