Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-06-21 07:25:40 +00:00
parent 393c25e31d
commit d9e4caee06
13 changed files with 2159 additions and 0 deletions

View File

@ -0,0 +1,13 @@
**Important:**
*for the complete changelog, please refer to the website*
## [collabora-1.0.0]collabora-1.0.0 (2023-06-21)
### Feat
- add collabora ([#9794](https://github.com/truecharts/charts/issues/9794))

View File

@ -0,0 +1,28 @@
apiVersion: v2
appVersion: v23.05.0.5.1
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.14.2
deprecated: false
description: An awesome, Online Office suite image suitable for home use.
home: https://truecharts.org/charts/stable/collabora
icon: https://truecharts.org/img/hotlink-ok/chart-icons/collabora.png
keywords:
- office
- document
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: collabora
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/collabora
- https://github.com/CollaboraOnline/online
type: application
version: 1.0.0
annotations:
truecharts.org/catagories: |
- office
truecharts.org/SCALE-support: "true"

View File

View File

@ -0,0 +1,9 @@
## [collabora-1.0.0]collabora-1.0.0 (2023-06-21)
### Feat
- add collabora ([#9794](https://github.com/truecharts/charts/issues/9794))

View File

@ -0,0 +1,8 @@
An awesome, Online Office suite image suitable for home use.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/stable/collabora](https://truecharts.org/charts/stable/collabora)
---
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!

Binary file not shown.

View File

@ -0,0 +1,60 @@
image:
repository: tccr.io/truecharts/collabora
pullPolicy: IfNotPresent
tag: v23.05.0.5.1@sha256:a753bfe9d5479e992e914f5818bc96f33ff95dd3760cb10938ae2296286c416e
collabora:
username: admin
password: changeme
interface: default
dictionaries:
- de_DE
- en_GB
- en_US
- el_GR
- es_ES
- fr_FR
- pt_BR
- pt_PT
- it
- nl
- ru
server_name: example.com
aliasgroup1: https://cloud.example.com
ssl_enable: false
ssl_termination: true
no_gen_ssl: true
extra_params:
- --o:welcome.enable=false
workload:
main:
podSpec:
containers:
main:
envFrom:
- configMapRef:
name: collabora-config
securityContext:
runAsUser: 100
runAsGroup: 102
readOnlyRootFilesystem: false
allowPrivilegeEscalation: true
capabilities:
add:
- CHOWN
- FOWNER
- SYS_CHROOT
- MKNOD
service:
main:
ports:
main:
protocol: http
targetPort: 9980
port: 9980
portal:
open:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}

View File

@ -0,0 +1,46 @@
{{/* Define the configmap */}}
{{- define "collabora.configmap" -}}
{{- if lt (len .Values.collabora.password) 8 -}}
{{- fail "Collabora - [Password] must be at least 8 characters" -}}
{{- end -}}
{{- if contains "$" .Values.collabora.password -}}
{{- fail "Collabora - [Password] cannot contain [$]" -}}
{{- end -}}
{{- $collaboraUIModes := (list "default" "compact" "tabbed") -}}
{{- if not (mustHas .Values.collabora.interface $collaboraUIModes) -}}
{{- fail (printf "Colabora - Expected [Interface Mode] to be one of [%v], but got [%v]" (join "," $collaboraUIModes) .Values.collabora.interface) -}}
{{- end -}}
{{- if not .Values.collabora.dictionaries -}}
{{- fail "Collabora - Expected non-empty [Dictionaries]" -}}
{{- end -}}
{{- $fixedParams := (list "--o:mount_jail_tree=false"
"--o:security.seccomp=true"
"--o:home_mode.enable=true"
"--o:logging.level=warning"
"--o:logging.level_startup=warning"
(printf "--o:user_interface.mode=%v" .Values.collabora.interface)
(printf "--o:ssl.enable=%v" .Values.collabora.ssl_enable)
(printf "--o:ssl.termination=%v" .Values.collabora.ssl_termination) ) -}}
{{- $params := concat $fixedParams .Values.collabora.extra_params -}}
{{- $checkParams := list -}}
{{- range $item := $params -}}
{{- $checkParams = mustAppend $checkParams (regexReplaceAll "--o:(.*)=.*" $item "${1}") -}}
{{- end -}}
{{- if not (deepEqual $checkParams (uniq $checkParams)) -}}
{{- fail (printf "Collabora - [Dictionaries] must be unique, but got [%v]" ((join ", " $params) | replace "--o:" "")) -}}
{{- end }}
collabora-config:
enabled: true
data:
aliasgroup1: {{ join "," .Values.collabora.aliasgroup1 }}
server_name: {{ .Values.collabora.server_name }}
dictionaries: {{ join " " .Values.collabora.dictionaries }}
username: {{ .Values.collabora.username | quote }}
password: {{ .Values.collabora.password | quote }}
DONT_GEN_SSL_CERT: {{ .Values.collabora.no_gen_ssl | quote }}
extra_params: {{ join " " $params }}
{{- end -}}

View File

@ -0,0 +1,10 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . -}}
{{- $configmaps := include "collabora.configmap" . | fromYaml -}}
{{- if $configmaps -}}
{{- $_ := mustMergeOverwrite .Values.configmap $configmaps -}}
{{- end -}}
{{/* Render the templates */}}
{{- include "tc.v1.common.loader.apply" . -}}

View File

View File

@ -0,0 +1,5 @@
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/collabora.png
categories:
- office
screenshots: []