feat: added missing ingress, serivce and other things
Delete PR Branch On Close / delete-branch (pull_request) Successful in 5s
Delete PR Branch On Close / delete-branch (pull_request) Successful in 5s
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -651,6 +651,15 @@ spec:
|
||||
- name: nowchess-frontend
|
||||
image: ghcr.io/now-chess/now-chess-systems/frontend:latest
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: REACT_APP_API_URL
|
||||
value: http://nowchess-core-active:8080
|
||||
- name: REACT_APP_ACCOUNT_URL
|
||||
value: http://nowchess-account-active:8083
|
||||
- name: REACT_APP_STORE_URL
|
||||
value: http://nowchess-store-active:8085
|
||||
- name: REACT_APP_WS_URL
|
||||
value: http://nowchess-ws-active:8084
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
|
||||
@@ -223,3 +223,27 @@ spec:
|
||||
- protocol: TCP
|
||||
port: 8084
|
||||
targetPort: 8084
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nowchess-frontend-active
|
||||
spec:
|
||||
selector:
|
||||
app: nowchess-frontend
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nowchess-frontend-preview
|
||||
spec:
|
||||
selector:
|
||||
app: nowchess-frontend
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
|
||||
@@ -41,6 +41,13 @@ spec:
|
||||
name: nowchess-core-active
|
||||
port:
|
||||
number: 8080
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: nowchess-frontend-active
|
||||
port:
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- nowchess.janis-eccarius.de
|
||||
|
||||
@@ -41,6 +41,13 @@ spec:
|
||||
name: nowchess-core-active
|
||||
port:
|
||||
number: 8080
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: nowchess-frontend-active
|
||||
port:
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- st.nowchess.janis-eccarius.de
|
||||
|
||||
Reference in New Issue
Block a user