-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(minecraft): Deploy a new server
1 parent
2accf2a
commit ddf3929
Showing
18 changed files
with
109 additions
and
555 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Binary file not shown.
21 changes: 0 additions & 21 deletions
21
k8s/apps/games/minecraft/infrared-config/kustomization.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
k8s/apps/games/minecraft/infrared-config/plugins/prometheus.yaml
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
k8s/apps/games/minecraft/infrared-config/plugins/session_validator.yaml
This file was deleted.
Oops, something went wrong.
58 changes: 0 additions & 58 deletions
58
k8s/apps/games/minecraft/infrared-config/plugins/traffic_limiter.yaml
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
k8s/apps/games/minecraft/infrared-config/plugins/webhook.yaml
This file was deleted.
Oops, something went wrong.
172 changes: 0 additions & 172 deletions
172
k8s/apps/games/minecraft/infrared-config/proxies/defaults.yaml
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
k8s/apps/games/minecraft/infrared-config/proxies/gateway.yaml
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
k8s/apps/games/minecraft/infrared-config/proxies/vanilla.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/helm.toolkit.fluxcd.io/helmrelease_v2.json | ||
apiVersion: helm.toolkit.fluxcd.io/v2 | ||
kind: HelmRelease | ||
metadata: | ||
name: maria-mc | ||
namespace: flux-system | ||
spec: | ||
interval: 30m | ||
targetNamespace: minecraft | ||
chart: | ||
spec: | ||
chart: minecraft | ||
version: 4.23.2 | ||
sourceRef: | ||
kind: HelmRepository | ||
name: itzg-minecraft | ||
namespace: flux-system | ||
interval: 30m | ||
install: | ||
crds: CreateReplace | ||
upgrade: | ||
crds: CreateReplace | ||
values: | ||
resources: | ||
requests: | ||
memory: 4Gi | ||
cpu: 1 | ||
persistence: | ||
storageClass: freenas-api-iscsi-csi | ||
extraVolumes: | ||
- volumeMounts: | ||
- name: config | ||
mountPath: /data/config | ||
volumes: | ||
- name: config | ||
persistentVolumeClaim: | ||
claimName: maria-mc-config | ||
serviceAnnotations: | ||
mc-router.itzg.me/externalServerName: maria-mc.${CLUSTER_DOMAIN} | ||
minecraftServer: | ||
eula: "TRUE" | ||
type: "PAPER" | ||
version: "1.21.1" | ||
difficulty: normal | ||
motd: "Welcome to Maria's Minecraft server!" | ||
icon: https://avatars.githubusercontent.com/u/65277548?v=4 | ||
modrinth: | ||
projects: | ||
- Vebnzrzj # https://modrinth.com/plugin/luckperms | ||
- UmLGoGij # https://modrinth.com/plugin/discordsrv | ||
- pZ2wrerK # https://modrinth.com/plugin/emotecraft | ||
- fALzjamp # https://modrinth.com/plugin/chunky | ||
- P1OZGk5p # https://modrinth.com/plugin/viaversion | ||
- NpvuJQoq # https://modrinth.com/plugin/viabackwards | ||
- DzD7S3mv # https://modrinth.com/plugin/bending | ||
- evkiwA7V # https://modrinth.com/plugin/axiom-paper-plugin | ||
- tFLdoQMh # https://modrinth.com/plugin/stairsit | ||
- fD1X4Kwd # https://modrinth.com/plugin/lagfixer | ||
--- | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: maria-mc-config | ||
namespace: minecraft | ||
spec: | ||
accessModes: | ||
- ReadWriteMany | ||
volumeMode: Filesystem | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: freenas-api-smb-csi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/helm.toolkit.fluxcd.io/helmrelease_v2.json | ||
apiVersion: helm.toolkit.fluxcd.io/v2 | ||
kind: HelmRelease | ||
metadata: | ||
name: mc-router | ||
namespace: flux-system | ||
spec: | ||
interval: 30m | ||
targetNamespace: minecraft | ||
chart: | ||
spec: | ||
chart: mc-router | ||
version: 1.2.3 | ||
sourceRef: | ||
kind: HelmRepository | ||
name: itzg-minecraft | ||
namespace: flux-system | ||
interval: 30m | ||
install: | ||
crds: CreateReplace | ||
upgrade: | ||
crds: CreateReplace | ||
values: | ||
resources: | ||
requests: | ||
memory: 50Mi | ||
cpu: 100m | ||
limits: | ||
memory: 100Mi | ||
minecraftRouter: | ||
useProxyProtocol: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters