Files
kubernetes-config/ptp-chat/ptp-chat-frontend.yaml
jona.klaess bca9165f3c
All checks were successful
Mirror to GitHub / mirror (push) Successful in 7s
remove specific secret and use env vars for frontend
2026-06-08 15:23:29 +02:00

47 lines
1.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: ptp-chat-frontend
namespace: ptp-chat
labels:
app: ptp-chat-frontend
spec:
replicas: 1
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
env:
- name: URL_KEYCLOAK
value: "https://keycloak.controller.bittehackmichnicht.de"
- name: KEYCLOAK_REALM
value: "PraxistransferKeycloak"
- name: KEYCLOAK_CLIENT_ID
value: "praxistransfer"
- name: URL_FRONTEND
value: "https://ptp-chat.k8s.bittehackmichnicht.de"
- name: URL_BACKEND
value: "https://ptp-chat.k8s.bittehackmichnicht.de/api"
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