Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 57c315bad8 | |||
| 2c086c2f4a | |||
| d1d5ab5b71 | |||
| 0101473bea | |||
| 0692193443 | |||
| 15f13206c2 |
@@ -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
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: wings-ark-sa
|
name: wings-ark-sa-api
|
||||||
namespace: game-servers
|
namespace: game-servers
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
tls:
|
tls:
|
||||||
secretName: wings-ark-sa-tls
|
secretName: wings-ark-sa-tls
|
||||||
certResolver: letsencrypt
|
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`wings-ark-sa.khalisio.com`)
|
- match: Host(`wings-ark-sa.khalisio.com`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: wings-ark-sa-api
|
- name: wings-ark-sa-api
|
||||||
port: 8081
|
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
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: wings-enshrouded
|
|
||||||
namespace: game-servers
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
tls:
|
|
||||||
secretName: wings-enshrouded-tls
|
|
||||||
certResolver: letsencrypt
|
|
||||||
routes:
|
|
||||||
- match: Host(`wings-enshrouded.khalisio.com`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: wings-enshrouded-api
|
|
||||||
port: 8081
|
|
||||||
@@ -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
|
|
||||||
@@ -37,7 +37,7 @@ spec:
|
|||||||
- name: WINGS_API_SFTP_PORT
|
- name: WINGS_API_SFTP_PORT
|
||||||
value: "2023"
|
value: "2023"
|
||||||
- name: WINGS_SERVER_UUID
|
- name: WINGS_SERVER_UUID
|
||||||
value: "9d09e83d-00c3-4404-07c0522a6c25"
|
value: "9d09e83d-00c3-4404-8f81-07c0522a6c25"
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: wings-valheim-config
|
name: wings-valheim-config
|
||||||
@@ -89,7 +89,7 @@ spec:
|
|||||||
name: pelican-autostart-key
|
name: pelican-autostart-key
|
||||||
key: api_key
|
key: api_key
|
||||||
- name: SERVER_UUID
|
- name: SERVER_UUID
|
||||||
value: "9d09e83d-00c3-4404-07c0522a6c25"
|
value: "9d09e83d-00c3-4404-8f81-07c0522a6c25"
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: external-secrets.io/v1beta1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: wings-valheim-config
|
||||||
|
namespace: game-servers
|
||||||
|
spec:
|
||||||
|
refreshInterval: 1h
|
||||||
|
secretStoreRef:
|
||||||
|
name: vault-secret-store
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: wings-valheim-config
|
||||||
|
creationPolicy: Owner
|
||||||
|
data:
|
||||||
|
- secretKey: config
|
||||||
|
remoteRef:
|
||||||
|
key: Talos Cluster/wings/valheim
|
||||||
|
property: config
|
||||||
|
- secretKey: api_key
|
||||||
|
remoteRef:
|
||||||
|
key: Talos Cluster/wings/valheim
|
||||||
|
property: api_key
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: wings-valheim
|
name: wings-valheim-api
|
||||||
namespace: game-servers
|
namespace: game-servers
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: wings-valheim-data
|
||||||
|
namespace: game-servers
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
storageClassName: longhorn
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 30Gi
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: wings-valheim-api
|
||||||
|
namespace: game-servers
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: wings-valheim
|
||||||
|
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-valheim-game
|
||||||
|
namespace: game-servers
|
||||||
|
annotations:
|
||||||
|
metallb.universe.tf/address-pool: default
|
||||||
|
spec:
|
||||||
|
type: LoadBalancer
|
||||||
|
loadBalancerIP: 10.4.4.205
|
||||||
|
selector:
|
||||||
|
app: wings-valheim
|
||||||
|
ports:
|
||||||
|
- name: game-udp
|
||||||
|
port: 2456
|
||||||
|
targetPort: 2456
|
||||||
|
protocol: UDP
|
||||||
|
- name: game-tcp
|
||||||
|
port: 2457
|
||||||
|
targetPort: 2457
|
||||||
|
protocol: TCP
|
||||||
Reference in New Issue
Block a user