From c60bbda5ab417e4af01deb0cc08d30a27cc07380 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 18 Sep 2022 20:36:06 +0300 Subject: [PATCH] feat(batnoter): add batnoter (#3805) * feat(batnoter): add batnoter * clean * remove quotes * rofs * Update charts/incubator/batnoter/values.yaml Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> * root Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- charts/incubator/batnoter/.helmignore | 30 +++++ charts/incubator/batnoter/Chart.yaml | 25 ++++ charts/incubator/batnoter/README.md | 0 charts/incubator/batnoter/icon.png | Bin 0 -> 4155 bytes charts/incubator/batnoter/questions.yaml | 109 ++++++++++++++++++ .../incubator/batnoter/templates/common.yaml | 1 + charts/incubator/batnoter/values.yaml | 23 ++++ cspell.config.yaml | 1 + 8 files changed, 189 insertions(+) create mode 100644 charts/incubator/batnoter/.helmignore create mode 100644 charts/incubator/batnoter/Chart.yaml create mode 100644 charts/incubator/batnoter/README.md create mode 100644 charts/incubator/batnoter/icon.png create mode 100644 charts/incubator/batnoter/questions.yaml create mode 100644 charts/incubator/batnoter/templates/common.yaml create mode 100644 charts/incubator/batnoter/values.yaml diff --git a/charts/incubator/batnoter/.helmignore b/charts/incubator/batnoter/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/batnoter/.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/batnoter/Chart.yaml b/charts/incubator/batnoter/Chart.yaml new file mode 100644 index 00000000000..2b15c3addf3 --- /dev/null +++ b/charts/incubator/batnoter/Chart.yaml @@ -0,0 +1,25 @@ +apiVersion: v2 +appVersion: "10.6.2" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 10.5.10 +description: BatNoter is a web application that allows users to store notes in their git repository. +home: https://truecharts.org/docs/charts/stable/airsonic +icon: https://truecharts.org/img/hotlink-ok/chart-icons/airsonic.png +keywords: + - notes +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: batnoter +sources: + - https://github.com/batnoter/batnoter +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - notes + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/batnoter/README.md b/charts/incubator/batnoter/README.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/charts/incubator/batnoter/icon.png b/charts/incubator/batnoter/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..a163a72d1285bd4bbf51ff7a82c4b074e542a8b9 GIT binary patch literal 4155 zcmaKw3pkVS|HmK8Y95D1n?p`RGE+UDAsrWym`hTzQ?|1#KYkPLzpZoQGf8O`~Y}a<}BEiyx7u*g40KjWz zYDfeC4mkUX*aTHZO<_3z0DDcaur-3F0I&v7)<8tp_~Y0SXg1IRa3|fYWaPN;?qT z!>)u50hAFSY!sk$0pwobG!qCP1cF`y;UhpW3yA0gLYP3r02_;Z351RSk$pfI6NnrD z$b&%C5I`OVLPh{G69^e#3n45V!iIrxCL4oROF}85M0%4GlJhU!^0;~(6DP*+){E|Q&p`~>RUkD~z+5jA|O`Pz}TM%3zHxDo0RwTc`HWXS=NLXaM zsF=8fBt}YFW{2!fIjlTRVb^X&CA{*Uy(+5v)YSJM(9qP<*3s3|H!w6ZHZ?nFamdn& zU`@0o+1WcBc06*_$;H*p-Q(DCPcLsD-;<{TP6q}BhlG*CBO;^EQmC|ZG4u0J!?VrQ_po!t4QLpF-0Pt)vGt{#s4}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E)+D!y?FrC|K{-v|tn1n{_AvZZpjmlTIB?CUAM59U>4BeNqpe-kP_vy8$ z>xUBy^P4en%{29z(!`mz`W)(j?$dC|ySl5x0^Nfp&O7XvQF}Tg5hPf8Dzb~&2Ql_R z?syaUk4;T8?;6tDE-Fo|f!p692@@VoGY{Or!!gY~-jf9sA^ziP5=(9>EVHV!KeYU= zhcQ6eGhA2aJI=i_>5z4dKZ{(ptUgD8*JfgBcJN#_6rl5rW7ak+1h=cM*5?Tp5zI=e zD>;Mg8`LECL=b(m2aNaEs74VaU`5lN=M~1KJ!G}CMTTtsRAZ5W+cjeXu?2uyC-+`j zi9|-i6t5Jg#8XccZsLBtrax*m-;+PU>j6hhmftoRG5lVk6#F0T3yDW3l`W(y$h9Q3 zss@X-?;Y~vOUEjG6S)m=}J9407@o`r< z?SV1F#aOcL(uc}7^OB(tj~qP}(Nt%krzijY2;rQnE(XWz^Fy9>Zdh(-{;yd9o{KvE?#J zCqhNa?aPCZ$T**nbhG2})1SUnKtD{1Z3D0=2kDi!X##60p!rM^NNg0TxdY7-*&`9e z87XwA89aYH;U-bIGk!{2-%2^xpQw>hSy5o>6%RYPS=nFeSE*6h zHLHkz@ldUa2`rDCsg;ZNdA&cR_+rrCxJNlBKE-#htSPlAeki}+WIx8L9xg)oXi1P* z-c~WA1+aNiC=0vKJG1(_Z%u}6h)#c`&j(-e&^_K(m%7i+9CJ6$aN6!0HyU47$g=g*W%ue*%~pSsE7UyVCv-e>PV^ literal 0 HcmV?d00001 diff --git a/charts/incubator/batnoter/questions.yaml b/charts/incubator/batnoter/questions.yaml new file mode 100644 index 00000000000..80db63657be --- /dev/null +++ b/charts/incubator/batnoter/questions.yaml @@ -0,0 +1,109 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{controller} +# Include{controllerDeployment} +# Include{replicas} +# Include{replica1} +# Include{strategy} +# Include{recreate} +# Include{controllerExpert} +# Include{controllerExpertExtraArgs} +# Include{containerConfig} +# Include{serviceRoot} + - variable: main + label: Main Service + description: The Primary service on which the healthcheck runs, often the webUI + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelectorSimple} +# 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: 10351 + required: true +# Include{advancedPortHTTP} + - variable: targetPort + label: Target Port + description: The internal(!) port on the container the Application runs on + schema: + type: int + default: 3000 +# Include{serviceExpertRoot} + default: false +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: Main Ingress + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressTLS} +# Include{ingressTraefik} +# Include{ingressExpert} +# Include{ingressList} +# Include{security} +# Include{securityContextAdvancedRoot} + - variable: privileged + label: Privileged mode + schema: + type: boolean + default: false + - variable: readOnlyRootFilesystem + label: ReadOnly Root Filesystem + schema: + type: boolean + default: false + - variable: allowPrivilegeEscalation + label: Allow Privilege Escalation + schema: + type: boolean + default: false + - variable: runAsNonRoot + label: runAsNonRoot + schema: + type: boolean + default: false +# Include{securityContextAdvanced} +# Include{podSecurityContextRoot} + - 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 + - variable: fsGroup + label: fsGroup + description: The group that should own ALL storage. + schema: + type: int + default: 568 +# Include{podSecurityContextAdvanced} +# Include{resources} +# Include{advanced} +# Include{addons} +# Include{documentation} diff --git a/charts/incubator/batnoter/templates/common.yaml b/charts/incubator/batnoter/templates/common.yaml new file mode 100644 index 00000000000..c1a366e1cf0 --- /dev/null +++ b/charts/incubator/batnoter/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.common.loader.all" . }} diff --git a/charts/incubator/batnoter/values.yaml b/charts/incubator/batnoter/values.yaml new file mode 100644 index 00000000000..c3963e7f201 --- /dev/null +++ b/charts/incubator/batnoter/values.yaml @@ -0,0 +1,23 @@ +image: + repository: tccr.io/truecharts/batnoter + tag: latest@sha256:50bf9ba29f6ed9a297fb4f2160f0895b97e5cd4838099e089ce052dd83762533 + pullPolicy: IfNotPresent + +securityContext: + readOnlyRootFilesystem: false + runAsNonRoot: false + +podSecurityContext: + runAsUser: 0 + runAsGroup: 0 + +service: + main: + ports: + main: + port: 10351 + protocol: HTTP + targetPort: 3000 + +portal: + enabled: true diff --git a/cspell.config.yaml b/cspell.config.yaml index df123dc9382..a0414118771 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -19,6 +19,7 @@ words: - autosync - backupname - basicauthexample + - batnoter - bazarr - bugfixer's - bungeecord