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
Note
There are some environment variables defined in the OET Helm chart that are not used directly by the OET application so are not listed here. As the OET executes scripts in child process that will be using the ska-oso-scripting library, environment variables expected by the library need to be defined in the OET process They are documented in the RTD for ska-oso-scripting
Environment variable |
Description |
Required/optional in the application |
Corresponding Helm value |
Required/optional in the Helm chart |
---|---|---|---|---|
SKUID_URL |
The Kubernetes service address of a running SKUID service |
Required |
|
|
ODA_BACKEND_TYPE |
Defines whether the ODA interfaces should connect to a Postgresql instance or use the filesystem. |
Optional - default: |
|
Required - default set to |
ODA_DATA_DIR |
The base filesystem location that the filesystem ODA will use to store and retrieve entities. |
Optional - default: |
|
Required - default set to |
POSTGRES_HOST |
The address of the PostgreSQL instance that the postgres ODA will connect to. |
Required if |
|
Optional - will fall back on: |
ADMIN_POSTGRES_USER |
The admin user of the PostgreSQL instance that the postgres ODA will connect to. |
Optional - default: |
|
Optional - no default in chart |
ADMIN_POSTGRES_PASSWORD |
The admin password of the PostgreSQL instance that the postgres ODA will connect to. |
Required if |
Pulled from Vault - see Secret Management |
|
POSTGRES_PORT |
The port of the PostgreSQL instance that the postgres ODA will connect to. |
Optional - default: |
|
Optional - no default in chart |
POSTGRES_DB_NAME |
The name of the database within a PostgreSQL instance that the postgres ODA will connect to. |
Optional - default: |
|
Optional - no default in chart |