From f0e134a0ad2e50edbed5199ab3d6955a3429e066 Mon Sep 17 00:00:00 2001 From: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Date: Tue, 30 May 2023 16:09:30 -0400 Subject: [PATCH] feat(netbootxyz) add netbootxyz (#7511) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Your favorite operating systems in one place! ⚒️ 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._ --------- Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- charts/incubator/netbootxyz/.helmignore | 30 +++ charts/incubator/netbootxyz/CHANGELOG.md | 1 + charts/incubator/netbootxyz/Chart.yaml | 31 ++++ charts/incubator/netbootxyz/README.md | 1 + charts/incubator/netbootxyz/icon.png | Bin 0 -> 3507 bytes charts/incubator/netbootxyz/questions.yaml | 171 ++++++++++++++++++ .../netbootxyz/templates/common.yaml | 1 + charts/incubator/netbootxyz/values.yaml | 66 +++++++ 8 files changed, 301 insertions(+) create mode 100644 charts/incubator/netbootxyz/.helmignore create mode 100644 charts/incubator/netbootxyz/CHANGELOG.md create mode 100644 charts/incubator/netbootxyz/Chart.yaml create mode 100644 charts/incubator/netbootxyz/README.md create mode 100644 charts/incubator/netbootxyz/icon.png create mode 100644 charts/incubator/netbootxyz/questions.yaml create mode 100644 charts/incubator/netbootxyz/templates/common.yaml create mode 100644 charts/incubator/netbootxyz/values.yaml diff --git a/charts/incubator/netbootxyz/.helmignore b/charts/incubator/netbootxyz/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/netbootxyz/.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/netbootxyz/CHANGELOG.md b/charts/incubator/netbootxyz/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/netbootxyz/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/netbootxyz/Chart.yaml b/charts/incubator/netbootxyz/Chart.yaml new file mode 100644 index 00000000000..0a24c983aad --- /dev/null +++ b/charts/incubator/netbootxyz/Chart.yaml @@ -0,0 +1,31 @@ +apiVersion: v2 +appVersion: "0.6.7" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 12.10.4 +deprecated: false +description: Your favorite operating systems in one place! +home: https://truecharts.org/charts/incubator/netbootxyz +icon: https://truecharts.org/img/hotlink-ok/chart-icons/netbootxyz.png +keywords: + - netbootxyz + - pxe +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: netbootxyz +sources: + - https://github.com/truecharts/charts/tree/master/charts/incubator/netbootxyz + - https://github.com/netbootxyz/netboot.xyz + - https://ghcr.io/netbootxyz/netbootxyz +type: application +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - networking + - pxe + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/netbootxyz/README.md b/charts/incubator/netbootxyz/README.md new file mode 100644 index 00000000000..7e59600739c --- /dev/null +++ b/charts/incubator/netbootxyz/README.md @@ -0,0 +1 @@ +# README diff --git a/charts/incubator/netbootxyz/icon.png b/charts/incubator/netbootxyz/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..91fb42d1a9a8d25da48f97bcefd28ac0101648d5 GIT binary patch literal 3507 zcmcInc{r478!v0hQpw)YsBko>kuBK|LPeICLzrxHWM3NVm{3VlmaM}_bcPtl9%INz zvJS^Gp|LeX!VD(M7|ZweoqxY`UEd$y_g>fgzSs3U?{mM;^Sgid{k!j^TUOVEj!GXr zbm)+fg}I3>@c#7kKEee&&+1(12F9Z-OpNR!@|US7Khcc?{?*EYdMb~WLfDg!Mlde4 zDEGjb8zcVP33wbxRqYv%WQ~~SsbGlBu)tx+;~8tN8|U_Glir`XaSLR`WhbbU6Wa6M zpL(ie%%&8NYi^iCvWlj^U<-XIu1v z8RH-D#Pgm%t_+HU9Twm@W)6ZHal2= zDygo%9(SiHWOsWlJw=cNhCr(E_|?Ip-_mJD@h~AFAtHxC&?&HDSo4)YQ2V>Bt@`YQ zdjCnyCWE7?pXWN0y@ba)lO;q&Md|ye4WsVgzaPTqySK9ug5okH!7lA`m~HV1a)|QP zZ$riT@cDkURygC!yLZ}YnR5B6F3mrNuARAZT6j~ce01XTXYJ@szq`DheC0$Ul~X8U zup5L#5??ywj;s3k_$Xv_b8nt*hg9=XGCkC;BP-kS`1@+uI^w#t0)p;V%>VLpCrHpf|oy6U(Z&J z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^{RZ$XsO(2Ku(pEOXnXB_;7tWg|2o9WI991gdI4804_q zRNO-~3bebs8we59p!e60DJ;%z4#a~iY>PTY3a9>#_2z$oOo=!@jE*^PR`CrPu*H$#+fWD zYz7&<&R)kJ$~pS)zXk^f+frc^#|JW8tC7Q!O@$BC66%9yNw2#2<+Cvu*?p}PC}fSo zJ&P^X7|V8x_0dFkY$5poad4;d76i(&JL z`){!St7Z8~PsAs6vHR?Wv@E?pv824bJOF~` zovY!D60q#7yABjVAijGSQ9^k8bQVFFj`*4as7*KcTFQHHsF(F4SwJyyRaN0S1-AVU zR8&-680^3Mk}M{C_)n7dd(OIqmK3K%LZ0)INT~ z*3OQM(UVcX+!Eh;=~*v5YNeiHGH~kn$~?JndUCQ?@ls3zeQ0p-lFwh~o3e#HUk&}C z8Sq70UH!x53q`!icO}b5^D;B#x7>}P@`{Qm&Pt;k{X7i@5%g%B%vNz$*diI{czSx~ z8=&+@QhCOy$KL}*c<_}{Xlh=b&fMYlGyxHD!$T0HIsZRqt^aSc@t?YvxdWg9J2)^+ X;5%3Rg*XE=V}~qEtxPJ7Ve$V0fz{ad literal 0 HcmV?d00001 diff --git a/charts/incubator/netbootxyz/questions.yaml b/charts/incubator/netbootxyz/questions.yaml new file mode 100644 index 00000000000..c76d1d8be96 --- /dev/null +++ b/charts/incubator/netbootxyz/questions.yaml @@ -0,0 +1,171 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} + +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} + + - variable: env + label: Image Environment + schema: + additional_attrs: true + type: dict + attrs: + - variable: MENU_VERSION + label: Menu Version (optional) + description: Specify a specific version of boot files you want to use from netboot.xyz + schema: + type: string + default: "" + +# Include{containerBasic} +# Include{containerAdvanced} +# Include{containerConfig} +# Include{podOptions} +# Include{serviceRoot} + - variable: main + label: Main Service + description: The Primary service on which the Minecraft Server runs on + schema: + additional_attrs: true + type: dict + attrs: +# 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: 10612 + required: true + - variable: assets + label: Assets Service + description: The Assets service. + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: assets + label: Assets 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: 10613 + required: true + - variable: tftp + label: TFTP Service + description: The TFTP service. + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: tftp + label: TFTP 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: 69 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: config + label: App Config Storage + description: Stores the Application Config. + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: assets + label: App Assets Storage + description: Stores the Application Assets. + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} +# Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: Main Ingress + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressTLS} +# Include{ingressTraefik} +# Include{ingressAdvanced} + - variable: assets + label: Assets Ingress + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressTLS} +# Include{ingressTraefik} +# Include{ingressAdvanced} +# 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 this App 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/netbootxyz/templates/common.yaml b/charts/incubator/netbootxyz/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/netbootxyz/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/netbootxyz/values.yaml b/charts/incubator/netbootxyz/values.yaml new file mode 100644 index 00000000000..c2d4d80c697 --- /dev/null +++ b/charts/incubator/netbootxyz/values.yaml @@ -0,0 +1,66 @@ +image: + repository: tccr.io/truecharts/netbootxyz + pullPolicy: IfNotPresent + tag: v0.6.7@sha256:5a02a07a856c8a5130d0fa1726a8f7f94724a55d7ddb5d4305a21fda28291d26 + +securityContext: + container: + readOnlyRootFilesystem: false + runAsNonRoot: false + runAsUser: 0 + runAsGroup: 0 + +workload: + main: + podSpec: + containers: + main: + probes: + liveness: + type: http + readiness: + type: http + startup: + type: http + env: + MENU_VERSION: "" + +service: + main: + ports: + main: + protocol: http + targetPort: 3000 + port: 10612 + assets: + enabled: true + ports: + assets: + enabled: true + protocol: http + targetPort: 80 + port: 10613 + tftp: + enabled: true + ports: + tftp: + enabled: true + port: 69 + protocol: udp + targetPort: 69 + +ingress: + assets: + autoLink: true + +persistence: + config: + enabled: true + mountPath: /config + assets: + enabled: true + mountPath: /assets + +portal: + open: + enabled: true