surf
This commit is contained in:
1 parent
174a963ce0
commit
0e78da4d2b
5 files changed
+222
-29
No files matched your search
@@ -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
@@ -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
|
||||
|
||||
---
|
||||
|
||||
# -----------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user