Reference / experimental
db-operator-instance
These docs describe Kix's main branch, which can include changes not yet released. Read the docs for the latest release.
DB Operator DbInstance that registers a PostgreSQL server and its admin credentials
This page is generated from kix/packages/experimental/db-operator-instance.
| Stability | Experimental |
package value | packages.experimental.db-operator-instance |
| Default aliases | dbInstance |
Dependencies
Section titled “Dependencies”Kix matches each dependency below to another package instance by instance name, alias, or role. To bind a specific instance, set deps.<name> in your cluster definition. See Declaring dependencies for how required and optional dependencies work.
| Dependency | Requirement |
|---|---|
adminCredentials | Required |
dbOperator | Required |
postgres | Required |
Options
Section titled “Options”auth.passwordKey
Section titled “auth.passwordKey”Secret key in deps.adminCredentials that holds the PostgreSQL admin password.
- Type:
string matching the pattern [-._a-zA-Z0-9]+ - Default:
"password"
auth.usernameKey
Section titled “auth.usernameKey”Secret key in deps.adminCredentials that holds the PostgreSQL admin username.
- Type:
string matching the pattern [-._a-zA-Z0-9]+ - Default:
"username"
extraSpec
Section titled “extraSpec”Additional fields merged into the DbInstance spec, such as
namespaceFilters or endpoint.sslConnection. Each entry in
namespaceFilters is a Go regular expression matched anywhere in the
namespace name, so anchor exact names like "^apps$". Kix rejects engine,
auth, endpoint.host, and endpoint.port here because this package sets
them.
-
Type:
attribute set of anything -
Default:
{ } -
Example:
1{2namespaceFilters = [3"^apps$"4];5}