diff --git a/charts/incubator/pocketmine-mp/.helmignore b/charts/incubator/pocketmine-mp/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/pocketmine-mp/.helmignore @@ -0,0 +1,30 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png diff --git a/charts/incubator/pocketmine-mp/CHANGELOG.md b/charts/incubator/pocketmine-mp/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/pocketmine-mp/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/pocketmine-mp/Chart.yaml b/charts/incubator/pocketmine-mp/Chart.yaml new file mode 100644 index 00000000000..2fce6706799 --- /dev/null +++ b/charts/incubator/pocketmine-mp/Chart.yaml @@ -0,0 +1,28 @@ +apiVersion: v2 +appVersion: "5.8.1" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 14.3.3 +deprecated: false +description: A server software for Minecraft Bedrock Edition in PHP. +home: https://truecharts.org/charts/incubator/pocketmine-mp +icon: https://truecharts.org/img/hotlink-ok/chart-icons/pocketmine-mp.png +keywords: + - pocketmine-mp + - minecraft +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: pocketmine-mp +sources: + - https://github.com/truecharts/charts/tree/master/charts/incubator/pocketmine-mp + - https://github.com/pmmp/PocketMine-MP + - https://ghcr.io/pmmp/pocketmine-mp +type: application +version: 0.0.1 +annotations: + truecharts.org/category: games + truecharts.org/SCALE-support: "true" diff --git a/charts/incubator/pocketmine-mp/README.md b/charts/incubator/pocketmine-mp/README.md new file mode 100644 index 00000000000..7e59600739c --- /dev/null +++ b/charts/incubator/pocketmine-mp/README.md @@ -0,0 +1 @@ +# README diff --git a/charts/incubator/pocketmine-mp/docs/installation_notes.md b/charts/incubator/pocketmine-mp/docs/installation_notes.md new file mode 100644 index 00000000000..8aa65558630 --- /dev/null +++ b/charts/incubator/pocketmine-mp/docs/installation_notes.md @@ -0,0 +1,3 @@ +# Installation Notes + +Checkout pocketmine plugin's [Poggit](https://poggit.pmmp.io/plugins) and their [docs](https://doc.pmmp.io/en/rtfd/configuration.html). diff --git a/charts/incubator/pocketmine-mp/icon.png b/charts/incubator/pocketmine-mp/icon.png new file mode 100644 index 00000000000..9a340203a36 Binary files /dev/null and b/charts/incubator/pocketmine-mp/icon.png differ diff --git a/charts/incubator/pocketmine-mp/questions.yaml b/charts/incubator/pocketmine-mp/questions.yaml new file mode 100644 index 00000000000..fb0a683bcad --- /dev/null +++ b/charts/incubator/pocketmine-mp/questions.yaml @@ -0,0 +1,87 @@ +# Include{groups} +portals: {} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} + +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} + + +# Include{containerBasic} +# Include{containerAdvanced} + +# Include{containerConfig} +# Include{podOptions} +# Include{serviceRoot} +# Include{serviceMain} +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: main + label: "Main Service Port Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 19132 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: data + label: "App Data Storage" + description: "Stores the Application Data." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: plugins + label: "App Plugins Storage" + description: "Stores the Application Plugins." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} +# Include{persistenceList} +# Include{ingressList} +# Include{securityContextRoot} + + - variable: runAsUser + label: "runAsUser" + description: "The UserID of the user running the application" + schema: + type: int + default: 0 + - variable: runAsGroup + label: "runAsGroup" + description: "The groupID of the user running the application" + schema: + type: int + default: 0 +# Include{securityContextContainer} +# Include{securityContextAdvanced} +# Include{securityContextPod} + - variable: fsGroup + label: "fsGroup" + description: "The group that should own ALL storage." + schema: + type: int + default: 568 + +# Include{resources} +# Include{advanced} +# Include{addons} +# Include{codeserver} +# Include{netshoot} +# Include{vpn} +# Include{documentation} diff --git a/charts/incubator/pocketmine-mp/templates/NOTES.txt b/charts/incubator/pocketmine-mp/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/pocketmine-mp/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/pocketmine-mp/templates/common.yaml b/charts/incubator/pocketmine-mp/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/pocketmine-mp/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/pocketmine-mp/values.yaml b/charts/incubator/pocketmine-mp/values.yaml new file mode 100644 index 00000000000..40a0cb17679 --- /dev/null +++ b/charts/incubator/pocketmine-mp/values.yaml @@ -0,0 +1,51 @@ +image: + repository: tccr.io/truecharts/pocketmine-mp + pullPolicy: IfNotPresent + tag: v5.8.1@sha256:b44daf2ac052e2c15d421e58c860802064de9555709576aae35a792201917d35 + +securityContext: + container: + readOnlyRootFilesystem: false + runAsUser: 0 + runAsGroup: 0 + +service: + main: + ports: + main: + protocol: udp + targetPort: 19132 + port: 19132 + +workload: + main: + podSpec: + containers: + main: + tty: true + stdin: true + probes: + # -- Liveness probe configuration + # @default -- See below + liveness: + enabled: false + # -- Redainess probe configuration + # @default -- See below + readiness: + enabled: false + # -- Startup probe configuration + # @default -- See below + startup: + enabled: false + +persistence: + data: + enabled: true + mountPath: "/data" + plugins: + enabled: true + mountPath: "/plugins" + +portal: + open: + enabled: false