Adding login screen, hex grid, and location service
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: territory-autobattler-locations-config
|
||||
namespace: territory-autobattler
|
||||
data:
|
||||
MongoDB__ConnectionString: mongodb://192.168.86.50:27017
|
||||
MongoDB__DatabaseName: territory-autobattler
|
||||
Jwt__Issuer: territory-autobattler
|
||||
Jwt__Audience: territory-autobattler-auth-api
|
||||
@@ -0,0 +1,34 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: territory-autobattler-locations
|
||||
namespace: territory-autobattler
|
||||
labels:
|
||||
app: territory-autobattler-locations
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: territory-autobattler-locations
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: territory-autobattler-locations
|
||||
spec:
|
||||
containers:
|
||||
- name: territory-autobattler-locations
|
||||
image: territory-autobattler-locations:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: territory-autobattler-locations-config
|
||||
- secretRef:
|
||||
name: territory-autobattler-locations-secrets
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8080
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
@@ -0,0 +1,8 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: territory-autobattler-locations-secrets
|
||||
namespace: territory-autobattler
|
||||
type: Opaque
|
||||
stringData:
|
||||
Jwt__Key: SuperUltraSecureJwtKeyWithAtLeast32Chars!!
|
||||
@@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: territory-autobattler-locations
|
||||
namespace: territory-autobattler
|
||||
labels:
|
||||
app: territory-autobattler-locations
|
||||
spec:
|
||||
selector:
|
||||
app: territory-autobattler-locations
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
nodePort: 30092
|
||||
Reference in New Issue
Block a user