apps(minecraft): Add minecraft deployment
parent
be671631a8
commit
ae3554d7b1
@ -0,0 +1,9 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: minecraft
|
||||
metadata:
|
||||
name: minecraft
|
||||
resources:
|
||||
- app/namespace.yaml
|
||||
- app/release.yaml
|
||||
- app/route.yaml
|
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: minecraft
|
||||
labels:
|
||||
name: minecraft
|
@ -0,0 +1,61 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: minecraft
|
||||
namespace: minecraft
|
||||
spec:
|
||||
releaseName: minecraft
|
||||
chart:
|
||||
spec:
|
||||
chart: minecraft
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: minecraft
|
||||
namespace: repos
|
||||
interval: 60m
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
values:
|
||||
resources:
|
||||
requests:
|
||||
memory: 512Mi
|
||||
persistence:
|
||||
storageClass: ebs-ssd
|
||||
dataDir:
|
||||
enabled: true
|
||||
extraEnv:
|
||||
USE_AIKAR_FLAGS: true
|
||||
minecraftServer:
|
||||
eula: true
|
||||
type: FABRIC
|
||||
version: 1.20.4
|
||||
difficulty: hard
|
||||
motd: Welcome to ClusterCraft!
|
||||
ops: trivernis
|
||||
pvp: true
|
||||
forceRedownload: true
|
||||
removeOldMods: true
|
||||
rcon:
|
||||
enabled: true
|
||||
withGeneratedPassword: true
|
||||
memory: 4G
|
||||
modrinth:
|
||||
projects:
|
||||
- fabric-api
|
||||
- silk
|
||||
- bluemap
|
||||
- bmarker
|
||||
- chunky
|
||||
- chunkyborder
|
||||
- carpet
|
||||
- carpet-tis-addition
|
||||
- fabric-language-kotlin
|
||||
- universal-graves
|
||||
- ledger
|
||||
- lithium
|
||||
- phosphor
|
||||
- spark
|
||||
- simple-voice-chat
|
||||
- debugify
|
||||
|
@ -0,0 +1,13 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRouteTCP
|
||||
metadata:
|
||||
name: minecraft
|
||||
namespace: minecraft
|
||||
spec:
|
||||
entryPoints:
|
||||
- minecraft
|
||||
routes:
|
||||
- match: HostSNI(`*`)
|
||||
services:
|
||||
- name: minecraft
|
||||
port: minecraft
|
@ -0,0 +1,9 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: minecraft
|
||||
namespace: repos
|
||||
spec:
|
||||
interval: 60m
|
||||
url: https://itzg.github.io/minecraft-server-charts
|
||||
|
Loading…
Reference in New Issue