diff --git a/minecraft/Chart.yaml b/minecraft/Chart.yaml new file mode 100644 index 0000000000..dd5bb287bc --- /dev/null +++ b/minecraft/Chart.yaml @@ -0,0 +1,10 @@ +name: minecraft +home: https://minecraft.net/ +version: 1.0.0 +description: A minecraft server +maintainers: +- Ben Barclay +details: |- + Minecraft is a moderately popular game involving the collection, moving and + re-assembling of raw materials. It may be an elaborate parody of the + Australian economy. diff --git a/minecraft/README.md b/minecraft/README.md new file mode 100644 index 0000000000..4f5bac0871 --- /dev/null +++ b/minecraft/README.md @@ -0,0 +1,3 @@ +# minecraft + +This will run a minecraft server. diff --git a/minecraft/manifests/minecraft-svc.yaml b/minecraft/manifests/minecraft-svc.yaml new file mode 100644 index 0000000000..c34e0afac5 --- /dev/null +++ b/minecraft/manifests/minecraft-svc.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Service +metadata: + name: minecraft + labels: + heritage: helm +spec: + type: LoadBalancer + ports: + - port: 25565 + targetPort: 25565 + protocol: TCP + selector: + app: minecraft diff --git a/minecraft/manifests/minecraft.yaml b/minecraft/manifests/minecraft.yaml new file mode 100644 index 0000000000..9836b7d0b4 --- /dev/null +++ b/minecraft/manifests/minecraft.yaml @@ -0,0 +1,32 @@ +--- +apiVersion: v1 +kind: ReplicationController +metadata: + name: minecraft-controller + labels: + heritage: helm +spec: + replicas: 1 + selector: + app: minecraft + template: + metadata: + labels: + heritage: helm + app: minecraft + scalable: false + spec: + containers: + - name: minecraft + image: "itzg/minecraft-server:latest" + ports: + - containerPort: 25565 + env: + - name: EULA + value: "TRUE" + volumeMounts: + - mountPath: /data + name: minecraft-data + volumes: + - name: minecraft-data + emptyDir: {}