From d66b21f13c3097665bf0ae2dc392caff00d08f2f Mon Sep 17 00:00:00 2001 From: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Date: Fri, 10 Nov 2023 00:29:22 -0500 Subject: [PATCH] feat(pocketmine-mp) add pocketmine-mp (#14506) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Add pocketmine-mp to incubator A server software for Minecraft Bedrock Edition in PHP. ⚒️ Fixes # **⚙️ Type of change** - [X] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [X] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [X] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- charts/incubator/pocketmine-mp/.helmignore | 30 ++++++ charts/incubator/pocketmine-mp/CHANGELOG.md | 1 + charts/incubator/pocketmine-mp/Chart.yaml | 28 ++++++ charts/incubator/pocketmine-mp/README.md | 1 + .../pocketmine-mp/docs/installation_notes.md | 3 + charts/incubator/pocketmine-mp/icon.png | Bin 0 -> 1790 bytes charts/incubator/pocketmine-mp/questions.yaml | 87 ++++++++++++++++++ .../pocketmine-mp/templates/NOTES.txt | 1 + .../pocketmine-mp/templates/common.yaml | 1 + charts/incubator/pocketmine-mp/values.yaml | 51 ++++++++++ 10 files changed, 203 insertions(+) create mode 100644 charts/incubator/pocketmine-mp/.helmignore create mode 100644 charts/incubator/pocketmine-mp/CHANGELOG.md create mode 100644 charts/incubator/pocketmine-mp/Chart.yaml create mode 100644 charts/incubator/pocketmine-mp/README.md create mode 100644 charts/incubator/pocketmine-mp/docs/installation_notes.md create mode 100644 charts/incubator/pocketmine-mp/icon.png create mode 100644 charts/incubator/pocketmine-mp/questions.yaml create mode 100644 charts/incubator/pocketmine-mp/templates/NOTES.txt create mode 100644 charts/incubator/pocketmine-mp/templates/common.yaml create mode 100644 charts/incubator/pocketmine-mp/values.yaml 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 0000000000000000000000000000000000000000..9a340203a36d501a19f02e3ac8ea365c98470d76 GIT binary patch literal 1790 zcmZuydsNa{9{*YAq~UX#d<=@NJ*0HaTC*BRbI?S~*R~?LExE}ivu2v81PbaprKM(V z+PW<=>X?GB6itmqp{B6%ollg94Q7P$7&JsvaKZMEI%m#3_ukLB=iK}Ge$VIg{ob3A z;Ydpm7z6--Wk_(~835R#GT>0NZH84;8gtCBZHqgN3c>4 z4<08y|M-+0PCdMjvo*_vaTpP7qbZ1evX{Hd^Cw%|8?ia=DAXt!tg3b2QDbuhGLlo? zV0#87c$L9=A2!6i@ys z^vc)Y7oD0uVqWWT6t8+*%uZQbRy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9odJ!RAFe+TZcJ(rG#O{7 zJ-yf~OW~)cMdD;rUtcfgrn%vsD(Egy9^FqVwJeTB)atG>=DFxQ2aO&vcEL?XBdBbY zw}3*sSuB>Z`ypsg7r183ck1L9KinE=C&XNGsQ-YTO`?P;@%lLNeR)5z0&lS!A!-iY-KP|iXk)c>4hY!sLI27(i7VnuO4E6*XJ2!#R zxnsd+gkMdiUZ1|Q@H5lHnntxvi3_?0ao{yvuDjv@1#~e-2VYyU||se literal 0 HcmV?d00001 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