Mapping VM Configurations to Helm Chart Values

The /docs/sde/local_settings and /etc/sde/custom.yaml files provide a method to apply persistent configurations for VM instances that do not get overwritten when instances are upgraded or reprovisioned. See Notable system files and Supported system configurations for more information.

Use the table below to manually migrate VM instance configurations to the container instance using a custom values file. See Configuring the Chart Before Installing in Helm’s documentation for instructions on creating and using a custom values file, and Deploy SD Elements for instructions specific to SD Elements.

Additional configuration options for container instances can be found in the Helm configuration page.

Mapping

VM Configuration

Container Configuration

SDE Worker Debug Logging

DEBUG = True
worker:
  consoleLogLevel: "DEBUG"

Session Timeout

SESSION_INACTIVITY_TIMEOUT = 7200
sde:
 sessionInactivityTimeout: "7200"

Profiling

ENABLE_PROFILING = True
worker:
  extraEnvVars:
  - name: SDE_ENABLE_PROFILING
    value: "True"

Login & Logout Redirect URL

LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/'
sde:
  loginRedirectUrl: "/"
  logoutRedirectUrl: "/"

Database host & credentials

DATABASES = {
    "default": {
        "ENGINE": "<engine>",
        "NAME": "docs_sde_<major>_<minor>_<build>",
        "USER": "sde",
        "PASSWORD": "=====================",
        "HOST": "127.0.0.1",
        "PORT": "5432",
    }
}
Default database service
postgresql:
  auth:
    password: "====================="
External database

See Configuring an external database.

Secret Key

SECRET_KEY = "====================="
sde:
  secretKey: "====================="

Celery Job Timeout

CELERY_JOB_TASK_SOFT_TIME_LIMIT = 14400
sde:
  celeryJobTaskSoftTimeLimit: "14400"

Ignore Internal Network Restriction

SDETOOLS_IGNORE_INTERNAL_NETWORK_RESTRICTION = True
sde:
  sdetoolsIgnoreNetworkRestriction: "True"

Email - Host & Relay

EMAIL_HOST = "localhost"
EMAIL_PORT = 25

We now default to using the sc-mail service or an upstream relay to deliver mail. See Mail Configuration.

Email - Outbound Email Addresses

FEEDBACK_EMAIL = "hello@example.com"
DEFAULT_FROM_EMAIL = "FromName <hello@example.com>"
SERVER_EMAIL = "hello@example.com"
sde:
  defaultFromEmail: "FromName <hello@example.com>"
  feedbackEmail: "hello@example.com"
  serverEmail: "hello@example.com"
  superuserEmail: "hello@example.com"
  supportEmail: "hello@example.com"
  systemAdminEmail: "hello@example.com"

Soft Maintenance Mode

SOFT_MAINTENANCE_WHITELISTED_USERS = user1@example.com,user2@example.com
ACTIVATE_SOFT_MAINTENANCE_ON_DEPLOY = True

results matching ""

    No results matching ""