Files
kubernetes-config/ptp-chat/ptp-chat-frontend.yaml
jona.klaess 49c955f8e8
All checks were successful
Mirror to GitHub / mirror (push) Successful in 8s
use separate env file
2026-06-08 15:42:48 +02:00

43 lines
1.0 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: ptp-chat-frontend
namespace: ptp-chat
labels:
app: ptp-chat-frontend
spec:
selector:
matchLabels:
app: ptp-chat-frontend
template:
metadata:
labels:
app: ptp-chat-frontend
spec:
containers:
- name: ptp-chat-frontend
image: gitea.controller.bittehackmichnicht.de/apps/ptpchat-frontend/ptp-chat-frontend:latest
imagePullPolicy: Always
volumeMounts:
- name: env-volume
mountPath: /usr/share/nginx/html/env-config.js
subPath: env-config.js
ports:
- name: http
containerPort: 80
resources:
requests:
memory: 0.5Gi
cpu: 1
limits:
memory: 1Gi
cpu: 2
readinessProbe:
httpGet:
port: 80
imagePullSecrets:
- name: pull-secret
volumes:
- name: env-volume
configMap:
name: ptp-chat-frontend-env