use separate env file
All checks were successful
Mirror to GitHub / mirror (push) Successful in 8s

This commit is contained in:
jona.klaess
2026-06-08 15:42:48 +02:00
parent bca9165f3c
commit 49c955f8e8
4 changed files with 21 additions and 14 deletions

View File

@@ -6,7 +6,6 @@ metadata:
labels:
app: ptp-chat-frontend
spec:
replicas: 1
selector:
matchLabels:
app: ptp-chat-frontend
@@ -19,17 +18,10 @@ spec:
- 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"
volumeMounts:
- name: env-volume
mountPath: /usr/share/nginx/html/env-config.js
subPath: env-config.js
ports:
- name: http
containerPort: 80
@@ -44,4 +36,8 @@ spec:
httpGet:
port: 80
imagePullSecrets:
- name: pull-secret
- name: pull-secret
volumes:
- name: env-volume
configMap:
name: ptp-chat-frontend-env