sophora-courier

by subshell GmbH

Helm chartv1.2.0App 4.0.2Verified publisher

A Helm chart for Sophora Courier

About this chart

Sophora Courier

This chart deploys Sophora Courier.

What you need (requirements)

This chart requires the following already present in the target namespace:

  • An ImagePullSecret for the subshell Docker Registry
  • A secret containing username and password for Sophora, basicauth and the mail server.

Example values.yaml

image:
  repository: container.subshell.com/sophora-courier/base
  pullPolicy: Always
  tag: # Overrides the image tag whose default is the chart appVersion.

imagePullSecrets: []

javaOptions: "-XX:MinRAMPercentage=50.0 -XX:MaxRAMPercentage=90.0 -XX:+AlwaysPreTouch"

service:
  type: LoadBalancer
  port: 80
  targetPort: 8080
  jolokiaPort: 1496
  jolokiaTargetPort: 1496

sophora:
  courier:
    config:
      server:
        port: 8080

        sophora:
          serverUrl: "http://my-server:1196"
          urlServletPath: "http://my-delivery.default.svc.cluster.local/system/servlet/urlService.servlet"
          channel: presse
          retryIntervalInMs: 5000
          maxRetries: 5
          noRetryErrorMessage: "Fehler: E-Mail/Newsletter hat keinen Inhalt."

        preview:
          urlServletPath: "http://my-delivery.default.svc.cluster.local/system/servlet/urlService.servlet"
          userExternalId: preview-user-courier

        propertyNames:
          distributorName: customer:name
          publicDistributor: customer:public

        logging:
          config: "config/logback/logback.xml"
          path: "/logs/"

        mail:
          useDeliveryToGenerateTemplate: true
          sendIntervalMs: 1000
          maxQueueSize: 200
          host: 10.5.0.2
          port: 25
          safeMode:
            enabled: true
            whitelist:
              - [email protected]

resources:
  requests:
    memory: "3G"
    cpu: "0.5"
  limits:
    memory: "3.5G"

secret:
  name: courier-credentials
  key:
    courier:
      username: username
      password: password
    basicauth:
      username: username
      password: password
    mail:
      username: username
      password: password

Deploy sophora-courier with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has sophora-courier on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsophora-courier is pinned at v1.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply