Skip to main content
Version: Spectra Detect 6.2.0

Postgres Secrets and ConfigMap Values

Secrets

Custom NameDefault NameTypeDescriptionUsed in Components
<global.postgresCustomSecretName><release_name>-postgres-secretRequiredBasic authentication secret which contains username and password for Database. If postgres.createUserSecret is set to true, it will be created automatically from username and password. Otherwise, secret has to already exist.Worker, SDM

Values

Secret Configuration

KeyTypeDefaultDescription
createUserSecretbooltrueA user secret will be created automatically with the given username and password; otherwise, the secret must already exist.
customSecretNamestringnilPostgres custom secret name. If umbrella chart is used for deployment, this value is ignored, and the value from global.postgresCustomSecretName will be used as a secret name.
passwordstring"tiscale_11223"Password.
usernamestring"tiscale"Username. Required if host is not set, because the Detect PostgreSQL cluster will be created and this user will be set as the database owner.

Kubernetes Settings

KeyTypeDefaultDescription
affinityobject{}Affinity for pod scheduling. Allows to constrain which nodes your pod can be scheduled on based on node labels or ensure pods are co-located (or isolated) from other pods.

Application Configuration

KeyTypeDefaultDescription
databasestring"tiscale"Database name.
hoststring""Host for external PostgreSQL. When configured, the Detect PostgreSQL cluster won't be created.
portint5432PostgreSQL port.
schemastring""Schema name which will be used for SDM. When empty, default name "portal" will be used.

Pod Settings

KeyTypeDefaultDescription
imageobject-Configuration values of the postgres image.
image.repositorystring"ghcr.io/cloudnative-pg/postgresql"Image repository.
image.tagstring"17.6"Image tag.
persistenceobject-Postgres data storage configuration.
persistence.accessModeslist["ReadWriteOnce"]Specifies the access modes for the volume.
persistence.requestStoragestring"5Gi"The amount of storage to request.
persistence.storageClassNamestringnilName of the StorageClass to use.
replicasint1Number of desired pod instances.
resourcesobject-Resource requests and limits for the container.
resources.limitsobject-The maximum amount of resources the container is allowed to consume.
resources.limits.cpustringnilCPU limit. Throttling occurs if the container exceeds this value.
resources.limits.memorystringnilMemory limit. If exceeded, the container may be terminated with an OOMKilled error.
resources.requestsobject-The minimum amount of resources the container is guaranteed.
resources.requests.cpustring"500m"CPU request.
resources.requests.memorystring"1Gi"Memory request.