Add Godot web client build pipeline, image packaging, and Argo webclient deployment manifests

This commit is contained in:
dingo
2026-02-28 02:47:41 +00:00
parent 2d6b20f3cb
commit 0383dd431b
7 changed files with 177 additions and 0 deletions
@@ -0,0 +1,32 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: sor-webclient
namespace: stone-server
labels:
app: sor-webclient
spec:
replicas: 2
selector:
matchLabels:
app: sor-webclient
template:
metadata:
labels:
app: sor-webclient
spec:
imagePullSecrets:
- name: harbor-credentials
containers:
- name: sor-webclient
image: registry.aeternalisgames.com/sor/sor-client:latest
imagePullPolicy: Always
ports:
- containerPort: 80
resources:
requests:
cpu: "50m"
memory: "64Mi"
limits:
cpu: "250m"
memory: "256Mi"
@@ -0,0 +1,25 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: sor-webclient-ingress
namespace: stone-server
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- webclient.aeternalisgames.com
secretName: webclient-tls
rules:
- host: webclient.aeternalisgames.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: sor-webclient
port:
number: 80
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: sor-webclient
namespace: stone-server
spec:
selector:
app: sor-webclient
ports:
- name: http
protocol: TCP
port: 80
targetPort: 80
type: ClusterIP