Skip to main content

PostgreSQLDatabase

Tiers

This feature is available for the following tiers: Standard, Premium.

Packages:

database.entigo.com/v1alpha1

Resource Types:

PostgreSQLDatabase

↩ Parent
NameTypeDescriptionRequired
apiVersionstringdatabase.entigo.com/v1alpha1true
kindstringPostgreSQLDatabasetrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject
false

PostgreSQLDatabase.spec

↩ Parent
NameTypeDescriptionRequired
instanceRefobject
true
ownerstring

Owner role name (PostgreSQL conventional name)

true
dbTemplatestring

The name of the template from which to create the new database

false
deletionProtectionboolean

Prevents accidental deletion of PostgreSQLDatabase resource


Default: true

false
encodingstring

Character set encoding to use in the new database. Specify a string constant (e.g., 'SQL_ASCII'), or an integer encoding number, or DEFAULT to use the default encoding (namely, the encoding of the template database).

false
extensionConfigmap[string]object

Per-extension configuration. Key is the extension name, value is a configuration object.

false
extensions[]enum

List of PostgreSQL extensions to enable.


Enum: postgis, postgis_topology, fuzzystrmatch, postgis_tiger_geocoder, uuid-ossp, btree_gist

false
lcCTypestring

Character classification (LC_CTYPE) to use in the new database. This affects the categorization of characters, e.g. lower, upper and digit. The default is to use the character classification of the template database.

false
lcCollatestring

Collation order (LC_COLLATE) to use in the new database. This affects the sort order applied to strings, e.g. in queries with ORDER BY, as well as the order used in indexes on text columns. The default is to use the collation order of the template database.

false
namestring

Alternative, i.e. non kubernetes compliant name

false

PostgreSQLDatabase.spec.instanceRef

↩ Parent
NameTypeDescriptionRequired
namestring

Name of the database instance the db should be created in

true

PostgreSQLDatabase.spec.extensionConfig[key]

↩ Parent
NameTypeDescriptionRequired
schemastring

Schema in which to create the extension objects

false