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.
| Stability | Experimental |
package value | packages.experimental.stackgres-object-storage |
| Default aliases | sgObjectStorage |
How-to guides
Section titled “How-to guides”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 |
|---|---|
stackgresOperator | Required |
endpointService | Optional |
storageCredentials | Optional |
Options
Section titled “Options”bucket
Section titled “bucket”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
credentialKeys
Section titled “credentialKeys”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:
{ }
credentialKeys.accessKey
Section titled “credentialKeys.accessKey”Secret key for the accessKey selector; null reads the key accessKey.
- Type:
null or non-empty string - Default:
null
credentialKeys.accessKeyId
Section titled “credentialKeys.accessKeyId”Secret key for the accessKeyId selector; null reads the key accessKeyId.
- Type:
null or non-empty string - Default:
null
credentialKeys.caCertificate
Section titled “credentialKeys.caCertificate”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
credentialKeys.secretAccessKey
Section titled “credentialKeys.secretAccessKey”Secret key for the secretAccessKey selector; null reads the key secretAccessKey.
- Type:
null or non-empty string - Default:
null
credentialKeys.serviceAccountJSON
Section titled “credentialKeys.serviceAccountJSON”Secret key for the serviceAccountJSON selector; null reads the key serviceAccountJSON.
- Type:
null or non-empty string - Default:
null
credentialKeys.storageAccount
Section titled “credentialKeys.storageAccount”Secret key for the storageAccount selector; null reads the key storageAccount.
- Type:
null or non-empty string - Default:
null
extraSpec
Section titled “extraSpec”Merged over the SGObjectStorage spec. type, <type>.bucket, and the credential selectors the package writes are refused.
-
Type:
attribute set of anything -
Default:
{ } -
Example:
1{2s3Compatible = {3enablePathStyleAddressing = true;4endpoint = "https://s3.example.com";5region = "example-1";6};7}
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"