fix(flashpaper) code cleanup + move to stable (#5504)
* fix(flashpaper) code cleanup + move to stable * Update variables types to int * update variable types * Update questions.yaml * Update questions.yaml
This commit is contained in:
parent
9fda0d4522
commit
5e402bd56d
|
@ -1,11 +1,3 @@
|
||||||
annotations:
|
|
||||||
truecharts.org/SCALE-support: "true"
|
|
||||||
truecharts.org/catagories: |
|
|
||||||
- Cloud
|
|
||||||
- Productivity
|
|
||||||
- Security
|
|
||||||
- Tools-Utilities
|
|
||||||
- Network-Web
|
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: "latest"
|
appVersion: "latest"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -13,8 +5,8 @@ dependencies:
|
||||||
repository: https://library-charts.truecharts.org
|
repository: https://library-charts.truecharts.org
|
||||||
version: 11.0.7
|
version: 11.0.7
|
||||||
deprecated: false
|
deprecated: false
|
||||||
description: "A one-time encrypted zero-knowledge password/secret sharing application focused on simplicity and security. No database or complicated set-up required."
|
description: One-time encrypted password/secret sharing
|
||||||
home: https://truecharts.org/docs/charts/incubator/flashpaper
|
home: https://truecharts.org/docs/charts/stable/flashpaper
|
||||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/flashpaper.png
|
icon: https://truecharts.org/img/hotlink-ok/chart-icons/flashpaper.png
|
||||||
keywords:
|
keywords:
|
||||||
- flashpaper
|
- flashpaper
|
||||||
|
@ -30,8 +22,17 @@ maintainers:
|
||||||
url: https://truecharts.org
|
url: https://truecharts.org
|
||||||
name: flashpaper
|
name: flashpaper
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/flashpaper
|
- https://github.com/truecharts/charts/tree/master/charts/stable/flashpaper
|
||||||
- https://github.com/AndrewPaglusch/FlashPaper
|
- https://github.com/AndrewPaglusch/FlashPaper
|
||||||
- https://hub.docker.com/r/andrewpaglusch/flashpaper
|
- https://hub.docker.com/r/andrewpaglusch/flashpaper
|
||||||
type: application
|
type: application
|
||||||
version: 2.0.3
|
version: 3.0.0
|
||||||
|
annotations:
|
||||||
|
truecharts.org/catagories: |
|
||||||
|
- Cloud
|
||||||
|
- Productivity
|
||||||
|
- Security
|
||||||
|
- Tools-Utilities
|
||||||
|
- Network-Web
|
||||||
|
truecharts.org/SCALE-support: "true"
|
||||||
|
truecharts.org/grade: U
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
@ -9,97 +9,97 @@ questions:
|
||||||
# Include{replica1}
|
# Include{replica1}
|
||||||
# Include{controllerExpertExtraArgs}
|
# Include{controllerExpertExtraArgs}
|
||||||
- variable: env
|
- variable: env
|
||||||
group: "App Configuration"
|
group: App Configuration
|
||||||
label: "Image Environment"
|
label: Image Environment
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: SITE_TITLE
|
- variable: SITE_TITLE
|
||||||
label: "SITE_TITLE"
|
label: Site Title
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "FlashPaper - Self-Destructing Message"
|
default: "FlashPaper - Self-Destructing Message"
|
||||||
- variable: RETURN_FULL_URL
|
- variable: RETURN_FULL_URL
|
||||||
label: "RETURN_FULL_URL"
|
label: Return Full URL
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: boolean
|
||||||
default: "true"
|
default: true
|
||||||
- variable: MAX_SECRET_LENGTH
|
- variable: MAX_SECRET_LENGTH
|
||||||
label: "MAX_SECRET_LENGTH"
|
label: max Secret Length
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: int
|
||||||
default: "3000"
|
default: 3000
|
||||||
- variable: ANNOUNCEMENT
|
- variable: ANNOUNCEMENT
|
||||||
label: "ANNOUNCEMENT"
|
label: Announcement
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
- variable: MESSAGES_ERROR_SECRET_TOO_LONG
|
- variable: MESSAGES_ERROR_SECRET_TOO_LONG
|
||||||
label: "MESSAGES_ERROR_SECRET_TOO_LONG"
|
label: Messages Error Secret Too Long
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "Input length too long"
|
default: Input length Too long
|
||||||
- variable: MESSAGES_SUBMIT_SECRET_HEADER
|
- variable: MESSAGES_SUBMIT_SECRET_HEADER
|
||||||
label: "MESSAGES_SUBMIT_SECRET_HEADER"
|
label: Messages Submit Secret Header
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "Create A Self-Destructing Message"
|
default: Create A Self-Destructing Message
|
||||||
- variable: MESSAGES_SUBMIT_SECRET_SUBHEADER
|
- variable: MESSAGES_SUBMIT_SECRET_SUBHEADER
|
||||||
label: "MESSAGES_SUBMIT_SECRET_SUBHEADER"
|
label: MESSAGES_SUBMIT_SECRET_SUBHEADER
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
- variable: MESSAGES_SUBMIT_SECRET_BUTTON
|
- variable: MESSAGES_SUBMIT_SECRET_BUTTON
|
||||||
label: "MESSAGES_SUBMIT_SECRET_BUTTON"
|
label: Messages Submit Secret Button
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "Encrypt Message"
|
default: Encrypt Message
|
||||||
- variable: MESSAGES_VIEW_CODE_HEADER
|
- variable: MESSAGES_VIEW_CODE_HEADER
|
||||||
label: "MESSAGES_VIEW_CODE_HEADER"
|
label: Messages View Code Header
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "Self-Destructing URL"
|
default: Self-Destructing URL
|
||||||
- variable: MESSAGES_VIEW_CODE_SUBHEADER
|
- variable: MESSAGES_VIEW_CODE_SUBHEADER
|
||||||
label: "MESSAGES_VIEW_CODE_SUBHEADER"
|
label: Messages View Code Subheader
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "Share this URL via email, chat, or another messaging service. It will self-destruct after being viewed once."
|
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
|
- variable: MESSAGES_CONFIRM_VIEW_SECRET_HEADER
|
||||||
label: "MESSAGES_CONFIRM_VIEW_SECRET_HEADER"
|
label: Messages Confirm View Secret Header
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "View this secret?"
|
default: View this secret?
|
||||||
- variable: MESSAGES_CONFIRM_VIEW_SECRET_BUTTON
|
- variable: MESSAGES_CONFIRM_VIEW_SECRET_BUTTON
|
||||||
label: "MESSAGES_CONFIRM_VIEW_SECRET_BUTTON"
|
label: Messages Confirm View Secret Button
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "View Secret"
|
default: View Secret
|
||||||
- variable: MESSAGES_VIEW_SECRET_HEADER
|
- variable: MESSAGES_VIEW_SECRET_HEADER
|
||||||
label: "MESSAGES_VIEW_SECRET_HEADER"
|
label: Messages View Secret Header
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "This message has been destroyed"
|
default: This message has been destroyed
|
||||||
- variable: PRUNE_ENABLED
|
- variable: PRUNE_ENABLED
|
||||||
label: "PRUNE_ENABLED"
|
label: Prune Enabled
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: boolean
|
||||||
default: "true"
|
default: true
|
||||||
- variable: PRUNE_MIN_DAYS
|
- variable: PRUNE_MIN_DAYS
|
||||||
label: "PRUNE_MIN_DAYS"
|
label: Prune Min Days
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: int
|
||||||
default: "365"
|
default: 365
|
||||||
- variable: PRUNE_MAX_DAYS
|
- variable: PRUNE_MAX_DAYS
|
||||||
label: "PRUNE_MAX_DAYS"
|
label: Prune Max Days
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: int
|
||||||
default: "730"
|
default: 730
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
# Include{serviceRoot}
|
# Include{serviceRoot}
|
||||||
- variable: main
|
- variable: main
|
||||||
label: "Main Service"
|
label: Main Service
|
||||||
description: "The Primary service on which the healthcheck runs, often the webUI"
|
description: The Primary service on which the healthcheck runs, often the webUI
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
|
@ -107,14 +107,14 @@ questions:
|
||||||
# Include{serviceSelectorLoadBalancer}
|
# Include{serviceSelectorLoadBalancer}
|
||||||
# Include{serviceSelectorExtras}
|
# Include{serviceSelectorExtras}
|
||||||
- variable: main
|
- variable: main
|
||||||
label: "Main Service Port Configuration"
|
label: Main Service Port Configuration
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: port
|
- variable: port
|
||||||
label: "Port"
|
label: Port
|
||||||
description: "This port exposes the container port on the service"
|
description: This port exposes the container port on the service
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 8544
|
default: 8544
|
||||||
|
@ -125,7 +125,8 @@ questions:
|
||||||
# Include{serviceList}
|
# Include{serviceList}
|
||||||
# Include{persistenceRoot}
|
# Include{persistenceRoot}
|
||||||
- variable: data
|
- variable: data
|
||||||
label: "data Storage"
|
label: App Data Storage
|
||||||
|
description: Stores the Application Data.
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
|
@ -134,7 +135,7 @@ questions:
|
||||||
# Include{persistenceList}
|
# Include{persistenceList}
|
||||||
# Include{ingressRoot}
|
# Include{ingressRoot}
|
||||||
- variable: main
|
- variable: main
|
||||||
label: "Main Ingress"
|
label: Main Ingress
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
|
@ -146,41 +147,41 @@ questions:
|
||||||
# Include{security}
|
# Include{security}
|
||||||
# Include{securityContextAdvancedRoot}
|
# Include{securityContextAdvancedRoot}
|
||||||
- variable: privileged
|
- variable: privileged
|
||||||
label: "Privileged mode"
|
label: Privileged mode
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: readOnlyRootFilesystem
|
- variable: readOnlyRootFilesystem
|
||||||
label: "ReadOnly Root Filesystem"
|
label: ReadOnly Root Filesystem
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: allowPrivilegeEscalation
|
- variable: allowPrivilegeEscalation
|
||||||
label: "Allow Privilege Escalation"
|
label: Allow Privilege Escalation
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: runAsNonRoot
|
- variable: runAsNonRoot
|
||||||
label: "runAsNonRoot"
|
label: runAsNonRoot
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
# Include{podSecurityContextRoot}
|
# Include{podSecurityContextRoot}
|
||||||
- variable: runAsUser
|
- variable: runAsUser
|
||||||
label: "runAsUser"
|
label: runAsUser
|
||||||
description: "The UserID of the user running the application"
|
description: The UserID of the user running the application
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
- variable: runAsGroup
|
- variable: runAsGroup
|
||||||
label: "runAsGroup"
|
label: runAsGroup
|
||||||
description: The groupID this App of the user running the application"
|
description: The groupID this App of the user running the application
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
- variable: fsGroup
|
- variable: fsGroup
|
||||||
label: "fsGroup"
|
label: fsGroup
|
||||||
description: "The group that should own ALL storage."
|
description: The group that should own ALL storage.
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 568
|
default: 568
|
|
@ -1,3 +1,16 @@
|
||||||
|
image:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
repository: tccr.io/truecharts/flashpaper
|
||||||
|
tag: latest@sha256:a784f26d36046473f36f3cf2c214f6ac63517c1b1434eb769fd15a7ee2f10c29
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsGroup: 0
|
||||||
|
runAsUser: 0
|
||||||
|
|
||||||
|
securityContext:
|
||||||
|
readOnlyRootFilesystem: false
|
||||||
|
runAsNonRoot: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ANNOUNCEMENT: ""
|
ANNOUNCEMENT: ""
|
||||||
MAX_SECRET_LENGTH: "3000"
|
MAX_SECRET_LENGTH: "3000"
|
||||||
|
@ -17,20 +30,7 @@ env:
|
||||||
PRUNE_MIN_DAYS: "365"
|
PRUNE_MIN_DAYS: "365"
|
||||||
RETURN_FULL_URL: "true"
|
RETURN_FULL_URL: "true"
|
||||||
SITE_TITLE: FlashPaper - Self-Destructing Message
|
SITE_TITLE: FlashPaper - Self-Destructing Message
|
||||||
image:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
repository: tccr.io/truecharts/flashpaper
|
|
||||||
tag: latest@sha256:a784f26d36046473f36f3cf2c214f6ac63517c1b1434eb769fd15a7ee2f10c29
|
|
||||||
persistence:
|
|
||||||
data:
|
|
||||||
enabled: true
|
|
||||||
mountPath: /var/www/html/data
|
|
||||||
podSecurityContext:
|
|
||||||
runAsGroup: 0
|
|
||||||
runAsUser: 0
|
|
||||||
securityContext:
|
|
||||||
readOnlyRootFilesystem: false
|
|
||||||
runAsNonRoot: false
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
|
@ -39,5 +39,9 @@ service:
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
data:
|
||||||
|
enabled: true
|
||||||
|
mountPath: /var/www/html/data
|
||||||
portal:
|
portal:
|
||||||
enabled: true
|
enabled: true
|
Loading…
Reference in New Issue