Skip to content
Install the CLI

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.

StabilityExperimental
package valuepackages.experimental.db-operator-instance
Default aliasesdbInstance

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.

DependencyRequirement
adminCredentialsRequired
dbOperatorRequired
postgresRequired

Secret key in deps.adminCredentials that holds the PostgreSQL admin password.

  • Type: string matching the pattern [-._a-zA-Z0-9]+
  • Default: "password"

Secret key in deps.adminCredentials that holds the PostgreSQL admin username.

  • Type: string matching the pattern [-._a-zA-Z0-9]+
  • Default: "username"

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:

    {
    namespaceFilters = [
    "^apps$"
    ];
    }