From a646e0d7f72012c8efe6f3dc67b4c644d413dc80 Mon Sep 17 00:00:00 2001 From: Marius Ensrud Date: Wed, 3 Nov 2021 16:14:07 +0100 Subject: [PATCH] add sogo --- charts/sogo/Chart.yaml | 24 +++++++++ charts/sogo/values.yaml | 116 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+) create mode 100644 charts/sogo/Chart.yaml create mode 100644 charts/sogo/values.yaml diff --git a/charts/sogo/Chart.yaml b/charts/sogo/Chart.yaml new file mode 100644 index 0000000..a1806d2 --- /dev/null +++ b/charts/sogo/Chart.yaml @@ -0,0 +1,24 @@ +apiVersion: v2 +name: sogo +description: sogo https://github.com/inverse-inc/sogo + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 5 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "5" diff --git a/charts/sogo/values.yaml b/charts/sogo/values.yaml new file mode 100644 index 0000000..6b93ad1 --- /dev/null +++ b/charts/sogo/values.yaml @@ -0,0 +1,116 @@ +# Default values for sogo. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +replicaCount: 1 + +image: + repository: docker pull sabaitech/sogo + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "" + +imagePullSecrets: [] +nameOverride: "" +fullnameOverride: "" + +serviceAccount: + # Specifies whether a service account should be created + create: true + # Annotations to add to the service account + annotations: {} + # The name of the service account to use. + # If not set and create is true, a name is generated using the fullname template + name: "" + +podAnnotations: {} + +podSecurityContext: {} + # fsGroup: 2000 + +securityContext: {} + # capabilities: + # drop: + # - ALL + # readOnlyRootFilesystem: true + # runAsNonRoot: true + # runAsUser: 1000 + +deployment: + env: {} + config: + MYSQL_SERVER: mariadb + MYSQL_ROOT_PASSWORD: test + MYSQL_USER: sogo + MYSQL_USER_PASSWORD: sogoPassword + MYSQL_DATABASE_NAME: sogo + SOGO_SOGoIMAPServer: "imaps://imap.server.com:143/?tls=yes" + SOGO_SOGoSMTPServer: smtp.server.com + SOGO_SOGoMailDomain: server.com + SOGO_SOGoMailingMechanism: smtp + SOGO_SOGoSMTPAuthenticationType: PLAIN + SOGO_SOGoForceExternalLoginWithEmail: YES + SOGO_NGImap4ConnectionStringSeparator: "." + SOGO_SOGoPasswordChangeEnabled: NO + SOGO_SOGoForwardEnabled: YES + SOGO_SOGoSieveScriptsEnabled: YES + SOGO_SOGoTimeZone: Europe/Paris + SOGO_WorkersCount: 4 + SOGO_SOGoCalendarDefaultRoles: | + ("PublicDAndTViewer","ConfidentialDAndTViewer","PrivateDAndTViewer") + SOGO_SOGoUserSources: | + ({ + canAuthenticate = YES; + displayName = "SOGo Users"; + id = users; isAddressBook = YES; + type = sql; + userPasswordAlgorithm = md5; + viewURL ="mysql://sogo:sogoPassword@mariadb:3306/sogo/sogo_users"; + KindFieldName = kind; + MultipleBookingsFieldName = multiple_bookings; + }) + +service: + type: ClusterIP + port: 2000 + +ingress: + enabled: false + className: "" + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + hosts: + - host: chart-example.local + paths: + - path: / + pathType: ImplementationSpecific + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +resources: {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + +autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 100 + targetCPUUtilizationPercentage: 80 + # targetMemoryUtilizationPercentage: 80 + +nodeSelector: {} + +tolerations: [] + +affinity: {}