backupStorage

Create a new backup storage object

Create a new backup storage object.

Examples:

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

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[] required

List of namespaces allowed to use this backup storage

verifyTLSboolean
forcePathStyleboolean

Example request

{
  "name": "aws-dev"
}

Response

Successful operation

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

List of namespaces allowed to use this backup storage

Changes