Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6aa6481e1e | |||
| 198adb65f3 | |||
| 46501f36c5 | |||
| 57e3f4a411 | |||
| 3346931dd3 | |||
| 92534b90ce |
@@ -1,17 +0,0 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: wings-7d2d
|
||||
namespace: game-servers
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
tls:
|
||||
secretName: wings-7d2d-tls
|
||||
certResolver: letsencrypt
|
||||
routes:
|
||||
- match: Host(`wings-7d2d.khalisio.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: wings-7d2d-api
|
||||
port: 8081
|
||||
@@ -1,17 +1,27 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: wings-ark-sa
|
||||
name: wings-ark-sa-api
|
||||
namespace: game-servers
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
tls:
|
||||
secretName: wings-ark-sa-tls
|
||||
certResolver: letsencrypt
|
||||
routes:
|
||||
- match: Host(`wings-ark-sa.khalisio.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: wings-ark-sa-api
|
||||
port: 8081
|
||||
scheme: https
|
||||
serversTransport: wings-ark-sa-st
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: ServersTransport
|
||||
metadata:
|
||||
name: wings-ark-sa-st
|
||||
namespace: game-servers
|
||||
spec:
|
||||
serverTransport:
|
||||
insecureSkipVerify: true
|
||||
|
||||
+9
-9
@@ -1,24 +1,24 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: wings-valheim
|
||||
name: wings-enshrouded
|
||||
namespace: game-servers
|
||||
labels:
|
||||
app.kubernetes.io/name: wings
|
||||
app.kubernetes.io/component: game-server
|
||||
app.kubernetes.io/part-of: pelican
|
||||
game: valheim
|
||||
game: enshrouded
|
||||
spec:
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: wings-valheim
|
||||
app: wings-enshrouded
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: wings-valheim
|
||||
game: valheim
|
||||
app: wings-enshrouded
|
||||
game: enshrouded
|
||||
spec:
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: amd64
|
||||
@@ -37,10 +37,10 @@ spec:
|
||||
- name: WINGS_API_SFTP_PORT
|
||||
value: "2023"
|
||||
- name: WINGS_SERVER_UUID
|
||||
value: "9d09e83d-00c3-4404-07c0522a6c25"
|
||||
value: "8448d68c-dec4-4025-97fa-9b49e36c75bb"
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: wings-valheim-config
|
||||
name: wings-enshrouded-config
|
||||
volumeMounts:
|
||||
- name: docker-socket
|
||||
mountPath: /var/run/docker.sock
|
||||
@@ -89,7 +89,7 @@ spec:
|
||||
name: pelican-autostart-key
|
||||
key: api_key
|
||||
- name: SERVER_UUID
|
||||
value: "9d09e83d-00c3-4404-07c0522a6c25"
|
||||
value: "8448d68c-dec4-4025-97fa-9b49e36c75bb"
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
@@ -115,4 +115,4 @@ spec:
|
||||
emptyDir: {}
|
||||
- name: server-data
|
||||
persistentVolumeClaim:
|
||||
claimName: wings-valheim-data
|
||||
claimName: wings-enshrouded-data
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: wings-enshrouded-config
|
||||
namespace: game-servers
|
||||
spec:
|
||||
refreshInterval: 1h
|
||||
secretStoreRef:
|
||||
name: vault-secret-store
|
||||
kind: ClusterSecretStore
|
||||
target:
|
||||
name: wings-enshrouded-config
|
||||
creationPolicy: Owner
|
||||
data:
|
||||
- secretKey: config
|
||||
remoteRef:
|
||||
key: Talos Cluster/wings/enshrouded
|
||||
property: config
|
||||
- secretKey: api_key
|
||||
remoteRef:
|
||||
key: Talos Cluster/wings/enshrouded
|
||||
property: api_key
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: wings-enshrouded
|
||||
name: wings-enshrouded-api
|
||||
namespace: game-servers
|
||||
spec:
|
||||
entryPoints:
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: wings-enshrouded-data
|
||||
namespace: game-servers
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 50Gi
|
||||
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: wings-enshrouded-api
|
||||
namespace: game-servers
|
||||
spec:
|
||||
selector:
|
||||
app: wings-enshrouded
|
||||
ports:
|
||||
- name: api
|
||||
port: 8081
|
||||
targetPort: 8081
|
||||
protocol: TCP
|
||||
- name: sftp
|
||||
port: 2023
|
||||
targetPort: 2023
|
||||
protocol: TCP
|
||||
@@ -0,0 +1,21 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: wings-enshrouded-game
|
||||
namespace: game-servers
|
||||
annotations:
|
||||
metallb.universe.tf/address-pool: default
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: 10.4.4.204
|
||||
selector:
|
||||
app: wings-enshrouded
|
||||
ports:
|
||||
- name: game-udp
|
||||
port: 7777
|
||||
targetPort: 7777
|
||||
protocol: UDP
|
||||
- name: game-tcp
|
||||
port: 27015
|
||||
targetPort: 27015
|
||||
protocol: TCP
|
||||
@@ -1,17 +0,0 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: wings-moria
|
||||
namespace: game-servers
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
tls:
|
||||
secretName: wings-moria-tls
|
||||
certResolver: letsencrypt
|
||||
routes:
|
||||
- match: Host(`wings-moria.khalisio.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: wings-moria-api
|
||||
port: 8081
|
||||
@@ -1,17 +0,0 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: wings-palworld
|
||||
namespace: game-servers
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
tls:
|
||||
secretName: wings-palworld-tls
|
||||
certResolver: letsencrypt
|
||||
routes:
|
||||
- match: Host(`wings-palworld.khalisio.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: wings-palworld-api
|
||||
port: 8081
|
||||
@@ -1,17 +0,0 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: wings-satisfactory
|
||||
namespace: game-servers
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
tls:
|
||||
secretName: wings-satisfactory-tls
|
||||
certResolver: letsencrypt
|
||||
routes:
|
||||
- match: Host(`wings-satisfactory.khalisio.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: wings-satisfactory-api
|
||||
port: 8081
|
||||
@@ -1,17 +0,0 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: wings-sotf
|
||||
namespace: game-servers
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
tls:
|
||||
secretName: wings-sotf-tls
|
||||
certResolver: letsencrypt
|
||||
routes:
|
||||
- match: Host(`wings-sotf.khalisio.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: wings-sotf-api
|
||||
port: 8081
|
||||
@@ -1,17 +0,0 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: wings-valheim
|
||||
namespace: game-servers
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
tls:
|
||||
secretName: wings-valheim-tls
|
||||
certResolver: letsencrypt
|
||||
routes:
|
||||
- match: Host(`wings-valheim.khalisio.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: wings-valheim-api
|
||||
port: 8081
|
||||
Reference in New Issue
Block a user