Configuration
The following environment variables are used to configure the application. They are set via a Kubernetes ConfigMap with values coming from the Helm values.yaml. See Deployment to Kubernetes
Generally, if an variable default can be set in the application it will be. There are then also some defaults in the Helm values. For more dynamic values that depend on the release name or namespace, the environment variables have a sensible default in the ConfigMap but also can be overwritten via the values.yaml.
The ODA connection is configured these environment variables and corresponding Helm values, or a Kubernetes Secret - see Secret Management.
Environment variable |
Description |
Required/optional in the application |
Corresponding Helm value |
Required/optional in the Helm chart |
|---|---|---|---|---|
PGHOST |
The address of the PostgreSQL instance that the postgres ODA will connect to. |
Required |
|
Optional - will fall back on: |
PGUSER |
The admin user of the PostgreSQL instance that the postgres ODA will connect to. |
Optional - default: |
|
Optional - no default in chart |
PGPASSWORD |
The admin password of the PostgreSQL instance that the postgres ODA will connect to. |
Required |
Pulled from Vault - see Secret Management |
|
PGPORT |
The port of the PostgreSQL instance that the postgres ODA will connect to. |
Optional - default: |
|
Optional - default: |
PGDATABASE |
The name of the database within a PostgreSQL instance that the postgres ODA will connect to. |
Optional - default: |
|
Optional - no default in chart (overwritten in the Makefile) |
AWS_SERVER_PUBLIC_KEY |
The aws server public key used to connect to the AWS account. Used by PHT to work with S3. |
Required |
Pulled from Vault - see Secret Management |
|
AWS_SERVER_SECRET_KEY |
The aws server secret key used to connect to the AWS account. Used by PHT to work with S3. |
Required |
Pulled from Vault - see Secret Management |
|
AWS_PHT_BUCKET_NAME |
The aws S3 buket name used by PHT. |
Required |
Pulled from Vault - see Secret Management |
|
SMTP_PASSWORD |
The SMTP password to connect to SKAO server. Used by PHT to send emails. |
Required |
Pulled from Vault - see Secret Management |
|
OSO_CLIENT_SECRET |
client secret for oso services |
Required |
Pulled from Vault - see Secret Management |