This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user