From 0e7df88819b93f03570c4e3d7081568ed63a778a Mon Sep 17 00:00:00 2001 From: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Date: Wed, 30 Oct 2024 07:49:52 -0400 Subject: [PATCH] chore(mc-router) nuke mc-router (#28593) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** replaced with minecraft-router ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ 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:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 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 - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ 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/stable/mc-router/.helmignore | 32 --------- charts/stable/mc-router/CHANGELOG.md | 4 -- charts/stable/mc-router/Chart.yaml | 36 ----------- charts/stable/mc-router/README.md | 61 ------------------ charts/stable/mc-router/docs/validation.md | 25 ------- charts/stable/mc-router/icon-small.webp | Bin 526 -> 0 bytes charts/stable/mc-router/icon.webp | Bin 2722 -> 0 bytes charts/stable/mc-router/templates/NOTES.txt | 1 - charts/stable/mc-router/templates/common.yaml | 11 ---- charts/stable/mc-router/templates/secrets.tpl | 8 --- charts/stable/mc-router/values.yaml | 39 ----------- 11 files changed, 217 deletions(-) delete mode 100644 charts/stable/mc-router/.helmignore delete mode 100644 charts/stable/mc-router/CHANGELOG.md delete mode 100644 charts/stable/mc-router/Chart.yaml delete mode 100644 charts/stable/mc-router/README.md delete mode 100644 charts/stable/mc-router/docs/validation.md delete mode 100644 charts/stable/mc-router/icon-small.webp delete mode 100644 charts/stable/mc-router/icon.webp delete mode 100644 charts/stable/mc-router/templates/NOTES.txt delete mode 100644 charts/stable/mc-router/templates/common.yaml delete mode 100644 charts/stable/mc-router/templates/secrets.tpl delete mode 100644 charts/stable/mc-router/values.yaml diff --git a/charts/stable/mc-router/.helmignore b/charts/stable/mc-router/.helmignore deleted file mode 100644 index feb7464da6f..00000000000 --- a/charts/stable/mc-router/.helmignore +++ /dev/null @@ -1,32 +0,0 @@ -# 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 -icon.webp -icon-small.webp diff --git a/charts/stable/mc-router/CHANGELOG.md b/charts/stable/mc-router/CHANGELOG.md deleted file mode 100644 index f3e8318aa10..00000000000 --- a/charts/stable/mc-router/CHANGELOG.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Changelog -pagefind: false ---- diff --git a/charts/stable/mc-router/Chart.yaml b/charts/stable/mc-router/Chart.yaml deleted file mode 100644 index bffa17d1d49..00000000000 --- a/charts/stable/mc-router/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -annotations: - max_scale_version: 24.04.1 - min_scale_version: 24.04.0 - truecharts.org/category: minecraft - truecharts.org/max_helm_version: "3.15" - truecharts.org/min_helm_version: "3.11" - truecharts.org/train: stable -apiVersion: v2 -appVersion: 1.23.0 -dependencies: - - name: common - version: 25.1.5 - repository: oci://tccr.io/truecharts - condition: "" - alias: "" - tags: [] - import-values: [] -deprecated: true -description: Lightweight multiplexer/proxy for Minecraft-Java servers. -home: https://truecharts.org/charts/stable/mc-router -icon: https://truecharts.org/img/hotlink-ok/chart-icons/mc-router.webp -keywords: - - mc-router - - minecraft -kubeVersion: '>=1.24.0-0' -maintainers: - - name: TrueCharts - email: info@truecharts.org - url: https://truecharts.org -name: mc-router -sources: - - https://github.com/itzg/mc-router - - https://github.com/truecharts/charts/tree/master/charts/stable/mc-router - - https://hub.docker.com/r/itzg/mc-router -type: application -version: 6.5.3 diff --git a/charts/stable/mc-router/README.md b/charts/stable/mc-router/README.md deleted file mode 100644 index 24aac28e042..00000000000 --- a/charts/stable/mc-router/README.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: README ---- - -## General Info - -TrueCharts can be installed as both _normal_ Helm Charts or as TrueNAS SCALE Apps. -Both solutions are fully supported, but we heavily advice the use of normal Helm Charts where possible - -For more information about this Chart, please check the docs on the TrueCharts [website](https://truecharts.org/charts/stable/mc-router) - -**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)** - -## Installation - -### Helm-Chart installation - -To install TrueCharts Helm charts using Helm, you can use our OCI Repository. - -`helm install mychart oci://tccr.io/truecharts/mc-router` - -For more information on how to install TrueCharts Helm charts, checkout the [instructions on the website](/guides) - - -### TrueNAS SCALE Apps - -For more information on how to use TrueCharts as TrueNAS SCALE Apps, please checkout the [quick-start guides for TrueNAS SCALE](/deprecated/scale). - -## Chart Specific Guides and information - -All our charts have dedicated documentation pages. -The documentation for this chart can be found here: -https://truecharts.org/charts/stable/mc-router - -## Configuration Options - -Please note: For TrueNAS SCALE, only options available in the GUI are supported. -Hence most of these docs do not apply to TrueNAS SCALE - -To view the chart specific options, please view Values.yaml included in the chart. -The most recent version of which, is available here: https://github.com/truecharts/public/blob/master/charts/stable/mc-router/values.yaml - -All our Charts use a shared "common" library chart that contains most of the templating and options. -For the complete overview of all available options, please checkout the documentation for them on the [common docs on our website](/common) - -For information about the common chart and all defaults included with it, please review its values.yaml file available here: https://github.com/truecharts/public/blob/master/charts/library/common/values.yaml - -## Support - -- See the [Website](https://truecharts.org) -- Check our [Discord](https://discord.gg/tVsPTHWTtr) -- Open a [issue](https://github.com/truecharts/charts/issues/new/choose) - ---- - -## Sponsor TrueCharts - -TrueCharts can only exist due to the incredible effort of our staff. -Please consider making a [donation](/general/sponsor) or contributing back to the project any way you can! - -_All Rights Reserved - The TrueCharts Project_ diff --git a/charts/stable/mc-router/docs/validation.md b/charts/stable/mc-router/docs/validation.md deleted file mode 100644 index c0554961058..00000000000 --- a/charts/stable/mc-router/docs/validation.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: Input Validation ---- - -**`Domain and Minecraft Service`** - -Accepts: - -- domain=service:port -- IP or DNS host -- Characters (`0-9`, `a-z`, `A-Z`, `-`, `.`) -- Port - -Accepted formats are: - -- `minecraft.local=minecraft-java.ix-minecraft-java.svc.cluster.local:25565` -- `minecraft.local=localhost:25565` -- `minecraft.local=0.0.0.0:25565` - -Regex used to match this: `^$|^(http(s)?:\/\/([a-zA-Z0-9.-]*)(:\d{0,5})?,?)*$` -You can try live [here](https://regex101.com/r/u2ifZm/1) - ---- - -_If you find a field that you think it needs validation, please open an issue on github_ diff --git a/charts/stable/mc-router/icon-small.webp b/charts/stable/mc-router/icon-small.webp deleted file mode 100644 index b8497ff7b6e0ff25ef2be237eb7502685093a61c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 526 zcmV+p0`dJ)Nk&En0ssJ4MM6+kP&il$0000G0000V0018V06|PpNU{I`00Dr4ZQHTu z{yE!bGTM^jlG&K7Xm8z)t6pAH@|ta1pTF;U<61;a0JORWfvIi%!)LE2ow@X!<2dfQ z&4EUrzso6J*H{vytZ}Lj3k(|K7dg$_sX7(mQ-2)gQi7cS#1BWk5Cb6bon!c00%USb z8~;P%E|`=7uxoiCTSUz5Nic|~@JBjL9kZ_whTQT(x*K9(3 z2IGIs+*8hn1Luch^8SnJ?DX*J=5@zmkdRKT8*q9m9At$urG8?0RPgtQPxU65lt8v7 zVlizz3Ne!)b2W(96Nj!bbsZ9lW?gfLK;r*IV<&f?4=$r}@mDE6t7ccJID7+6!eDma z_^ew8Uj>tHNt}z@(tB&4Es<2@N453CQEvHd$`eUSsQ;DSAZ?2LPmCA-VgtY&#LogX zP*I@ygUuL-Vndq`E>Ax(|4$vWKT0wh$>yfRB4{d4QK-xG=tBTr37vLLRqTlvSO#YD Q5)vZOM|bioc1!>O02eguApigX diff --git a/charts/stable/mc-router/icon.webp b/charts/stable/mc-router/icon.webp deleted file mode 100644 index b126998f2b2e6c86c74e89fb9b25aa2e7db74644..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2722 zcmV;T3SIS5Nk&GR3IG6CMM6+kP&il$0000G0001$005N$06|PpNbdpw00E#tTbm(C z`lDPmwr$(CZQHhO+qP}nwrx+F8UMH{BmT(IA|fUL{v@l^g^ zow^o9*_%8;w|1 zZB9>2_MIGQ3|^d&kQ6I8(it!@1`%;*gdnY61H%&#b+|9m`?7;mvT)tsBF%T}TP3nL zeS~yhC~ua;Qsp|5&JX2h60oADkbG@Z2H~>q=BUEZMTvz0)p32vvQlyxC*s>eo@>{78Q05mxLZDqh=?k-1mr zI2yo^eYxC8g$D7J-Hp^n;r0Li`%hqL3`*+%#o-#`Z%65mEs*n{aK-X}+KFGr*(spD8-D6G;R1H5_gn@|3S97IYugpNy z+y~Y1u&D(EW|gn2;Z+S=%$F8XR)GXv#edcK!}A1wsbN1Gfd-qp$s6qsans8|mg znL&{`_j7Sxb#{O{P35l&;x#xTsMX&5nE?LNVu5-i4EU&1@Y1B9=D5>?bkMeC0(GZd z&ppJC6=b0Ff+sw3rMwAL&uZRs>tO>67(sidmp}BXgA0seq>(<~@fsKjjAX(^!HDQT zDHa&b%sYb?B?AM>;=nI@09H^qAcO}105CNGodGJA0G0qgZ77dNq#~gq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EDp9{SyOq;?X3vbcI)5 z_)o|dUW$kR(dYlcA^-XyTGv}j_aDRjh85kWm7v$lCRTg6rp`V#kzC{`EuopcNe!qe z5}a5EF-Ofaa9SG`U&b($DA^olzxP%$@rXuZcGG8@!HxE;SxrYgqn(-Zw#Mn}qve`S zk8Y!dGvPhep}}}7lD@O^3-oV!=aMR+ABZ13a+d(ec0u-@jDa>L`hnTCr3wO&SO5T} zd*UyP)bd7GKIfkOpQYM#7iVDFll1---Y3J&L?H-$e3W2|CCgN~yhPLL=?ir?$412i zEWk-RKXmmKbQ0J4vr#JA)DAYgvBt}_3WoU1wO5k~0&Q(VUw_af7S;<)000r5%M-vJ c$K>fJJq-)sFs`t<{(wJ!{|FEO000000BXKBU;qFB diff --git a/charts/stable/mc-router/templates/NOTES.txt b/charts/stable/mc-router/templates/NOTES.txt deleted file mode 100644 index efcb74cb772..00000000000 --- a/charts/stable/mc-router/templates/NOTES.txt +++ /dev/null @@ -1 +0,0 @@ -{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/stable/mc-router/templates/common.yaml b/charts/stable/mc-router/templates/common.yaml deleted file mode 100644 index 1e2918e30fc..00000000000 --- a/charts/stable/mc-router/templates/common.yaml +++ /dev/null @@ -1,11 +0,0 @@ -{{/* Make sure all variables are set properly */}} -{{- include "tc.v1.common.loader.init" . }} - -{{/* Render secrets for mcrouter */}} -{{- $secrets := include "mcrouter.secrets" . | fromYaml -}} -{{- if $secrets -}} - {{- $_ := set .Values.secret "secrets" $secrets -}} -{{- end -}} - -{{/* Render the templates */}} -{{ include "tc.v1.common.loader.apply" . }} diff --git a/charts/stable/mc-router/templates/secrets.tpl b/charts/stable/mc-router/templates/secrets.tpl deleted file mode 100644 index 77d0f4a6b0f..00000000000 --- a/charts/stable/mc-router/templates/secrets.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{{/* Define the secrets */}} -{{- define "mcrouter.secrets" -}} -{{- $mcrouter := .Values.mcrouter }} - -enabled: true -data: - MAPPING: {{ join "," $mcrouter.host_minecraft }} -{{- end -}} diff --git a/charts/stable/mc-router/values.yaml b/charts/stable/mc-router/values.yaml deleted file mode 100644 index 40a4b70a468..00000000000 --- a/charts/stable/mc-router/values.yaml +++ /dev/null @@ -1,39 +0,0 @@ -image: - repository: docker.io/itzg/mc-router - pullPolicy: IfNotPresent - tag: 1.23.0@sha256:e8c8d56a1244209fffc1f8ec35eca89631d0bfdfb55b375b04b8d2f27d55afb3 -service: - main: - ports: - main: - port: 25564 - minecraft: - enabled: true - ports: - minecraft: - enabled: true - port: 25565 -mcrouter: - host_minecraft: [] - # - "minecraft.local=minecraft-java.ix-minecraft-java.svc.cluster.local:25565" -workload: - main: - podSpec: - containers: - main: - probes: - liveness: - enabled: false - readiness: - enabled: false - startup: - enabled: false - envFrom: - - secretRef: - name: "secrets" - env: - API_BINDING: ":{{ .Values.service.main.ports.main.port }}" - PORT: "{{ .Values.service.minecraft.ports.minecraft.port }}" -portal: - open: - enabled: false