v1

latestOpenAPI 3.0.22026-07-175961673.3 KB
Backup Storage

Create backup storage

This API creates a new backup storage.

Examples:

{
  "metadata": {
    "name": "s3-storage",
    "namespace": "everest",
  },
  "spec": {
    "type": "s3",
    "bucketName": "bucket1",
    "accessKey": "access_key",
    "secretKey": "secret_key",
    "region": "eu-central-1"
  },
}
{
  "metadata": {
    "name": "azure-storage",
    "namespace": "everest",
  },
  "spec": {
    "type": "azure",
    "bucketName": "container1",
    "accessKey": "storage_account_name",
    "secretKey": "storage_account_key",
  },
}
post/namespaces/{namespace}/backup-storages

Path parameters

namespacestring required

Namespace of the backup storage

Request body

namestring required

A user defined string name of the storage in the DNS name format https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names

descriptionstring
type's3' | 'azure' required
bucketNamestring required

The cloud storage bucket/container name

accessKeystring required
secretKeystring required
urlstring
regionstring
allowedNamespacesstring[]

List of namespaces allowed to use this backup storage

verifyTLSboolean
forcePathStyleboolean

Example request

{
  "name": "aws-dev"
}

Response

Successful operation

type's3' | 'azure' required
namespacestring
namestring required
descriptionstring
bucketNamestring required
urlstring
regionstring
verifyTLSboolean
forcePathStyleboolean
allowedNamespacesstring[]

List of namespaces allowed to use this backup storage