From aea3cb084db6f5aee68ab47251f40da83e1eb357 Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Fri, 10 May 2024 23:24:20 -0400 Subject: [PATCH] feat(pingvin-share): Add Pingvin-Share (#21892) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ 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/incubator/pingvin-share/.helmignore | 32 ++++++ charts/incubator/pingvin-share/CHANGELOG.md | 4 + charts/incubator/pingvin-share/Chart.yaml | 35 +++++++ charts/incubator/pingvin-share/README.md | 5 + .../incubator/pingvin-share/icon-small.webp | Bin 0 -> 1070 bytes charts/incubator/pingvin-share/icon.webp | Bin 0 -> 3118 bytes charts/incubator/pingvin-share/questions.yaml | 94 ++++++++++++++++++ .../pingvin-share/templates/NOTES.txt | 1 + .../pingvin-share/templates/common.yaml | 1 + charts/incubator/pingvin-share/values.yaml | 32 ++++++ 10 files changed, 204 insertions(+) create mode 100644 charts/incubator/pingvin-share/.helmignore create mode 100644 charts/incubator/pingvin-share/CHANGELOG.md create mode 100644 charts/incubator/pingvin-share/Chart.yaml create mode 100644 charts/incubator/pingvin-share/README.md create mode 100644 charts/incubator/pingvin-share/icon-small.webp create mode 100644 charts/incubator/pingvin-share/icon.webp create mode 100644 charts/incubator/pingvin-share/questions.yaml create mode 100644 charts/incubator/pingvin-share/templates/NOTES.txt create mode 100644 charts/incubator/pingvin-share/templates/common.yaml create mode 100644 charts/incubator/pingvin-share/values.yaml diff --git a/charts/incubator/pingvin-share/.helmignore b/charts/incubator/pingvin-share/.helmignore new file mode 100644 index 00000000000..feb7464da6f --- /dev/null +++ b/charts/incubator/pingvin-share/.helmignore @@ -0,0 +1,32 @@ +# 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/incubator/pingvin-share/CHANGELOG.md b/charts/incubator/pingvin-share/CHANGELOG.md new file mode 100644 index 00000000000..f3e8318aa10 --- /dev/null +++ b/charts/incubator/pingvin-share/CHANGELOG.md @@ -0,0 +1,4 @@ +--- +title: Changelog +pagefind: false +--- diff --git a/charts/incubator/pingvin-share/Chart.yaml b/charts/incubator/pingvin-share/Chart.yaml new file mode 100644 index 00000000000..d49c16c5fd5 --- /dev/null +++ b/charts/incubator/pingvin-share/Chart.yaml @@ -0,0 +1,35 @@ +annotations: + max_scale_version: 24.04.1 + min_scale_version: 24.04.0 + truecharts.org/SCALE-support: "true" + truecharts.org/category: files + truecharts.org/max_helm_version: "3.14" + truecharts.org/min_helm_version: "3.11" + truecharts.org/train: stable +apiVersion: v2 +appVersion: 0.24.1 +dependencies: + - name: common + version: 23.0.0 + repository: oci://tccr.io/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] +deprecated: false +description: Pingvin Share is self-hosted file sharing platform and an alternative for WeTransfer. +home: https://truecharts.org/charts/incubator/pingvin-share +icon: https://truecharts.org/img/hotlink-ok/chart-icons/pingvin-share.webp +keywords: + - file-sharting +kubeVersion: ">=1.24.0-0" +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +name: pingvin-share +sources: + - https://github.com/stonith404/pingvin-share + - https://hub.docker.com/r/stonith404/pingvin-share +type: application +version: 0.0.1 diff --git a/charts/incubator/pingvin-share/README.md b/charts/incubator/pingvin-share/README.md new file mode 100644 index 00000000000..e229b58bf4b --- /dev/null +++ b/charts/incubator/pingvin-share/README.md @@ -0,0 +1,5 @@ +--- +title: README +--- + +## General Info diff --git a/charts/incubator/pingvin-share/icon-small.webp b/charts/incubator/pingvin-share/icon-small.webp new file mode 100644 index 0000000000000000000000000000000000000000..04cd5d3ee1866c9a3786182f1a508cb65614ea6e GIT binary patch literal 1070 zcmV+}1kw9aNk&E{1ONb6MM6+kP&iB(1ONapF+dCux8@*{Bt^>I0}Jn8(o1*+%rO1v z0YW25j-(hT9fadg=SUm`Z~vzYawOZXn!XRSqu7G-k3~5s5BuzaTidp(YEp*vKuVo7 zLLHEPN!{K3?!69>WP+e5e(`}~;1b0JZasZ9*jkB8kV}64c(F`$*#Y=^p<}5>-bM+S_Aqi{nGXe7IVkK2;s3 z=da`A*Wv!{`W=S(p^cZ*YdXIt;r82B=RQsS6vaSM{3GZO4D=g7ehQz@Kl~whLlF%8 zBltn^jp7Rfe<*@K1V!L0_(f2BpyY^eUjRdmE#y?!cg|gFrtqvdap5A@O(7I8a0BfeK_*UJy>;*L6Ykw(x+BO!Mu5XJ8L2pV z{n7KBfNt=*B}mvzC?aD8BNdnKyvWHWl)5F(k}x}?(B82m;>tsrtx(#oAn|kn$XLn< z#l;6QTd_1R3IgV3034h^a^kkkrYONAv0Wc*WQ5}CGtPM~Vjx81oZGq}U>kh#^GQzJ zl{}xn|NaiK5TYeMaK@!$lFX0aKc3+1<)=CMKYD~WYv1#09_Q{ibnI~PgUP3t&k~H^ zzhx-NwHF0H+xf$K_i5DWb1vFu5cDv=bPHZwBN=KeWh6JUd3QgCe|pmadli6-Awz^C z@@#&Cgn4s_Zsxvi>&H4BBkE%0>yU$11Ovo2X6{X*Ia3sTYUwXJ>XqYR(apaom@-Pi z$5wvC+Fd(G_q}h(Xfw!Yj2cPaqV!moVAIdG0Poia>;M1& literal 0 HcmV?d00001 diff --git a/charts/incubator/pingvin-share/icon.webp b/charts/incubator/pingvin-share/icon.webp new file mode 100644 index 0000000000000000000000000000000000000000..ad4eec1aa5556eecfeaf8543b03a3fcfcc592728 GIT binary patch literal 3118 zcmV+}4AJvaNk&E{3;+OEMM6+kP&iB)3;+Nxl|UsB)rNw$ZKRq%?Ct&o5D^oQ<8~~n za}X?~GNHzXekM(1x?4s5YlA#ZN!zwXs`KwGo{Ev{i7YU?$uRTGvXS}*ZPni|;~#GV zh3j_=r=j|2b8vCkwvi*L|7Oph`1#*)+eVTc*UVlXY(5hP_qP%tNiuC~o^9K?U-Ac3_axmp z^E-q7ikuyNH+8?Y)9xy4+qTL7&(_ZBP9WH}WJs135sCPPwr#t|wvqjxfb2Km00T&Y zB}76648s<@f*)`I=Wq?TO}#oh+L?h7sDvo60_o$iD~L0o0TsxC2b97Lynw%}4ImXZ zt9$SgW*@-w38;4>1H}6f1l{l)4z2H(3(y0>`%lpTa?pZ2*nxdhyA8XL586Nx0l)(V z$bkoNYRcj4335SkEo{ID-Y`FFUS2*v08_946@(xgUNz=z1Fw&-h9Me)Bvg;g^U>}H zKno6tLJj<}01kR>?gDI(JF-BIv^<9ch`<+K0us<6_$>zllwi8Hpw{m%LI4zydTznp z8(es|1WOiVSYGmL48bD{H2k~*T#q)O8LlkYub^ea8<2)g3;Gtwcmfvi(E@*X=L4Wa zAnaN2Pj>)A-FN_J7Qy|&SQ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oyo?}ITrgxW+V47s& z$t(8k*EJm-j?`2qWR?7o0?=eHp;Cp#?-y^Bmt!g>R~bv3kSK6 z4VZEVxh|yc)f&GQo(!!&h8l6MlR3Yy0mz z`myjsN9G?J-xZFHObv1p^Ad9{EiLWKUBf>%=FEkm&{21ApgR}=aJtoJL(y3 zyh428*Y;SiUXW66kNNt1)i7ygaATg~o4>gKdh$}??LVL1s1iEN;MO<%uyTj5J1;q} z`-9G-(;B$)4!@}M$aU={<4rA~PQ+5RC8-2lGAvmoF7%4{}& zuQ>BQbOm?@D`CJ|k(=IltNhLcL8kwvJFXQ$cQ}WhKwv}DJ+HrAetF(@`8irIj4p8x z1))HE?6-EBAAR%Kn95cm0B(YTFIV;DUqRP+fB-OnlW;V)t|>48LHM2`k01n;@E}E= z_5cG0Q{?Q*6+n85oVkJwmT;XO^|>p^AOL^T<9yc@WFUg=^tfDh1vx`ydfd8#oHN)x zq{ai-wE!1=3tq{HY#HyK>uIu+`VuApn6gnOy5zt>%c zK)6kVX2%uu2sH384c?vglED{lQs80174!_`u$cm|dEZ+GYdDYJ>cACL2)Hm9zcawC zB7+S4irwOhE2tJyV>fUG6$2G)#0@qFRpn#Yiy7=4yMoFA1=3;$>9^HoAcL8BjV-!@ zeu5Z$h}GnjE9fuS!Eu~6z|Ix)8PKjDV$@vk^ecaW_86^va0UGbx>0;av#vlR@WB1p ztN^bo&|fuDd0e()<~iwh^Nz}p+x4cGdO zEASZ@p%%`>1YiR+!vxPpKdn@F)W7281=itV7-npa&xSc?s#*wl+{xY$m7o7e~0 zdYmjajgPJ%xW$H3Z2HAE^7B4Nf4?7yPyf76Wa6}=?{|$9oBq2Tv9Yw`Kh->s47>Wet~AURHQnW>Vr( Iv{G2vZ%IMk4*&oF literal 0 HcmV?d00001 diff --git a/charts/incubator/pingvin-share/questions.yaml b/charts/incubator/pingvin-share/questions.yaml new file mode 100644 index 00000000000..48ae7515093 --- /dev/null +++ b/charts/incubator/pingvin-share/questions.yaml @@ -0,0 +1,94 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{credentials} +# 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: 3333 + required: true +# Include{externalInterfaces} + +# Include{serviceList} +# Include{persistenceRoot} + - variable: data + label: "App Data Storage" + description: "Stores the Application Configuration." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: image + label: "App Frontend Image Storage" + description: "Stores the Frontend Images." + 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{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 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{veleroSchedulesList} +# Include{documentation} diff --git a/charts/incubator/pingvin-share/templates/NOTES.txt b/charts/incubator/pingvin-share/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/pingvin-share/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/pingvin-share/templates/common.yaml b/charts/incubator/pingvin-share/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/pingvin-share/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/pingvin-share/values.yaml b/charts/incubator/pingvin-share/values.yaml new file mode 100644 index 00000000000..e5e8e2e3a31 --- /dev/null +++ b/charts/incubator/pingvin-share/values.yaml @@ -0,0 +1,32 @@ +image: + repository: stonith404/pingvin-share + pullPolicy: IfNotPresent + tag: v0.24.1@sha256:10c535ad4e044afec12ee09eeee4951cc0e98831f9bf55ad9c4c7e163044ca78 + +securityContext: + container: + readOnlyRootFilesystem: false + runAsNonRoot: false + runAsUser: 0 + runAsGroup: 0 + +service: + main: + ports: + main: + protocol: http + targetPort: 3333 + port: 3333 + + +persistence: + data: + enabled: true + mountPath: "/opt/app/backend/data" + image: + enabled: true + mountPath: "/opt/app/frontend/public/img" + +portal: + open: + enabled: true