feat(Zusam): Move to Stable (#4262)

* feat(Zusam): Move to Stable

* cleanup

* whops

Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
StevenMcElligott
2022-11-01 11:54:01 +02:00
committed by GitHub
co-authored by Stavros Kois
parent f841c9228b
commit 7972cee4a2
8 changed files with 95 additions and 98 deletions
@@ -20,7 +20,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/zusam - https://github.com/truecharts/charts/tree/master/charts/incubator/zusam
- https://github.com/zusam/zusam - https://github.com/zusam/zusam
- https://hub.docker.com/r/zusam/zusam - https://hub.docker.com/r/zusam/zusam
version: 0.0.19 version: 1.0.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- chat - chat

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

@@ -13,233 +13,230 @@ questions:
# Include{controllerExpert} # Include{controllerExpert}
# Include{controllerExpertExtraArgs} # Include{controllerExpertExtraArgs}
- variable: secretEnv - variable: secretEnv
group: "Container Configuration" group: Container Configuration
label: "Image Secrets" label: Image Secrets
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: INIT_USER - variable: INIT_USER
label: "INIT_USER" label: Init User
description: ""
schema: schema:
type: string type: string
required: true required: true
default: "" default: ""
- variable: INIT_GROUP - variable: INIT_GROUP
label: "INIT_GROUP" label: Init Group
description: ""
schema: schema:
type: string type: string
required: true required: true
default: "" default: ""
- variable: INIT_PASSWORD - variable: INIT_PASSWORD
label: "INIT_PASSWORD" label: Init Password
description: ""
schema: schema:
type: string type: string
required: true required: true
private: true private: true
default: "" default: ""
- variable: env - variable: env
group: "Container Configuration" group: Container Configuration
label: "Image Environment" label: Image Environment
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: DOMAIN - variable: DOMAIN
label: "DOMAIN" label: Domain
description: "DOMAIN is used to generate urls" description: DOMAIN is used to generate urls
schema: schema:
type: string type: string
default: "" default: ""
- variable: LANG - variable: LANG
label: "LANG" label: Language
schema: schema:
type: string type: string
required: true required: true
default: "en" default: en
- variable: ALLOW_BOTS - variable: ALLOW_BOTS
label: "ALLOW_BOTS" label: Allow Bots
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: ALLOW_VIDEO_UPLOAD - variable: ALLOW_VIDEO_UPLOAD
label: "ALLOW_VIDEO_UPLOAD" label: Allow Video Upload
schema: schema:
type: boolean type: boolean
default: true default: true
- variable: ALLOW_IMAGE_UPLOAD - variable: ALLOW_IMAGE_UPLOAD
label: "ALLOW_IMAGE_UPLOAD" label: Allow Image Upload
schema: schema:
type: boolean type: boolean
default: true default: true
- variable: ALLOW_PDF_UPLOAD - variable: ALLOW_PDF_UPLOAD
label: "ALLOW_PDF_UPLOAD" label: Allow PDF Upload
schema: schema:
type: boolean type: boolean
default: true default: true
- variable: ALLOW_AUDIO_UPLOAD - variable: ALLOW_AUDIO_UPLOAD
label: "ALLOW_AUDIO_UPLOAD" label: Allow Audio Upload
schema: schema:
type: boolean type: boolean
default: true default: true
- variable: IDLE_HOURS - variable: IDLE_HOURS
label: "IDLE_HOURS" label: Idle Hours
description: "IDLE_HOURS indicate hours during which heavy operations can occur" description: Indicate hours during which heavy operations can occur
schema: schema:
type: string type: string
required: true required: true
default: "01-07" default: 01-07
- variable: VIDEO_CONVERSION_THREADS - variable: VIDEO_CONVERSION_THREADS
label: "VIDEO_CONVERSION_THREADS" label: Video Coversion Threads
description: "Number of threads to use for video conversion" description: Number of threads to use for video conversion
schema: schema:
type: int type: int
required: true required: true
default: 1 default: 1
- variable: VIDEO_FORMAT_NOT_CONVERTED - variable: VIDEO_FORMAT_NOT_CONVERTED
label: "VIDEO_FORMAT_NOT_CONVERTED" label: Video Format Not Converted
description: "VIDEO_FORMAT_NOT_CONVERTED is a comma (',') separated list" description: VIDEO_FORMAT_NOT_CONVERTED is a comma (',') separated list
schema: schema:
type: string type: string
required: true required: true
default: "video/mp4" default: video/mp4
- variable: VIDEO_SIZE_NOT_CONVERTED - variable: VIDEO_SIZE_NOT_CONVERTED
label: "VIDEO_SIZE_NOT_CONVERTED" label: Video Size Not Converted
description: "VIDEO_SIZE_NOT_CONVERTED is in Mo" description: VIDEO_SIZE_NOT_CONVERTED is in Mo
schema: schema:
type: int type: int
required: true required: true
default: 10 default: 10
- variable: MAX_TASK_LOCK_DURATION - variable: MAX_TASK_LOCK_DURATION
label: "MAX_TASK_LOCK_DURATION" label: Max Task Lock Duration
description: "This is the time in seconds before it considers the task as stalled and clears the lock" description: This is the time in seconds before it considers the task as stalled and clears the lock
schema: schema:
type: int type: int
required: true required: true
default: 14400 default: 14400
- variable: ALLOW_EMAIL - variable: ALLOW_EMAIL
label: "ALLOW_EMAIL" label: Allow Email
schema: schema:
type: boolean type: boolean
default: false default: false
show_subquestions_if: true show_subquestions_if: true
subquestions: subquestions:
- variable: MAILER_DSN - variable: MAILER_DSN
label: "MAILER_DSN" label: Mailer DSN
schema: schema:
type: string type: string
default: "null://localhost" default: null://localhost
- variable: mailer_auth_mode - variable: mailer_auth_mode
label: "mailer_auth_mode" label: Mailer Auth Mode
schema: schema:
type: string type: string
default: "cram-md5" default: cram-md5
- variable: mailer_username - variable: mailer_username
label: "mailer_username" label: Mailer Username
schema: schema:
type: string type: string
default: "" default: ""
- variable: mailer_password - variable: mailer_password
label: "mailer_password" label: Mailer Passowrd
schema: schema:
type: string type: string
private: true private: true
default: "" default: ""
- variable: mailer_port - variable: mailer_port
label: "mailer_port" label: Mailer Port
schema: schema:
type: int type: int
default: 587 default: 587
- variable: mailer_host - variable: mailer_host
label: "mailer_host" label: Mailer Host
schema: schema:
type: string type: string
default: "" default: ""
- variable: mailer_transport - variable: mailer_transport
label: "mailer_transport" label: Mailer Transport
schema: schema:
type: string type: string
default: "smtp" default: smtp
- variable: mailer_encryption - variable: mailer_encryption
label: "mailer_encryption" label: Mailer Encryption
schema: schema:
type: string type: string
default: "tls" default: tls
- variable: enable_cron_config - variable: enable_cron_config
label: "Configure Cron" label: Configure Cron
schema: schema:
type: boolean type: boolean
default: false default: false
show_subquestions_if: true show_subquestions_if: true
subquestions: subquestions:
- variable: CRON_CONVERT_IMAGES - variable: CRON_CONVERT_IMAGES
label: "CRON_CONVERT_IMAGES" label: CRON Convert Images
description: "Task execution intervals in seconds" description: Task execution intervals in seconds
schema: schema:
type: int type: int
default: 60 default: 60
- variable: CRON_CONVERT_VIDEO - variable: CRON_CONVERT_VIDEO
label: "CRON_CONVERT_VIDEO" label: CRON Convert Video
description: "Task execution intervals in seconds" description: Task execution intervals in seconds
schema: schema:
type: int type: int
default: 3600 default: 3600
- variable: CRON_NOTIFICATION_EMAILS - variable: CRON_NOTIFICATION_EMAILS
label: "CRON_NOTIFICATION_EMAILS" label: CRON Notification Emails
description: "Task execution intervals in seconds" description: Task execution intervals in seconds
schema: schema:
type: int type: int
default: 3600 default: 3600
- variable: CRON_COMPRESS_GIFS - variable: CRON_COMPRESS_GIFS
label: "CRON_COMPRESS_GIFS" label: CRON Compress GIFs
description: "Task execution intervals in seconds" description: Task execution intervals in seconds
schema: schema:
type: int type: int
default: 3600 default: 3600
- variable: CRON_BOT_ACTIVATE - variable: CRON_BOT_ACTIVATE
label: "CRON_BOT_ACTIVATE" label: CRON Bot Activate
description: "Task execution intervals in seconds" description: Task execution intervals in seconds
schema: schema:
type: int type: int
default: 3600 default: 3600
- variable: CRON_CLEAN_CACHE - variable: CRON_CLEAN_CACHE
label: "CRON_CLEAN_CACHE" label: CRON Clean Cache
description: "Task execution intervals in seconds" description: Task execution intervals in seconds
schema: schema:
type: int type: int
default: 86400 default: 86400
- variable: CRON_CLEAN_NOTIFICATIONS - variable: CRON_CLEAN_NOTIFICATIONS
label: "CRON_CLEAN_NOTIFICATIONS" label: CRON Clean Notifications
description: "Task execution intervals in seconds" description: Task execution intervals in seconds
schema: schema:
type: int type: int
default: 604800 default: 604800
- variable: CRON_CLEAN_FILES - variable: CRON_CLEAN_FILES
label: "CRON_CLEAN_FILES" label: CRON Clean Files
description: "Task execution intervals in seconds" description: Task execution intervals in seconds
schema: schema:
type: int type: int
default: 604800 default: 604800
- variable: CRON_CLEAN_MESSAGES - variable: CRON_CLEAN_MESSAGES
label: "CRON_CLEAN_MESSAGES" label: CRON Clean Messages
description: "Task execution intervals in seconds" description: Task execution intervals in seconds
schema: schema:
type: int type: int
default: 604800 default: 604800
- variable: CRON_CLEAN_GROUPS - variable: CRON_CLEAN_GROUPS
label: "CRON_CLEAN_GROUPS" label: CRON Clean Groups
description: "Task execution intervals in seconds" description: Task execution intervals in seconds
schema: schema:
type: int type: int
default: 2592000 default: 2592000
# 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
@@ -247,22 +244,22 @@ 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: 10283 default: 10283
required: true required: true
# Include{advancedPortHTTP} # Include{advancedPortHTTP}
- variable: targetPort - variable: targetPort
label: "Target Port" label: Target Port
description: "The internal(!) port on the container the Application runs on" description: The internal(!) port on the container the Application runs on
schema: schema:
type: int type: int
default: 8080 default: 8080
@@ -272,8 +269,8 @@ questions:
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: data - variable: data
label: "App Data Storage" label: App Data Storage
description: "Stores the Application Data." description: Stores the Application Data.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -283,7 +280,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
@@ -296,42 +293,42 @@ 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{securityContextAdvanced} # Include{securityContextAdvanced}
# 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
@@ -12,32 +12,32 @@ podSecurityContext:
runAsGroup: 0 runAsGroup: 0
secretEnv: secretEnv:
INIT_USER: "email@domain.com" INIT_USER: email@domain.com
INIT_GROUP: "zusam" INIT_GROUP: zusam
INIT_PASSWORD: "changeme" INIT_PASSWORD: changeme
env: env:
DOMAIN: "localhost" DOMAIN: localhost
LANG: "en" LANG: en
ALLOW_BOTS: false ALLOW_BOTS: false
ALLOW_VIDEO_UPLOAD: true ALLOW_VIDEO_UPLOAD: true
ALLOW_IMAGE_UPLOAD: true ALLOW_IMAGE_UPLOAD: true
ALLOW_PDF_UPLOAD: true ALLOW_PDF_UPLOAD: true
ALLOW_AUDIO_UPLOAD: false ALLOW_AUDIO_UPLOAD: false
IDLE_HOURS: "01-07" IDLE_HOURS: 01-07
VIDEO_CONVERSION_THREADS: 1 VIDEO_CONVERSION_THREADS: 1
VIDEO_FORMAT_NOT_CONVERTED: "video/mp4" VIDEO_FORMAT_NOT_CONVERTED: video/mp4
VIDEO_SIZE_NOT_CONVERTED: "10" VIDEO_SIZE_NOT_CONVERTED: 10
MAX_TASK_LOCK_DURATION: 14400 MAX_TASK_LOCK_DURATION: 14400
ALLOW_EMAIL: false ALLOW_EMAIL: false
MAILER_DSN: null://localhost MAILER_DSN: null://localhost
mailer_auth_mode: "cram-md5" mailer_auth_mode: cram-md5
mailer_username: "" mailer_username: ""
mailer_password: "" mailer_password: ""
mailer_port: 587 mailer_port: 587
mailer_host: "" mailer_host: ""
mailer_transport: "smtp" mailer_transport: smtp
mailer_encryption: "tls" mailer_encryption: tls
CRON_CONVERT_IMAGES: 60 CRON_CONVERT_IMAGES: 60
CRON_CONVERT_VIDEO: 3600 CRON_CONVERT_VIDEO: 3600
CRON_NOTIFICATION_EMAILS: 3600 CRON_NOTIFICATION_EMAILS: 3600
@@ -60,7 +60,7 @@ service:
persistence: persistence:
data: data:
enabled: true enabled: true
mountPath: "/zusam/data" mountPath: /zusam/data
portal: portal:
enabled: true enabled: true