Skip to content
Install the CLI

Reference experimental

stackgres-object-storage

These docs describe Kix's main branch, which can include changes not yet released. Read the docs for the latest release.

Backup storage for StackGres clusters (SGObjectStorage)

This page is generated from kix/packages/experimental/stackgres-object-storage.

StabilityExperimental
package valuepackages.experimental.stackgres-object-storage
Default aliasessgObjectStorage

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
stackgresOperatorRequired
endpointServiceOptional
storageCredentialsOptional

An existing bucket (for azureBlob, a container) that you own. A prefix within it goes in the cluster’s backups[].path.

  • Type: non-empty string

The key of the storageCredentials Secret behind each selector of type. A selector left null reads the key with its own name: s3 and s3Compatible read accessKeyId and secretAccessKey, gcs reads serviceAccountJSON, and azureBlob reads storageAccount and accessKey. A key set for a selector the type does not read is refused.

  • Type: submodule
  • Default: { }

Secret key for the accessKey selector; null reads the key accessKey.

  • Type: null or non-empty string
  • Default: null

Secret key for the accessKeyId selector; null reads the key accessKeyId.

  • Type: null or non-empty string
  • Default: null

s3Compatible only: the Secret key holding the CA certificate of an endpoint whose certificate a public CA did not issue. Null sets no CA.

  • Type: null or non-empty string
  • Default: null

Secret key for the secretAccessKey selector; null reads the key secretAccessKey.

  • Type: null or non-empty string
  • Default: null

Secret key for the serviceAccountJSON selector; null reads the key serviceAccountJSON.

  • Type: null or non-empty string
  • Default: null

Secret key for the storageAccount selector; null reads the key storageAccount.

  • Type: null or non-empty string
  • Default: null

Merged over the SGObjectStorage spec. type, <type>.bucket, and the credential selectors the package writes are refused.

  • Type: attribute set of anything

  • Default: { }

  • Example:

    {
    s3Compatible = {
    enablePathStyleAddressing = true;
    endpoint = "https://s3.example.com";
    region = "example-1";
    };
    }

Storage service: s3 (AWS S3), s3Compatible (any S3 API, with an endpoint in extraSpec.s3Compatible.endpoint), gcs, or azureBlob.

  • Type: one of "azureBlob", "gcs", "s3", "s3Compatible"