kubi files
This commit is contained in:
35
k8s/frontend-deployment.yaml
Normal file
35
k8s/frontend-deployment.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
apiVersion: apps/v1
|
||||
|
||||
kind: Deployment
|
||||
|
||||
metadata:
|
||||
name: telefonkonyv-frontend
|
||||
namespace: szakdolgozat
|
||||
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: telefonkonyv-frontend
|
||||
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: telefonkonyv-frontend
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: gitea-regcred
|
||||
|
||||
containers:
|
||||
- name: frontend
|
||||
image: git.petyi.eu/szakdolgozat/frontend:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 80
|
||||
env:
|
||||
- name: CHOKIDAR_USEPOLLING
|
||||
value: "true"
|
||||
- name: VITE_BACKEND_API_HOST
|
||||
value: "http://telefonkonyv-api"
|
||||
- name: VITE_BACKEND_API_PORT
|
||||
value: "3000"
|
||||
Reference in New Issue
Block a user