Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot
2022-12-26 20:48:37 +00:00
parent 1d9f72bac4
commit 82a2b944e2
13 changed files with 2604 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
**Important:**
*for the complete changelog, please refer to the website*
## [plik-0.0.1]plik-0.0.1 (2022-12-26)

View File

@@ -0,0 +1,33 @@
apiVersion: v2
appVersion: "1.3.6"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.1
- condition: postgresql.enabled
name: postgresql
repository: https://charts.truecharts.org/
version: 11.0.16
deprecated: false
description: A scalable file uploading system with multiple backends.
home: https://truecharts.org/docs/charts/stable/plik
icon: https://truecharts.org/img/hotlink-ok/chart-icons/plik.png
keywords:
- plik
- files
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: plik
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/plik
- https://github.com/root-gg/plik
type: application
version: 0.0.1
annotations:
truecharts.org/catagories: |
- files
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@@ -0,0 +1 @@
# plik

View File

@@ -0,0 +1,4 @@
## [plik-0.0.1]plik-0.0.1 (2022-12-26)

View File

@@ -0,0 +1,8 @@
A scalable file uploading system with multiple backends.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/incubator/plik](https://truecharts.org/charts/incubator/plik)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/about/sponsor) or contributing back to the project any way you can!

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,96 @@
image:
repository: tccr.io/truecharts/plik
pullPolicy: IfNotPresent
tag: 1.3.6@sha256:f9c31219bfb0793c3b9ce4ec304cd52c4dfef106ae452ab0f6a57a0a0b575fbd
# securityContext:
# readOnlyRootFilesystem: false
plik:
general:
debug: false
debug_requests: false
log_level: INFO
abuse_contact: ""
network:
download_domain: "something"
download_domain_alias: []
enhanced_web_security: false
session_timeout: 365d
source_ip_header: ""
upload_whitelist: []
files:
max_file_size: 10GB
max_files_per_upload: 1000
default_ttl: 30d
max_ttl: 30d
# file | gcs | s3 | swift
data_backend: file
gcs:
bucket: ""
folder: ""
s3:
bucket: ""
endpoint: ""
access_key_id: ""
secret_access_key: ""
location: ""
prefix: ""
use_ssl: true
part_size: 16000000
sse: ""
swift:
container: ""
auth_url: https://auth.swiftauthapi.xxx/v2.0/
username: ""
api_key: ""
domain: ""
tenant: ""
features:
authentication: disabled
one_shot: enabled
removable: enabled
stream: enabled
password: enabled
comments: enabled
set_ttl: enabled
extend_ttl: disabled
clients: enabled
github: enabled
third_party:
google_api_client_id: ""
google_api_secret: ""
google_valid_domains: []
ovh_api_key: ""
ovh_api_secret: ""
ovh_api_endpoint: https://eu.api.ovh.com/1.0
service:
main:
ports:
main:
protocol: HTTP
port: 10599
persistence:
data:
enabled: true
mountPath: /data
plikd-config:
enabled: true
mountPath: /home/plik/server/plikd.cfg
subPath: plikd.cfg
type: custom
readOnly: true
volumeSpec:
secret:
secretName: '{{ include "tc.common.names.fullname" . }}-plik-secret'
postgresql:
enabled: true
existingSecret: dbcreds
postgresqlUsername: plik
postgresqlDatabase: plik
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,113 @@
{{- define "plik.secret" -}}
{{- $secretName := printf "%s-plik-secret" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
stringData:
plikd.cfg: |
ListenPort = {{ .Values.service.main.ports.main.port }}
ListenAddress = "0.0.0.0"
Path = ""
SslEnabled = false
SslCert = "plik.crt"
SslKey = "plik.key"
NoWebInterface = false
WebappDirectory = "../webapp/dist"
ClientsDirectory = "../clients"
ChangelogDirectory = "../changelog"
Debug = {{ .Values.plik.general.debug }}
DebugRequests = {{ .Values.plik.general.debug_requests }}
LogLevel = {{ .Values.plik.general.log_level | quote }}
AbuseContact = {{ .Values.plik.general.abuse_contact | quote }}
DownloadDomain = {{ .Values.plik.network.download_domain | quote }}
{{- with .Values.plik.network.download_domain_alias }}
DownloadDomainAlias = [
{{- range $alias := initial . }}
{{- $alias | quote | nindent 6 }},
{{- end -}}
{{- last . | quote | nindent 6 }}
]
{{- else }}
DownloadDomainAlias = []
{{- end }}
EnhancedWebSecurity = {{ .Values.plik.network.enhanced_web_security }}
SessionTimeout = {{ .Values.plik.network.session_timeout | quote }}
SourceIpHeader = {{ .Values.plik.network.source_ip_header | quote }}
{{- with .Values.plik.network.upload_whitelist }}
UploadWhitelist = [
{{- range $ip := initial . }}
{{- $ip | quote | nindent 6 }},
{{- end -}}
{{- last . | quote | nindent 6 }}
]
{{- else }}
UploadWhitelist = []
{{- end }}
MaxFileSizeStr = {{ .Values.plik.files.max_file_size | quote }}
MaxFilePerUpload = {{ .Values.plik.files.max_files_per_upload }}
DefaultTTLStr = {{ .Values.plik.files.default_ttl | quote }}
MaxTTLStr = {{ .Values.plik.files.max_ttl | quote }}
FeatureAuthentication = {{ .Values.plik.features.authentication | quote }}
FeatureOneShot = {{ .Values.plik.features.one_shot | quote }}
FeatureRemovable = {{ .Values.plik.features.removable | quote }}
FeatureStream = {{ .Values.plik.features.stream | quote }}
FeaturePassword = {{ .Values.plik.features.password | quote }}
FeatureComments = {{ .Values.plik.features.comments | quote }}
FeatureSetTTL = {{ .Values.plik.features.set_ttl | quote }}
FeatureExtendTTL = {{ .Values.plik.features.extend_ttl | quote }}
FeatureClients = {{ .Values.plik.features.clients | quote }}
FeatureGithub = {{ .Values.plik.features.github | quote }}
GoogleApiClientID = {{ .Values.plik.third_party.google_api_client_id | quote }}
GoogleApiSecret = {{ .Values.plik.third_party.google_api_secret | quote }}
{{- with .Values.plik.third_party.google_valid_domains }}
GoogleValidDomains = [
{{- range $domain := initial . }}
{{- $domain | quote | nindent 6 }},
{{- end -}}
{{- last . | quote | nindent 6 }}
]
{{- else }}
GoogleValidDomains = []
{{- end }}
OvhApiKey = {{ .Values.plik.third_party.ovh_api_key | quote }}
OvhApiSecret = {{ .Values.plik.third_party.ovh_api_secret | quote }}
OvhApiEndpoint = {{ .Values.plik.third_party.ovh_api_endpoint | quote }}
{{- $backend := .Values.plik.files.data_backend }}
DataBackend = {{ $backend | quote }}
[MetadataBackendConfig]
Driver = "postgres"
ConnectionString = {{ .Values.postgresql.url.complete | trimAll "\"" | quote }}
Debug = {{ .Values.plik.general.debug }}
[DataBackendConfig]
{{- if eq $backend "file" }}
Directory = {{ .Values.persistence.data.mountPath | quote }}
{{- else if eq $backend "gcs" }}
Bucket = {{ .Values.plik.files.gcs.bucket | quote }}
Folder = {{ .Values.plik.files.gcs.folder | quote }}
{{- else if eq $backend "s3" }}
Endpoint = {{ .Values.plik.files.s3.endpoint | quote }}
AccessKeyID = {{ .Values.plik.files.s3.access_key_id | quote }}
SecretAccessKey = {{ .Values.plik.files.s3.secret_access_key | quote }}
Bucket = {{ .Values.plik.files.s3.bucket | quote }}
Location = {{ .Values.plik.files.s3.location | quote }}
Prefix = {{ .Values.plik.files.s3.prefix | quote }}
UseSSL = {{ .Values.plik.files.s3.use_ssl }}
PartSize = {{ .Values.plik.files.s3.part_size | int }}
SSE = {{ .Values.plik.files.s3.sse | quote }}
{{- else if eq $backend "swift" }}
Container = {{ .Values.plik.files.swift.container | quote }}
AuthUrl = {{ .Values.plik.files.swift.auth_url | quote }}
UserName = {{ .Values.plik.files.swift.username | quote }}
ApiKey = {{ .Values.plik.files.swift.api_key | quote }}
Domain = {{ .Values.plik.files.swift.domain | quote }}
Tenant = {{ .Values.plik.files.swift.tenant | quote }}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,7 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render config */}}
{{- include "plik.secret" . }}
{{ include "tc.common.loader.apply" . }}

View File

4
incubator/plik/item.yaml Normal file
View File

@@ -0,0 +1,4 @@
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/plik.png
categories:
- files