(chore) remove sogo

This commit is contained in:
kjeld Schouten-Lebbing 2021-10-10 13:14:51 +02:00
parent 4a9e5a50bf
commit 0c326bae02
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
15 changed files with 0 additions and 1725 deletions

View File

@ -1,24 +0,0 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS

View File

@ -1,207 +0,0 @@
# Changelog<br>
<a name="sogo-4.0.13"></a>
### [sogo-4.0.13](https://github.com/truecharts/apps/compare/sogo-4.0.12...sogo-4.0.13) (2021-10-09)
<a name="sogo-4.0.12"></a>
### [sogo-4.0.12](https://github.com/truecharts/apps/compare/sogo-4.0.11...sogo-4.0.12) (2021-10-05)
#### Chore
* update non-major deps helm releases ([#1099](https://github.com/truecharts/apps/issues/1099))
<a name="sogo-4.0.11"></a>
### [sogo-4.0.11](https://github.com/truecharts/apps/compare/sogo-4.0.10...sogo-4.0.11) (2021-10-05)
#### Chore
* update non-major ([#1098](https://github.com/truecharts/apps/issues/1098))
<a name="sogo-4.0.10"></a>
### [sogo-4.0.10](https://github.com/truecharts/apps/compare/sogo-4.0.9...sogo-4.0.10) (2021-09-29)
#### Chore
* update helm chart common to v8.0.13 ([#1060](https://github.com/truecharts/apps/issues/1060))
<a name="sogo-4.0.8"></a>
### [sogo-4.0.8](https://github.com/truecharts/apps/compare/sogo-4.0.7...sogo-4.0.8) (2021-09-29)
#### Chore
* update bitnami/postgresql:13.4.0 docker digest to 33c276d ([#1055](https://github.com/truecharts/apps/issues/1055))
<a name="sogo-4.0.7"></a>
### [sogo-4.0.7](https://github.com/truecharts/apps/compare/sogo-4.0.6...sogo-4.0.7) (2021-09-28)
#### Chore
* update helm chart postgresql to v3.0.3 ([#1050](https://github.com/truecharts/apps/issues/1050))
<a name="sogo-4.0.6"></a>
### [sogo-4.0.6](https://github.com/truecharts/apps/compare/sogo-4.0.5...sogo-4.0.6) (2021-09-28)
#### Chore
* update helm chart postgresql to v3.0.2 ([#1049](https://github.com/truecharts/apps/issues/1049))
<a name="sogo-4.0.5"></a>
### [sogo-4.0.5](https://github.com/truecharts/apps/compare/sogo-4.0.4...sogo-4.0.5) (2021-09-28)
#### Chore
* update non-major ([#1048](https://github.com/truecharts/apps/issues/1048))
<a name="sogo-4.0.4"></a>
### [sogo-4.0.4](https://github.com/truecharts/apps/compare/sogo-4.0.3...sogo-4.0.4) (2021-09-28)
#### Chore
* update non-major ([#1046](https://github.com/truecharts/apps/issues/1046))
<a name="sogo-4.0.3"></a>
### [sogo-4.0.3](https://github.com/truecharts/apps/compare/sogo-4.0.2...sogo-4.0.3) (2021-09-27)
#### Chore
* update helm chart postgresql to v3 ([#1041](https://github.com/truecharts/apps/issues/1041))
<a name="sogo-4.0.2"></a>
### [sogo-4.0.2](https://github.com/truecharts/apps/compare/sogo-4.0.0...sogo-4.0.2) (2021-09-26)
#### Chore
* update non-major deps helm releases ([#1040](https://github.com/truecharts/apps/issues/1040))
<a name="sogo-4.0.0"></a>
### [sogo-4.0.0](https://github.com/truecharts/apps/compare/sogo-3.0.6...sogo-4.0.0) (2021-09-26)
<a name="sogo-3.0.6"></a>
### [sogo-3.0.6](https://github.com/truecharts/apps/compare/sogo-3.0.5...sogo-3.0.6) (2021-09-21)
#### Chore
* update helm chart postgresql to v2.2.5 ([#1017](https://github.com/truecharts/apps/issues/1017))
<a name="sogo-3.0.5"></a>
### [sogo-3.0.5](https://github.com/truecharts/apps/compare/sogo-3.0.4...sogo-3.0.5) (2021-09-21)
#### Chore
* update non-major deps helm releases ([#1014](https://github.com/truecharts/apps/issues/1014))
<a name="sogo-3.0.4"></a>
### [sogo-3.0.4](https://github.com/truecharts/apps/compare/sogo-3.0.3...sogo-3.0.4) (2021-09-21)
#### Chore
* update non-major ([#1015](https://github.com/truecharts/apps/issues/1015))
<a name="sogo-3.0.3"></a>
### [sogo-3.0.3](https://github.com/truecharts/apps/compare/sogo-3.0.2...sogo-3.0.3) (2021-09-21)
#### Chore
* update non-major ([#1013](https://github.com/truecharts/apps/issues/1013))
<a name="sogo-3.0.2"></a>
### [sogo-3.0.2](https://github.com/truecharts/apps/compare/sogo-3.0.1...sogo-3.0.2) (2021-09-14)
#### Chore
* update non-major ([#987](https://github.com/truecharts/apps/issues/987))
<a name="sogo-3.0.1"></a>
### [sogo-3.0.1](https://github.com/truecharts/apps/compare/sogo-2.0.3...sogo-3.0.1) (2021-09-13)
#### Chore
* Use bitnami instead of stock postgresql container ([#960](https://github.com/truecharts/apps/issues/960))
* update non-major
* update non-major ([#962](https://github.com/truecharts/apps/issues/962))
#### Feat
* add new GUI and VPN support to all Apps ([#977](https://github.com/truecharts/apps/issues/977))
* Add VPN addon and move some config to includes ([#973](https://github.com/truecharts/apps/issues/973))
* pin all container references to digests ([#963](https://github.com/truecharts/apps/issues/963))
* Move some common containers to our own containers
<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))
<a name="sogo-2.0.2"></a>
### [sogo-2.0.2](https://github.com/truecharts/apps/compare/sogo-2.0.1...sogo-2.0.2) (2021-09-10)
#### Fix
* update common to ensure initcontainer can always be run as root
<a name="sogo-2.0.1"></a>
### [sogo-2.0.1](https://github.com/truecharts/apps/compare/sogo-2.0.0...sogo-2.0.1) (2021-09-10)
#### Fix
* move runAsNonRoot to container securityContext to allow root sidecarts ([#954](https://github.com/truecharts/apps/issues/954))
<a name="sogo-2.0.0"></a>
### [sogo-2.0.0](https://github.com/truecharts/apps/compare/sogo-1.0.4...sogo-2.0.0) (2021-09-09)
#### Chore
* update Apps containing initcontainers -not breaking on SCALE- ([#952](https://github.com/truecharts/apps/issues/952))
#### Feat
* Add regex validation to resources CPU and RAM for all apps ([#935](https://github.com/truecharts/apps/issues/935))
* Pre-commit and tag-appversion syncing ([#926](https://github.com/truecharts/apps/issues/926))
<a name="sogo-1.0.4"></a>
## [sogo-1.0.4](https://github.com/truecharts/apps/compare/sogo-1.0.3...sogo-1.0.4) (2021-09-08)

View File

@ -1,8 +0,0 @@
# 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.

View File

@ -1,30 +0,0 @@
apiVersion: v2
appVersion: "5.2.0"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.3.4
- condition: postgresql.enabled
name: postgresql
repository: https://truecharts.org/
version: 3.0.12
- condition: memcached.enabled
name: memcached
repository: https://charts.bitnami.com/bitnami
version: 5.15.4
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: 4.0.13

View File

@ -1,39 +0,0 @@
# 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.15.4 |
| https://truecharts.org/ | postgresql | 3.0.12 |
| https://truecharts.org | common | 8.3.4 |
## 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

View File

@ -1,7 +0,0 @@
<a name="sogo-4.0.10"></a>
### [sogo-4.0.10](https://github.com/truecharts/apps/compare/sogo-4.0.9...sogo-4.0.10) (2021-09-29)
#### Chore
* update helm chart common to v8.0.13 ([#1060](https://github.com/truecharts/apps/issues/1060))

View File

@ -1,3 +0,0 @@
categories:
- groupware
icon_url: https://truecharts.org/_static/img/sogo-icon.png

View File

@ -1,51 +0,0 @@
##
# 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@sha256:8fc7bb87b77d76d929bcd36403d4f27878fa3e99f5448fb05ed64829078665a4
initContainers:
migrate-db:
image: "{{ .Values.alpineImage.repository}}:{{ .Values.alpineImage.tag }}"
securityContext:
runAsUser: 0
privileged: true
allowPrivilegeEscalation: true
runAsNonRoot: false
command:
- /bin/sh
- -cx
- |
echo 'trying to migrate old db to new location...'
mkdir -p /bitnami/postgresql/data
mv -f /bitnami/postgresql/old/* /bitnami/postgresql/data/ || true
chown -R {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} /bitnami/postgresql/data
chmod 775 /bitnami/postgresql/data
imagePullPolicy: IfNotPresent
volumeMounts:
- name: db
mountPath: /bitnami/postgresql/old
- name: data
mountPath: /bitnami/postgresql
# Enabled postgres
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: sogo
postgresqlDatabase: sogo
# -- 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
##

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
<a name="sogo-4.0.13"></a>
### [sogo-4.0.13](https://github.com/truecharts/apps/compare/sogo-4.0.12...sogo-4.0.13) (2021-10-09)

View File

@ -1,3 +0,0 @@
Groupware package
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

View File

@ -1,35 +0,0 @@
# 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@sha256:8fc7bb87b77d76d929bcd36403d4f27878fa3e99f5448fb05ed64829078665a4"` | |
| 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 |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `0` | |
| postgresql | object | `{"enabled":true,"existingSecret":"dbcreds","postgresqlDatabase":"sogo","postgresqlUsername":"sogo"}` | postgres dependency settings |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `false` | |
| 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

View File

@ -1,130 +0,0 @@
{{/* Define the configmap */}}
{{- define "sogo.config" -}}
---
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 = "{{ .Values.postgresql.url.complete }}/sogo_user_profile";
OCSFolderInfoURL = "{{ .Values.postgresql.url.complete }}/sogo_folder_info";
OCSSessionsFolderURL = "{{ .Values.postgresql.url.complete }}/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 -}}

View File

@ -1,26 +0,0 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.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.postSetup" . }}

View File

@ -1,133 +0,0 @@
# Default values for Bitwarden.
image:
repository: ghcr.io/truecharts/sogo
pullPolicy: IfNotPresent
tag: v5.2.0@sha256:8fc7bb87b77d76d929bcd36403d4f27878fa3e99f5448fb05ed64829078665a4
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
# -- services
service:
main:
ports:
main:
port: 80
# -- 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
existingSecret: "dbcreds"
postgresqlUsername: sogo
postgresqlDatabase: sogo
# -- 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"