feat(Flashpaper) Add Chart (#19940)

**Description**
<!--
Ressurected removed chart. (The chart was removed because the container
registry changed providers and was never updated, rendering the chart
broken.)
-->
⚒️ Fixes  # <!--(issue)-->

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

**📃 Notes:**
N/a

**✔️ 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
- [x] 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.

- [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: xHyperElectric <71343435+xHyperElectric@users.noreply.github.com>
Signed-off-by: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com>
Signed-off-by: Brendan <contact@srpl.us>
Co-authored-by: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com>
Co-authored-by: Brendan <contact@srpl.us>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
xHyperElectric
2024-04-06 21:10:08 -04:00
committed by GitHub
parent 80bc5637ff
commit aca90be729
9 changed files with 338 additions and 0 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
+3
View File
@@ -0,0 +1,3 @@
---
title: Changelog
---
+41
View File
@@ -0,0 +1,41 @@
annotations:
max_scale_version: 24.04.0
min_scale_version: 23.10.0
truecharts.org/SCALE-support: "true"
truecharts.org/category: Cloud
truecharts.org/max_helm_version: "3.14"
truecharts.org/min_helm_version: "3.12"
truecharts.org/train: incubator
apiVersion: v2
appVersion: latest
dependencies:
- name: common
version: 20.2.9
repository: oci://tccr.io/truecharts
condition: ""
alias: ""
tags: []
import-values: []
deprecated: false
description: One-time encrypted password/secret sharing
home: https://truecharts.org/charts/incubator/flashpaper
icon: https://truecharts.org/img/hotlink-ok/chart-icons/flashpaper.png
keywords:
- flashpaper
- Cloud
- Productivity
- Security
- Tools-Utilities
- Network-Web
kubeVersion: ">=1.24.0-0"
maintainers:
- name: TrueCharts
email: info@truecharts.org
url: https://truecharts.org
name: flashpaper
sources:
- https://github.com/AndrewPaglusch/FlashPaper
- https://github.com/truecharts/charts/tree/master/charts/incubator/flashpaper
- https://github.com/andrewpaglusch/FlashPaper/pkgs/container/flashpaper
type: application
version: 1.0.0
+28
View File
@@ -0,0 +1,28 @@
---
title: 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/stable/autobrr)
**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: 12 KiB

+183
View File
@@ -0,0 +1,183 @@
# 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: SITE_TITLE
label: Site Title
schema:
type: string
default: "FlashPaper - Self-Destructing Message"
- variable: RETURN_FULL_URL
label: Return Full URL
schema:
type: boolean
default: true
- variable: MAX_SECRET_LENGTH
label: max Secret Length
schema:
type: int
default: 3000
- variable: ANNOUNCEMENT
label: Announcement
schema:
type: string
default: ""
- variable: MESSAGES_ERROR_SECRET_TOO_LONG
label: Messages Error Secret Too Long
schema:
type: string
default: Input length Too long
- variable: MESSAGES_SUBMIT_SECRET_HEADER
label: Messages Submit Secret Header
schema:
type: string
default: Create A Self-Destructing Message
- variable: MESSAGES_SUBMIT_SECRET_SUBHEADER
label: MESSAGES_SUBMIT_SECRET_SUBHEADER
schema:
type: string
default: ""
- variable: MESSAGES_SUBMIT_SECRET_BUTTON
label: Messages Submit Secret Button
schema:
type: string
default: Encrypt Message
- variable: MESSAGES_VIEW_CODE_HEADER
label: Messages View Code Header
schema:
type: string
default: Self-Destructing URL
- variable: MESSAGES_VIEW_CODE_SUBHEADER
label: Messages View Code Subheader
schema:
type: string
default: Share this URL via email, chat, or another messaging service. It will self-destruct after being viewed once.
- variable: MESSAGES_CONFIRM_VIEW_SECRET_HEADER
label: Messages Confirm View Secret Header
schema:
type: string
default: View this secret?
- variable: MESSAGES_CONFIRM_VIEW_SECRET_BUTTON
label: Messages Confirm View Secret Button
schema:
type: string
default: View Secret
- variable: MESSAGES_VIEW_SECRET_HEADER
label: Messages View Secret Header
schema:
type: string
default: This message has been destroyed
- variable: PRUNE_ENABLED
label: Prune Enabled
schema:
type: boolean
default: true
- variable: PRUNE_MIN_DAYS
label: Prune Min Days
schema:
type: int
default: 365
- variable: PRUNE_MAX_DAYS
label: Prune Max Days
schema:
type: int
default: 730
# 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: 8544
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: 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{documentation}
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}
+51
View File
@@ -0,0 +1,51 @@
image:
pullPolicy: IfNotPresent
repository: ghcr.io/andrewpaglusch/flashpaper
tag: latest@sha256:91e23442eec448d0ceea4e71a277fb204d22d5ed0980570782403aa7c0e8400e
persistence:
data:
enabled: true
mountPath: /var/www/html/data
varrun:
enabled: false
portal:
open:
enabled: true
securityContext:
container:
readOnlyRootFilesystem: false
runAsGroup: 0
runAsNonRoot: false
runAsUser: 0
service:
main:
ports:
main:
port: 8544
protocol: tcp
targetPort: 80
workload:
main:
podSpec:
containers:
main:
env:
ANNOUNCEMENT: ""
MAX_SECRET_LENGTH: "3000"
MESSAGES_CONFIRM_VIEW_SECRET_BUTTON: View Secret
MESSAGES_CONFIRM_VIEW_SECRET_HEADER: View this secret?
MESSAGES_ERROR_SECRET_TOO_LONG: Input length too long
MESSAGES_SUBMIT_SECRET_BUTTON: Encrypt Message
MESSAGES_SUBMIT_SECRET_HEADER: Create A Self-Destructing Message
MESSAGES_SUBMIT_SECRET_SUBHEADER: ""
MESSAGES_VIEW_CODE_HEADER: Self-Destructing URL
MESSAGES_VIEW_CODE_SUBHEADER: |
Share this URL via email, chat, or another
messaging service. It will self-destruct after being viewed once.
MESSAGES_VIEW_SECRET_HEADER: This message has been destroyed
PRUNE_ENABLED: "true"
PRUNE_MAX_DAYS: "730"
PRUNE_MIN_DAYS: "365"
RETURN_FULL_URL: "true"
SITE_TITLE: FlashPaper - Self-Destructing Message