Remove Minecraft
This commit is contained in:
parent
2ec36784dd
commit
a0036d2501
6 changed files with 0 additions and 70 deletions
|
@ -43,7 +43,6 @@ Legend:
|
|||
| ✅ | `freshrss/freshrss` | |
|
||||
| ✅ | `ubuntu/bind9` | |
|
||||
| ✅ | `quay.io/hedgedoc/hedgedoc` | |
|
||||
| 🫤 | `itzg/minecraft-server` | |
|
||||
| 🫤 | `teddysun/kms` | |
|
||||
| 🫤 | `mpepping/cyberchef` | |
|
||||
|
||||
|
|
|
@ -104,11 +104,6 @@
|
|||
namespace = "kube-system";
|
||||
};
|
||||
|
||||
minecraft = {
|
||||
module.minecraft.enable = true;
|
||||
namespace = "minecraft";
|
||||
};
|
||||
|
||||
tailscale = {
|
||||
module.tailscale.enable = true;
|
||||
namespace = "tailscale";
|
||||
|
|
|
@ -20,7 +20,6 @@ _: {
|
|||
freshrss = "freshrss/freshrss:1.26.2";
|
||||
bind9 = "ubuntu/bind9:9.18-22.04_beta";
|
||||
hedgedoc = "quay.io/hedgedoc/hedgedoc:1.10.3";
|
||||
minecraft = "itzg/minecraft-server:latest";
|
||||
};
|
||||
|
||||
nodeLabels = {
|
||||
|
@ -45,7 +44,6 @@ _: {
|
|||
delugeIPv4 = "192.168.30.133";
|
||||
bind9IPv4 = "192.168.30.134";
|
||||
dnsmasqIPv4 = "192.168.30.135";
|
||||
minecraftIPv4 = "192.168.30.136";
|
||||
jellyseerrIPv4 = "192.168.30.137";
|
||||
syncthingIPv4 = "192.168.30.138";
|
||||
longhornIPv4 = "192.168.30.139";
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
inbucket = {};
|
||||
dns = {};
|
||||
media = {};
|
||||
minecraft = {};
|
||||
tailscale = {};
|
||||
ntfy = {};
|
||||
authentik = {};
|
||||
|
@ -87,7 +86,6 @@
|
|||
|
||||
lab = {
|
||||
longhorn.persistentVolume = {
|
||||
minecraft.storage = "1Gi";
|
||||
authentik-db.storage = "10Gi";
|
||||
authentik-redis.storage = "5Gi";
|
||||
mealie.storage = "3Gi";
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
./traefik.nix
|
||||
./tailscale.nix
|
||||
./ntfy.nix
|
||||
./minecraft.nix
|
||||
./authentik.nix
|
||||
./mealie.nix
|
||||
];
|
||||
|
|
|
@ -1,59 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
globals,
|
||||
...
|
||||
}: {
|
||||
options.minecraft.enable = lib.mkEnableOption "minecraft";
|
||||
|
||||
config = lib.mkIf config.minecraft.enable {
|
||||
kubernetes.resources = {
|
||||
deployments.minecraft.spec = {
|
||||
selector.matchLabels.app = "minecraft";
|
||||
|
||||
template = {
|
||||
metadata.labels.app = "minecraft";
|
||||
|
||||
spec = {
|
||||
volumes.data.persistentVolumeClaim.claimName = "data";
|
||||
|
||||
containers.minecraft = {
|
||||
image = globals.images.minecraft;
|
||||
ports.minecraft.containerPort = 25565;
|
||||
|
||||
env.EULA.value = "TRUE";
|
||||
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "data";
|
||||
mountPath = "/data";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
securityContext = {
|
||||
fsGroup = 1000;
|
||||
fsGroupChangePolicy = "OnRootMismatch";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.minecraft.spec = {
|
||||
type = "LoadBalancer";
|
||||
loadBalancerIP = globals.minecraftIPv4;
|
||||
selector.app = "minecraft";
|
||||
|
||||
ports.minecraft = {
|
||||
port = 25565;
|
||||
targetPort = "minecraft";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
lab.longhorn.persistentVolumeClaim.data = {
|
||||
volumeName = "minecraft";
|
||||
storage = "1Gi";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue