helm/chart/templates/frontend/deployment.yaml
2025-11-06 14:40:01 +01:00

34 lines
860 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend-deployment
labels:
app: frontend
spec:
replicas: {{ .Values.frontend.replicas }}
selector:
matchLabels:
app: frontend
template:
metadata:
labels:
app: frontend
spec:
containers:
- name: frontend-pod
resources:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "128Mi"
image: harbor.dinauer.dev/kubooboo/frontend:12
ports:
- containerPort: 3000
env:
- name: NUXT_PUBLIC_API_SCHEMA
value: {{ .Values.url.schema }}
- name: NUXT_PUBLIC_API_WS_SCHEMA
value: {{ .Values.url.wsSchema }}r
- name: NUXT_PUBLIC_API_HOST
value: {{ .Values.url.host }}