BackupStorageLocation
velero.io / v1
apiVersion: velero.io/v1
kind: BackupStorageLocation
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
BackupStorageLocationSpec defines the desired state of a Velero BackupStorageLocation
accessMode
string
AccessMode defines the permissions for the backup storage location.
enum:
ReadOnly, ReadWrite
backupSyncPeriod
string
BackupSyncPeriod defines how frequently to sync backup API objects from object storage. A value of 0 disables sync.
config
object
Config is for provider-specific configuration fields.
credential object
Credential contains the credential information intended to be used with this location
key
string required
The key of the secret to select from. Must be a valid secret key.
name
string
Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional
boolean
Specify whether the Secret or its key must be defined
default
boolean
Default indicates this location is the default backup storage location.
objectStorage object required
ObjectStorageLocation specifies the settings necessary to connect to a provider's object storage.
bucket
string required
Bucket is the bucket to use for object storage.
caCert
string
CACert defines a CA bundle to use when verifying TLS connections to the provider.
format:
byte
prefix
string
Prefix is the path inside a bucket to use for Velero storage. Optional.
provider
string required
Provider is the provider of the backup storage.
validationFrequency
string
ValidationFrequency defines how frequently to validate the corresponding object storage. A value of 0 disables validation.
status object
BackupStorageLocationStatus defines the observed state of BackupStorageLocation
accessMode
string
AccessMode is an unused field.
Deprecated: there is now an AccessMode field on the Spec and this field
will be removed entirely as of v2.0.
enum:
ReadOnly, ReadWrite
lastSyncedRevision
string
LastSyncedRevision is the value of the `metadata/revision` file in the backup
storage location the last time the BSL's contents were synced into the cluster.
Deprecated: this field is no longer updated or used for detecting changes to
the location's contents and will be removed entirely in v2.0.
lastSyncedTime
string
LastSyncedTime is the last time the contents of the location were synced into
the cluster.
format:
date-time
lastValidationTime
string
LastValidationTime is the last time the backup store location was validated
the cluster.
format:
date-time
message
string
Message is a message about the backup storage location's status.
phase
string
Phase is the current state of the BackupStorageLocation.
enum:
Available, UnavailableNo matches. Try .spec.accessMode for an exact path