Commit new App releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
8
incubator/sogo/2.0.3/CHANGELOG.md
Normal file
8
incubator/sogo/2.0.3/CHANGELOG.md
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
<a name="sogo-2.0.3"></a>
|
||||
### [sogo-2.0.3](https://github.com/truecharts/apps/compare/sogo-2.0.2...sogo-2.0.3) (2021-09-10)
|
||||
|
||||
#### Refactor
|
||||
|
||||
* change image layout to enable renovate updates of sidecarts ([#955](https://github.com/truecharts/apps/issues/955))
|
||||
|
||||
8
incubator/sogo/2.0.3/CONFIG.md
Normal file
8
incubator/sogo/2.0.3/CONFIG.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Configuration Options
|
||||
|
||||
##### Connecting to other apps
|
||||
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide:
|
||||
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
|
||||
|
||||
##### Available config options
|
||||
In the future this page is going to contain an automated list of options available in the installation/edit UI.
|
||||
12
incubator/sogo/2.0.3/Chart.lock
Normal file
12
incubator/sogo/2.0.3/Chart.lock
Normal file
@@ -0,0 +1,12 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org/
|
||||
version: 7.0.1
|
||||
- name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 1.6.6
|
||||
- name: memcached
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 5.14.2
|
||||
digest: sha256:660881c93f1ef3e613c50b6fe9bef0fcef2172d2f0858a230c7fb0a904536127
|
||||
generated: "2021-09-10T14:58:09.243247825Z"
|
||||
30
incubator/sogo/2.0.3/Chart.yaml
Normal file
30
incubator/sogo/2.0.3/Chart.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
apiVersion: v2
|
||||
appVersion: 5.2.0
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org/
|
||||
version: 7.0.1
|
||||
- condition: postgresql.enabled
|
||||
name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 1.6.6
|
||||
- condition: memcached.enabled
|
||||
name: memcached
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 5.14.2
|
||||
deprecated: false
|
||||
description: Groupware package
|
||||
home: https://github.com/truecharts/apps/tree/master/charts/stable/sogo
|
||||
icon: https://truecharts.org/_static/img/sogo-icon.png
|
||||
keywords:
|
||||
- groupware
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
maintainers:
|
||||
- email: info@truecharts.org
|
||||
name: TrueCharts
|
||||
url: truecharts.org
|
||||
name: sogo
|
||||
sources:
|
||||
- https://www.sogo.nu/
|
||||
type: application
|
||||
version: 2.0.3
|
||||
39
incubator/sogo/2.0.3/README.md
Normal file
39
incubator/sogo/2.0.3/README.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# Introduction
|
||||
|
||||
Groupware package
|
||||
|
||||
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://www.sogo.nu/>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.16.0-0`
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://charts.bitnami.com/bitnami | memcached | 5.14.2 |
|
||||
| https://truecharts.org/ | common | 7.0.1 |
|
||||
| https://truecharts.org/ | postgresql | 1.6.6 |
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
|
||||
|
||||
## Support
|
||||
|
||||
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first.
|
||||
- See the [Wiki](https://truecharts.org)
|
||||
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
|
||||
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
|
||||
---
|
||||
All Rights Reserved - The TrueCharts Project
|
||||
3
incubator/sogo/2.0.3/app-readme.md
Normal file
3
incubator/sogo/2.0.3/app-readme.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Groupware package
|
||||
|
||||
This App is supplied by TrueCharts, for more information please visit https://truecharts.org
|
||||
BIN
incubator/sogo/2.0.3/charts/common-7.0.1.tgz
Normal file
BIN
incubator/sogo/2.0.3/charts/common-7.0.1.tgz
Normal file
Binary file not shown.
BIN
incubator/sogo/2.0.3/charts/memcached-5.14.2.tgz
Normal file
BIN
incubator/sogo/2.0.3/charts/memcached-5.14.2.tgz
Normal file
Binary file not shown.
BIN
incubator/sogo/2.0.3/charts/postgresql-1.6.6.tgz
Normal file
BIN
incubator/sogo/2.0.3/charts/postgresql-1.6.6.tgz
Normal file
Binary file not shown.
36
incubator/sogo/2.0.3/helm-values.md
Normal file
36
incubator/sogo/2.0.3/helm-values.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# Default Helm-Values
|
||||
|
||||
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
|
||||
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
|
||||
|
||||
Most of our Apps also consume our "common" Helm Chart.
|
||||
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
|
||||
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
|
||||
|
||||
## Values
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"ghcr.io/truecharts/sogo"` | |
|
||||
| image.tag | string | `"v5.2.0"` | |
|
||||
| initContainers | object | `{"init-postgresdb":{"command":["sh","-c","until pg_isready -U sogo -h ${pghost} ; do sleep 2 ; done"],"env":[{"name":"pghost","valueFrom":{"secretKeyRef":{"key":"plainhost","name":"dbcreds"}}}],"image":"{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}","imagePullPolicy":"IfNotPresent"}}` | initcontainers |
|
||||
| initContainers.init-postgresdb | object | `{"command":["sh","-c","until pg_isready -U sogo -h ${pghost} ; do sleep 2 ; done"],"env":[{"name":"pghost","valueFrom":{"secretKeyRef":{"key":"plainhost","name":"dbcreds"}}}],"image":"{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}","imagePullPolicy":"IfNotPresent"}` | wait for database before starting sogo |
|
||||
| memcached | object | `{"enabled":true}` | memcached dependency settings |
|
||||
| persistence | object | `{"data":{"accessMode":"ReadWriteOnce","enabled":true,"mountPath":"/data/conf/sogo/","size":"100Gi","type":"pvc"},"drafts":{"accessMode":"ReadWriteOnce","enabled":true,"mountPath":"/var/spool/sogo","size":"100Gi","type":"pvc"},"mimetmp":{"enabled":true,"mountPath":"/mimetmp","type":"emptyDir"}}` | persistence settings |
|
||||
| postgresql | object | `{"enabled":true,"existingSecret":"dbcreds","postgresqlDatabase":"sogo","postgresqlUsername":"sogo"}` | postgres dependency settings |
|
||||
| postgresqlImage.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| postgresqlImage.repository | string | `"postgres"` | |
|
||||
| postgresqlImage.tag | string | `"13.4-alpine"` | |
|
||||
| service | object | `{"main":{"ports":{"main":{"port":80}}}}` | services |
|
||||
| sogo | object | `{"auth":{"SOGoPasswordChangeEnabled":true},"custom":[],"debug":{"ImapDebugEnabled":false,"LDAPDebugEnabled":false,"MySQL4DebugEnabled":false,"PGDebugEnabled":false,"SOGoDebugRequests":false,"SOGoUIxDebugEnabled":false,"SoDebugBaseURL":false,"WODontZipResponse":false,"WOLogFile":"/var/log/sogo/sogo.log"},"general":{"SOGoLanguage":"English","SOGoSuperUsernames":"","SxVMemLimit":"384"},"mail":{"NGMimeBuildMimeTempDirectory":"/mimetmp","SOGoDraftsFolderName":"Drafts","SOGoForceExternalLoginWithEmail":false,"SOGoIMAPServer":"localhost","SOGoMailDomain":"example.com","SOGoMailSpoolPath":"/var/spool/sogo","SOGoMailingMechanism":"smtp","SOGoSMTPServer":"smtp://domain:port","SOGoSentFolderName":"Sent","SOGoSieveServer":"","SOGoTrashFolderName":"Trash"},"notifications":{"SOGoACLsSendEMailNotifications":false,"SOGoAppointmentSendEMailNotifications":false,"SOGoFoldersSendEMailNotifications":false},"usersources":[],"webui":{"SOGoForwardEnabled":true,"SOGoMailAuxiliaryUserAccountsEnabled":true,"SOGoPageTitle":"SOGo","SOGoSieveScriptsEnabled":true,"SOGoTrustProxyAuthentication":false,"SOGoVacationEnabled":true,"SOGoXSRFValidationEnabled":true}}` | Sogo settings |
|
||||
| sogo.auth | object | `{"SOGoPasswordChangeEnabled":true}` | Pre-configured Sogo authentication settings |
|
||||
| sogo.custom | list | `[]` | custom Sogo setting arguments |
|
||||
| sogo.debug | object | `{"ImapDebugEnabled":false,"LDAPDebugEnabled":false,"MySQL4DebugEnabled":false,"PGDebugEnabled":false,"SOGoDebugRequests":false,"SOGoUIxDebugEnabled":false,"SoDebugBaseURL":false,"WODontZipResponse":false,"WOLogFile":"/var/log/sogo/sogo.log"}` | Pre-configured Sogo debug settings |
|
||||
| sogo.general | object | `{"SOGoLanguage":"English","SOGoSuperUsernames":"","SxVMemLimit":"384"}` | Pre-configured general Sogo settings |
|
||||
| sogo.mail | object | `{"NGMimeBuildMimeTempDirectory":"/mimetmp","SOGoDraftsFolderName":"Drafts","SOGoForceExternalLoginWithEmail":false,"SOGoIMAPServer":"localhost","SOGoMailDomain":"example.com","SOGoMailSpoolPath":"/var/spool/sogo","SOGoMailingMechanism":"smtp","SOGoSMTPServer":"smtp://domain:port","SOGoSentFolderName":"Sent","SOGoSieveServer":"","SOGoTrashFolderName":"Trash"}` | Pre-configured Sogo mail settings |
|
||||
| sogo.notifications | object | `{"SOGoACLsSendEMailNotifications":false,"SOGoAppointmentSendEMailNotifications":false,"SOGoFoldersSendEMailNotifications":false}` | Pre-configured Sogo notifications settings |
|
||||
| sogo.usersources | list | `[]` | Sogo usersources |
|
||||
| sogo.webui | object | `{"SOGoForwardEnabled":true,"SOGoMailAuxiliaryUserAccountsEnabled":true,"SOGoPageTitle":"SOGo","SOGoSieveScriptsEnabled":true,"SOGoTrustProxyAuthentication":false,"SOGoVacationEnabled":true,"SOGoXSRFValidationEnabled":true}` | Pre-configured Sogo webui settings |
|
||||
|
||||
All Rights Reserved - The TrueCharts Project
|
||||
47
incubator/sogo/2.0.3/ix_values.yaml
Normal file
47
incubator/sogo/2.0.3/ix_values.yaml
Normal file
@@ -0,0 +1,47 @@
|
||||
##
|
||||
# This file contains Values.yaml content that gets added to the output of questions.yaml
|
||||
# It's ONLY meant for content that the user is NOT expected to change.
|
||||
# Example: Everything under "image" is not included in questions.yaml but is included here.
|
||||
##
|
||||
image:
|
||||
repository: ghcr.io/truecharts/sogo
|
||||
pullPolicy: IfNotPresent
|
||||
tag: v5.2.0
|
||||
|
||||
postgresqlImage:
|
||||
repository: postgres
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 13.4-alpine
|
||||
|
||||
initContainers:
|
||||
- name: init-postgresdb
|
||||
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||
command:
|
||||
- "sh"
|
||||
- "-c"
|
||||
- "until pg_isready -U sogo -h ${pghost} ; do sleep 2 ; done"
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: pghost
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: plainhost
|
||||
|
||||
|
||||
# Enabled postgres
|
||||
postgresql:
|
||||
enabled: true
|
||||
postgresqlUsername: sogo
|
||||
postgresqlDatabase: sogo
|
||||
existingSecret: dbcreds
|
||||
|
||||
# -- memcached dependency settings
|
||||
memcached:
|
||||
enabled: true
|
||||
|
||||
|
||||
##
|
||||
# Most other defaults are set in questions.yaml
|
||||
# For other options please refer to the wiki, default_values.yaml or the common library chart
|
||||
##
|
||||
1557
incubator/sogo/2.0.3/questions.yaml
Normal file
1557
incubator/sogo/2.0.3/questions.yaml
Normal file
File diff suppressed because it is too large
Load Diff
154
incubator/sogo/2.0.3/templates/_config.tpl
Normal file
154
incubator/sogo/2.0.3/templates/_config.tpl
Normal file
@@ -0,0 +1,154 @@
|
||||
{{/* Define the configmap */}}
|
||||
{{- define "sogo.config" -}}
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
name: dbcreds
|
||||
{{- $dbprevious := lookup "v1" "Secret" .Release.Namespace "dbcreds" }}
|
||||
{{- $dbPass := "" }}
|
||||
data:
|
||||
{{- if $dbprevious }}
|
||||
{{- $dbPass = ( index $dbprevious.data "postgresql-password" ) | b64dec }}
|
||||
postgresql-password: {{ ( index $dbprevious.data "postgresql-password" ) }}
|
||||
postgresql-postgres-password: {{ ( index $dbprevious.data "postgresql-postgres-password" ) }}
|
||||
{{- else }}
|
||||
{{- $dbPass = randAlphaNum 50 }}
|
||||
postgresql-password: {{ $dbPass | b64enc | quote }}
|
||||
postgresql-postgres-password: {{ randAlphaNum 50 | b64enc | quote }}
|
||||
{{- end }}
|
||||
{{- $url := printf "%v%v:%v@%v-%v:%v/%v" "postgresql://" .Values.postgresql.postgresqlUsername $dbPass .Release.Name "postgresql" "5432" .Values.postgresql.postgresqlDatabase }}
|
||||
url: {{ $url | b64enc | quote }}
|
||||
plainhost: {{ ( printf "%v-%v" .Release.Name "postgresql" ) | b64enc | quote }}
|
||||
type: Opaque
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: sogo-config
|
||||
data:
|
||||
sogo.conf: |
|
||||
{
|
||||
/* ********************* Main SOGo configuration file **********************
|
||||
* *
|
||||
* Since the content of this file is a dictionary in OpenStep plist format, *
|
||||
* the curly braces enclosing the body of the configuration are mandatory. *
|
||||
* See the Installation Guide for details on the format. *
|
||||
* *
|
||||
* C and C++ style comments are supported. *
|
||||
* *
|
||||
* This example configuration contains only a subset of all available *
|
||||
* configuration parameters. Please see the installation guide more details. *
|
||||
* *
|
||||
* ~sogo/GNUstep/Defaults/.GNUstepDefaults has precedence over this file, *
|
||||
* make sure to move it away to avoid unwanted parameter overrides. *
|
||||
* *
|
||||
* **************************************************************************/
|
||||
|
||||
/* Database configuration (mysql:// or postgresql://) */
|
||||
SOGoProfileURL = "{{ $url }}/sogo_user_profile";
|
||||
OCSFolderInfoURL = "{{ $url }}/sogo_folder_info";
|
||||
OCSSessionsFolderURL = "{{ $url }}/sogo_sessions_folder";
|
||||
|
||||
/* Mail */
|
||||
SOGoDraftsFolderName = {{ .Values.sogo.mail.SOGoDraftsFolderName | default "Drafts" }};
|
||||
SOGoSentFolderName = {{ .Values.sogo.mail.SOGoSentFolderName | default "Sent" }};
|
||||
SOGoTrashFolderName = {{ .Values.sogo.mail.SOGoTrashFolderName | default "Trash" }};
|
||||
SOGoIMAPServer = {{ .Values.sogo.mail.SOGoIMAPServer | default "localhost" }};
|
||||
{{- if .Values.sogo.mail.SOGoSieveServer}}
|
||||
SOGoSieveServer = {{ .Values.sogo.mail.SOGoSieveServer | default "sieve://127.0.0.1:4190" }};
|
||||
{{- end }}
|
||||
SOGoMailDomain = {{ .Values.sogo.mail.SOGoMailDomain | default "acme.com" }};
|
||||
SOGoMailingMechanism = {{ .Values.sogo.mail.SOGoMailingMechanism | default "smtp" }};
|
||||
{{- if eq .Values.sogo.mail.SOGoMailingMechanism "smtp" }}
|
||||
SOGoSMTPServer = {{ .Values.sogo.mail.SOGoSMTPServer | default "smtp://domain:port/?tls=YES" }};
|
||||
{{- end }}
|
||||
SOGoForceExternalLoginWithEmail = {{ if .Values.sogo.mail.SOGoForceExternalLoginWithEmail }}"YES"{{ else }}"NO"{{ end }};
|
||||
SOGoMailSpoolPath = {{ ( .Values.sogo.mail.SOGoMailSpoolPath | default "/var/spool/sogo") | quote }};
|
||||
NGMimeBuildMimeTempDirectory = {{ ( .Values.sogo.mail.NGMimeBuildMimeTempDirectory | default "/mimetmp") | quote }};
|
||||
|
||||
/* Notifications */
|
||||
SOGoAppointmentSendEMailNotifications = {{ if .Values.sogo.notifications.SOGoAppointmentSendEMailNotifications }}"YES"{{ else }}"NO"{{ end }};
|
||||
SOGoACLsSendEMailNotifications = {{ if .Values.sogo.notifications.SOGoACLsSendEMailNotifications }}"YES"{{ else }}"NO"{{ end }};
|
||||
SOGoFoldersSendEMailNotifications = {{ if .Values.sogo.notifications.SOGoFoldersSendEMailNotifications }}"YES"{{ else }}"NO"{{ end }};
|
||||
|
||||
/* Authentication */
|
||||
SOGoPasswordChangeEnabled = {{ if .Values.sogo.auth.SOGoPasswordChangeEnabled }}"YES"{{ else }}"NO"{{ end }};
|
||||
|
||||
/* User Sources */
|
||||
{{- if .Values.sogo.usersources }}
|
||||
SOGoUserSources = (
|
||||
{{- range $index, $value := .Values.sogo.usersources }}
|
||||
{
|
||||
type = {{ $value.type | default "LDAP" }};
|
||||
{{- if eq $value.type "LDAP" }}
|
||||
CNFieldName = {{ $value.CNFieldName | default "cn" }};
|
||||
UIDFieldName = {{ $value.UIDFieldName | default "uid" }};
|
||||
IDFieldName = {{ $value.IDFieldName | default "uid" }}; // first field of the DN for direct binds
|
||||
bindFields = {{ $value.bindFields | default "(uid, mail)" }}; // array of fields to use for indirect binds
|
||||
baseDN = {{ ( $value.baseDN | default "ou=users,dc=acme,dc=com" ) | quote }};
|
||||
bindDN = {{ ( $value.bindDN | default "uid=sogo,ou=users,dc=acme,dc=com" ) | quote }};
|
||||
bindPassword = {{ $value.bindPassword | default "qwerty" }};
|
||||
canAuthenticate = {{ if $value.canAuthenticate }}"YES"{{ else }}"NO"{{ end }};
|
||||
displayName = {{ ( $value.displayName | default "Shared Addresses" ) | quote }};
|
||||
hostname = {{ $value.hostname | default "ldap://127.0.0.1:389" }};
|
||||
id = {{ $value.id | default "public" }};
|
||||
isAddressBook = {{ if $value.isAddressBook }}"YES"{{ else }}"NO"{{ end }};
|
||||
{{- else if eq $value.type "SQL" }}
|
||||
id = {{ $value.sql.id | default "directory" }};
|
||||
viewURL = {{ ( $value.sql.viewURL | default "postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_view" ) | quote }};
|
||||
canAuthenticate = {{ if $value.sql.canAuthenticate }}"YES"{{ else }}"NO"{{ end }};
|
||||
isAddressBook = {{ if $value.sql.isAddressBook }}"YES"{{ else }}"NO"{{ end }};
|
||||
userPasswordAlgorithm = {{ $value.sql.userPasswordAlgorithm | default "md5" }};
|
||||
{{- end }}
|
||||
{{- range $value.custom }}
|
||||
{{ .name }} = {{ .value }};
|
||||
{{- end }}
|
||||
{{- if $index }}
|
||||
}
|
||||
{{- else }}
|
||||
},
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
);
|
||||
{{- end }}
|
||||
|
||||
/* Web Interface */
|
||||
SOGoPageTitle = {{ .Values.sogo.webui.SOGoPageTitle | default "SOGo" }};
|
||||
SOGoVacationEnabled = {{ if .Values.sogo.webui.SOGoVacationEnabled }}"YES"{{ else }}"NO"{{ end }};
|
||||
SOGoForwardEnabled = {{ if .Values.sogo.webui.SOGoForwardEnabled }}"YES"{{ else }}"NO"{{ end }};
|
||||
SOGoSieveScriptsEnabled = {{ if .Values.sogo.webui.SOGoSieveScriptsEnabled }}"YES"{{ else }}"NO"{{ end }};
|
||||
SOGoMailAuxiliaryUserAccountsEnabled = {{ if .Values.sogo.webui.SOGoMailAuxiliaryUserAccountsEnabled }}"YES"{{ else }}"NO"{{ end }};
|
||||
SOGoTrustProxyAuthentication = {{ if .Values.sogo.webui.SOGoTrustProxyAuthentication }}"YES"{{ else }}"NO"{{ end }};
|
||||
SOGoXSRFValidationEnabled = {{ if .Values.sogo.webui.SOGoXSRFValidationEnabled }}"YES"{{ else }}"NO"{{ end }};
|
||||
|
||||
/* General - SOGoTimeZone *MUST* be defined */
|
||||
SOGoLanguage = {{ .Values.sogo.general.SOGoLanguage | default "English" }};
|
||||
SOGoTimeZone = {{ .Values.env.TZ | default "America/Montreal" }};
|
||||
SOGoSuperUsernames = ({{ .Values.sogo.general.SOGoSuperUsernames | default "" }}); // This is an array - keep the parens!
|
||||
SxVMemLimit = {{ .Values.sogo.general.SxVMemLimit | default "384" }};
|
||||
SOGoMemcachedHost = {{ ( printf "%v-%v" .Release.Name "memcached" ) | quote }};
|
||||
|
||||
/* Debug */
|
||||
SOGoDebugRequests = {{ if .Values.sogo.debug.SOGoDebugRequests }}"YES"{{ else }}"NO"{{ end }};
|
||||
SoDebugBaseURL = {{ if .Values.sogo.debug.SoDebugBaseURL }}"YES"{{ else }}"NO"{{ end }};
|
||||
ImapDebugEnabled = {{ if .Values.sogo.debug.ImapDebugEnabled }}"YES"{{ else }}"NO"{{ end }};
|
||||
LDAPDebugEnabled = {{ if .Values.sogo.debug.LDAPDebugEnabled }}"YES"{{ else }}"NO"{{ end }};
|
||||
PGDebugEnabled = {{ if .Values.sogo.debug.PGDebugEnabled }}"YES"{{ else }}"NO"{{ end }};
|
||||
MySQL4DebugEnabled = {{ if .Values.sogo.debug.MySQL4DebugEnabled }}"YES"{{ else }}"NO"{{ end }};
|
||||
SOGoUIxDebugEnabled = {{ if .Values.sogo.debug.SOGoUIxDebugEnabled }}"YES"{{ else }}"NO"{{ end }};
|
||||
WODontZipResponse = {{ if .Values.sogo.debug.WODontZipResponse }}"YES"{{ else }}"NO"{{ end }};
|
||||
WOLogFile = {{ ( .Values.sogo.debug.WOLogFile | default "/var/log/sogo/sogo.log" ) | quote }};
|
||||
}
|
||||
|
||||
/* Custom Arguments added by user */
|
||||
{{- range .Values.sogo.custom }}
|
||||
{{ .name }} = {{ .value }};
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
26
incubator/sogo/2.0.3/templates/common.yaml
Normal file
26
incubator/sogo/2.0.3/templates/common.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Render config and secrets for sogo */}}
|
||||
{{- include "sogo.config" . }}
|
||||
|
||||
{{/* Append the general configMap volume to the volumes */}}
|
||||
{{- define "sogo.configmapVolume" -}}
|
||||
enabled: "true"
|
||||
mountPath: "/etc/sogo/sogo.conf"
|
||||
readOnly: true
|
||||
subPath: sogo.conf
|
||||
type: "custom"
|
||||
volumeSpec:
|
||||
configMap:
|
||||
name: sogo-config
|
||||
items:
|
||||
- key: sogo.conf
|
||||
path: sogo.conf
|
||||
{{- end -}}
|
||||
|
||||
{{- $_ := set .Values.persistence "sogo-config" (include "sogo.configmapVolume" . | fromYaml) -}}
|
||||
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
147
incubator/sogo/2.0.3/test_values.yaml
Normal file
147
incubator/sogo/2.0.3/test_values.yaml
Normal file
@@ -0,0 +1,147 @@
|
||||
# Default values for Bitwarden.
|
||||
image:
|
||||
repository: ghcr.io/truecharts/sogo
|
||||
pullPolicy: IfNotPresent
|
||||
tag: v5.2.0
|
||||
|
||||
postgresqlImage:
|
||||
repository: postgres
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 13.4-alpine
|
||||
|
||||
# -- services
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
main:
|
||||
port: 80
|
||||
|
||||
# -- initcontainers
|
||||
initContainers:
|
||||
# -- wait for database before starting sogo
|
||||
init-postgresdb:
|
||||
image: "{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}"
|
||||
command:
|
||||
- "sh"
|
||||
- "-c"
|
||||
- "until pg_isready -U sogo -h ${pghost} ; do sleep 2 ; done"
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: pghost
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: plainhost
|
||||
|
||||
# -- persistence settings
|
||||
persistence:
|
||||
data:
|
||||
enabled: true
|
||||
mountPath: "/data/conf/sogo/"
|
||||
type: pvc
|
||||
accessMode: ReadWriteOnce
|
||||
size: "100Gi"
|
||||
drafts:
|
||||
enabled: true
|
||||
mountPath: "/var/spool/sogo"
|
||||
type: pvc
|
||||
accessMode: ReadWriteOnce
|
||||
size: "100Gi"
|
||||
mimetmp:
|
||||
enabled: true
|
||||
mountPath: "/mimetmp"
|
||||
type: emptyDir
|
||||
|
||||
|
||||
# -- postgres dependency settings
|
||||
postgresql:
|
||||
enabled: true
|
||||
postgresqlUsername: sogo
|
||||
postgresqlDatabase: sogo
|
||||
existingSecret: dbcreds
|
||||
|
||||
# -- memcached dependency settings
|
||||
memcached:
|
||||
enabled: true
|
||||
|
||||
# -- Sogo settings
|
||||
sogo:
|
||||
# -- Pre-configured Sogo mail settings
|
||||
mail:
|
||||
SOGoDraftsFolderName: "Drafts"
|
||||
SOGoSentFolderName: "Sent"
|
||||
SOGoTrashFolderName: "Trash"
|
||||
SOGoIMAPServer: "localhost"
|
||||
SOGoSieveServer: ""
|
||||
SOGoMailDomain: "example.com"
|
||||
SOGoMailingMechanism: "smtp"
|
||||
SOGoSMTPServer: "smtp://domain:port"
|
||||
SOGoForceExternalLoginWithEmail: false
|
||||
SOGoMailSpoolPath: "/var/spool/sogo"
|
||||
NGMimeBuildMimeTempDirectory: "/mimetmp"
|
||||
# -- Pre-configured Sogo notifications settings
|
||||
notifications:
|
||||
SOGoAppointmentSendEMailNotifications: false
|
||||
SOGoACLsSendEMailNotifications: false
|
||||
SOGoFoldersSendEMailNotifications: false
|
||||
# -- Pre-configured general Sogo settings
|
||||
general:
|
||||
SOGoLanguage: "English"
|
||||
SOGoSuperUsernames: ""
|
||||
SxVMemLimit: "384"
|
||||
# -- Pre-configured Sogo authentication settings
|
||||
auth:
|
||||
SOGoPasswordChangeEnabled: true
|
||||
# -- Sogo usersources
|
||||
usersources: []
|
||||
# - type: "ldap"
|
||||
# CNFieldName: "cn"
|
||||
# UIDFieldName: "uid"
|
||||
# IDFieldName: "uid"
|
||||
# bindFields: "(uid, mail)"
|
||||
# baseDN: "ou=users,dc=acme,dc=com"
|
||||
# bindDN: "uid=sogo,ou=users,dc=acme,dc=com"
|
||||
# bindPassword: "qwerty"
|
||||
# canAuthenticate: true
|
||||
# displayName: "Shared Addresses"
|
||||
# hostname: "ldap://127.0.0.1:389"
|
||||
# id: "public"
|
||||
# isAddressBook: true
|
||||
# custom:
|
||||
# - name: name-of-ldap-setting
|
||||
# value: somevalue
|
||||
#
|
||||
# - type: "sql"
|
||||
# id: "directory"
|
||||
# viewURL: "postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_view"
|
||||
# canAuthenticate: true
|
||||
# isAddressBook: true
|
||||
# userPasswordAlgorithm: "md5"
|
||||
# custom:
|
||||
# - name: name-of-sql-setting
|
||||
# value: somevalue
|
||||
|
||||
# -- Pre-configured Sogo debug settings
|
||||
debug:
|
||||
SOGoDebugRequests: false
|
||||
SoDebugBaseURL: false
|
||||
LDAPDebugEnabled: false
|
||||
ImapDebugEnabled: false
|
||||
PGDebugEnabled: false
|
||||
MySQL4DebugEnabled: false
|
||||
SOGoUIxDebugEnabled: false
|
||||
WODontZipResponse: false
|
||||
WOLogFile: "/var/log/sogo/sogo.log"
|
||||
# -- Pre-configured Sogo webui settings
|
||||
webui:
|
||||
SOGoPageTitle: "SOGo"
|
||||
SOGoVacationEnabled: true
|
||||
SOGoForwardEnabled: true
|
||||
SOGoSieveScriptsEnabled: true
|
||||
SOGoMailAuxiliaryUserAccountsEnabled: true
|
||||
SOGoTrustProxyAuthentication: false
|
||||
SOGoXSRFValidationEnabled: true
|
||||
# -- custom Sogo setting arguments
|
||||
custom: []
|
||||
# - name: SOGoPageTitle
|
||||
# value: "somevalue"
|
||||
0
incubator/sogo/2.0.3/values.yaml
Normal file
0
incubator/sogo/2.0.3/values.yaml
Normal file
Reference in New Issue
Block a user