This commit is contained in:
Nathan Rashleigh committed 2026-02-08 21:50:38 +11:00
1 parent 174a963ce0
commit 0e78da4d2b
5 files changed
+222 -29

No files matched your search

+2 -2
View File
@@ -17,8 +17,8 @@ spec:
- host: spacerace.ntwl.xyz
http:
paths:
- path: /api(/|$)(.*)
pathType: ImplementationSpecific
- path: /
pathType: Prefix
backend:
service:
name: spacerace-api
+28 -27
View File
@@ -97,33 +97,34 @@ spec:
---
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: spacerace-api
# namespace: spacerace
# spec:
# replicas: 1
# selector:
# matchLabels:
# app: spacerace-api
# template:
# metadata:
# labels:
# app: spacerace-api
# spec:
# containers:
# - name: spacerace-api
# image: registry.ntwl.xyz/spacerace-api
# imagePullPolicy: IfNotPresent
# ports:
# - containerPort: 80
# env:
# - name: CONNECTIONSTRINGS__SPACERACE
# valueFrom:
# secretKeyRef:
# name: spacerace
# key: CONNECTIONSTRINGS__SPACERACE
apiVersion: apps/v1
kind: Deployment
metadata:
name: spacerace-api
namespace: spacerace
spec:
replicas: 1
selector:
matchLabels:
app: spacerace-api
template:
metadata:
labels:
app: spacerace-api
spec:
containers:
- name: spacerace-api
image: registry.ntwl.xyz/spacerace-api
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
env:
- name: CONNECTIONSTRINGS__SPACERACE
valueFrom:
secretKeyRef:
name: spacerace
key: CONNECTIONSTRINGS__SPACERACE
---
# -----------------------------------------------------------------------