chore(incubator): make things work with new common part 3 (#15994)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ 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?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ 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

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ 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._
This commit is contained in:
Kjeld Schouten
2023-12-15 22:41:48 +01:00
committed by GitHub
parent d42d189d19
commit 11272a4456
936 changed files with 615 additions and 1092 deletions
+30
View File
@@ -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
+234
View File
@@ -0,0 +1,234 @@
# Changelog
## [lenpaste-1.0.0](https://github.com/truecharts/charts/compare/lenpaste-0.0.13...lenpaste-1.0.0) (2022-11-10)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Major Change to GUI
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4349](https://github.com/truecharts/charts/issues/4349))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
### Fix
- change container config label
## [lenpaste-0.0.16](https://github.com/truecharts/charts/compare/lenpaste-0.0.13...lenpaste-0.0.16) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4349](https://github.com/truecharts/charts/issues/4349))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [lenpaste-0.0.15](https://github.com/truecharts/charts/compare/lenpaste-0.0.13...lenpaste-0.0.15) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [lenpaste-0.0.15](https://github.com/truecharts/charts/compare/lenpaste-0.0.13...lenpaste-0.0.15) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [lenpaste-0.0.15](https://github.com/truecharts/charts/compare/lenpaste-0.0.13...lenpaste-0.0.15) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [lenpaste-0.0.14](https://github.com/truecharts/charts/compare/lenpaste-0.0.13...lenpaste-0.0.14) (2022-11-07)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [lenpaste-0.0.14](https://github.com/truecharts/charts/compare/lenpaste-0.0.13...lenpaste-0.0.14) (2022-11-06)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [lenpaste-0.0.13](https://github.com/truecharts/charts/compare/lenpaste-0.0.12...lenpaste-0.0.13) (2022-11-06)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4317](https://github.com/truecharts/charts/issues/4317))
## [lenpaste-0.0.12](https://github.com/truecharts/charts/compare/lenpaste-0.0.11...lenpaste-0.0.12) (2022-11-05)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4308](https://github.com/truecharts/charts/issues/4308))
## [lenpaste-0.0.11](https://github.com/truecharts/charts/compare/lenpaste-0.0.10...lenpaste-0.0.11) (2022-11-02)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4261](https://github.com/truecharts/charts/issues/4261))
## [lenpaste-0.0.10](https://github.com/truecharts/charts/compare/lenpaste-0.0.9...lenpaste-0.0.10) (2022-10-25)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major
## [lenpaste-0.0.9](https://github.com/truecharts/charts/compare/lenpaste-0.0.8...lenpaste-0.0.9) (2022-10-25)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4182](https://github.com/truecharts/charts/issues/4182))
## [lenpaste-0.0.8](https://github.com/truecharts/charts/compare/lenpaste-0.0.7...lenpaste-0.0.8) (2022-10-19)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4122](https://github.com/truecharts/charts/issues/4122))
## [lenpaste-0.0.7](https://github.com/truecharts/charts/compare/lenpaste-0.0.6...lenpaste-0.0.7) (2022-10-14)
### Chore
- Auto-update chart README [skip ci]
- update docker general non-major ([#4084](https://github.com/truecharts/charts/issues/4084))
## [lenpaste-0.0.6](https://github.com/truecharts/charts/compare/lenpaste-0.0.5...lenpaste-0.0.6) (2022-10-12)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4071](https://github.com/truecharts/charts/issues/4071))
## [lenpaste-0.0.5](https://github.com/truecharts/charts/compare/lenpaste-0.0.4...lenpaste-0.0.5) (2022-10-07)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major
## [lenpaste-0.0.5](https://github.com/truecharts/charts/compare/lenpaste-0.0.4...lenpaste-0.0.5) (2022-10-07)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major
## [lenpaste-0.0.4](https://github.com/truecharts/charts/compare/lenpaste-0.0.3...lenpaste-0.0.4) (2022-10-05)
### Chore
- split addons in smaller templates ([#3979](https://github.com/truecharts/charts/issues/3979))
- update helm general non-major
## [lenpaste-0.0.2](https://github.com/truecharts/charts/compare/lenpaste-0.0.1...lenpaste-0.0.2) (2022-09-27)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#3918](https://github.com/truecharts/charts/issues/3918))
## [lenpaste-0.0.1]lenpaste-0.0.1 (2022-09-25)
### Feat
- add lenpaste ([#3895](https://github.com/truecharts/charts/issues/3895))
+35
View File
@@ -0,0 +1,35 @@
kubeVersion: ">=1.24.0-0"
apiVersion: v2
name: lenpaste
version: 4.0.2
appVersion: 1.1.1
description: Lenpaste is a web service that allows you to share notes anonymously
home: https://truecharts.org/charts/incubator/lenpaste
icon: https://truecharts.org/img/hotlink-ok/chart-icons/lenpaste.png
deprecated: false
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/lenpaste
- https://git.lcomrade.su/root/lenpaste
maintainers:
- name: TrueCharts
email: info@truecharts.org
url: https://truecharts.org
keywords:
- lenpaste
dependencies:
- name: common
version: 16.2.6
repository: https://library-charts.truecharts.org
condition: ""
alias: ""
tags: []
import-values: []
annotations:
max_scale_version: 23.10.1
min_scale_version: 22.12.4
truecharts.org/SCALE-support: "true"
truecharts.org/category: productivity
truecharts.org/max_helm_version: "3.13"
truecharts.org/min_helm_version: "3.12"
truecharts.org/train: incubator
type: application
+27
View File
@@ -0,0 +1,27 @@
# README
## General Info
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
However only installations using the TrueNAS SCALE Apps system are supported.
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/incubator/lenpaste)
**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)**
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro).
- 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](https://truecharts.org/sponsor) or contributing back to the project any way you can!
*All Rights Reserved - The TrueCharts Project*
Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

+145
View File
@@ -0,0 +1,145 @@
# Include{groups}
portals:
open:
# Include{portalLink}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
group: App Configuration
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: LENPASTE_ADMIN_NAME
label: Admin Name
description: Name of the administrator of this server.
schema:
type: string
default: ""
- variable: LENPASTE_ADMIN_MAIL
label: Admin Mail
description: Email of the administrator of this server.
schema:
type: string
default: ""
- variable: LENPASTE_DB_CLEANUP_PERIOD
label: DB Cleanup Period
description: Interval at which the DB is cleared of expired but not yet deleted pastes.
schema:
type: string
default: 3h
- variable: LENPASTE_ROBOTS_DISALLOW
label: Disallow Robots
description: Prohibits search engine crawlers from indexing site using robots.txt file.
schema:
type: boolean
default: true
- variable: LENPASTE_TITLE_MAX_LENGTH
label: Title Max Length
description: Maximum length of the paste title.
schema:
type: int
default: 100
- variable: LENPASTE_BODY_MAX_LENGTH
label: Body Max Length
description: Maximum length of the paste body.
schema:
type: int
default: 100
- variable: LENPASTE_MAX_PASTE_LIFETIME
label: Max Paste Lifetime
description: Maximum lifetime of the paste. Examples 10m, 1h 30m, 12h, 7w, 30d, 365d.
schema:
type: string
default: unlimited
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# 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{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: 10326
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}
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: Main 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: 568
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 568
# 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}
@@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}
+41
View File
@@ -0,0 +1,41 @@
image:
pullPolicy: IfNotPresent
repository: git.lcomrade.su/root/lenpaste
tag: 1.1.1@sha256:4ff3aaf27d6c21a157b2220f778fb91efc66e7b3222a9f7de88ad5a2e426704f
persistence:
data:
enabled: true
mountPath: /data
portal:
open:
enabled: true
cnpg:
main:
enabled: true
database: lenpaste
user: lenpaste
service:
main:
ports:
main:
port: 10326
protocol: http
workload:
main:
podSpec:
containers:
main:
env:
LENPASTE_ADDRESS: :{{ .Values.service.main.ports.main.port }}
LENPASTE_ADMIN_MAIL: admin@example.com
LENPASTE_ADMIN_NAME: admin
LENPASTE_BODY_MAX_LENGTH: 10000
LENPASTE_DB_CLEANUP_PERIOD: 3h
LENPASTE_DB_DRIVER: postgres
LENPASTE_DB_SOURCE:
secretKeyRef:
key: urlnossl
name: dbcreds
LENPASTE_MAX_PASTE_LIFETIME: unlimited
LENPASTE_ROBOTS_DISALLOW: true
LENPASTE_TITLE_MAX_LENGTH: 100