Skip to main content
Version: 3.6

BackupLocation CRD reference

BackupLocation represents a BackupLocation object.

BackupLocation

FieldDescriptionType
apiVersionAPIVersion 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
string
clusterClusterItem is the spec used to store the credentials associated with the cluster
Only one of AWSClusterConfig, AzureClusterConfig or GCPClusterConfig should be specified and
should match the Type field. Members of the config can be specified inline or
through the SecretConfig
object
kindKind 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
string
locationBackupLocationItem is the spec used to store a backup location
Only one of S3Config, AzureConfig or GoogleConfig should be specified and
should match the Type field. Members of the config can be specified inline or
through the SecretConfig
object
statusBackupLocationStatus represents the status of a BackupLocation resourceobject

cluster fields

FieldDescriptionType
cluster.awsClusterConfigS3Config specifies the config required to connect to an S3-compliant
objectstore
object
cluster.awsClusterConfig.accessKeyIDAccessKeyId holds the accessKey for S3 endpointstring
cluster.awsClusterConfig.disableSSLDisable SSL option if using with a non-AWS S3 objectstore which doesn't
have SSL enabled
boolean
cluster.awsClusterConfig.endpointEndpoint will be defaulted to s3.amazonaws.com by the controller if not providedstring
cluster.awsClusterConfig.regionRegion will be defaulted to us-east-1 by the controller if not providedstring
cluster.awsClusterConfig.secretAccessKeySecretAccessKey holds the secretAccessKey for S3 endpointstring
cluster.awsClusterConfig.sseSSE (Server Side Encryption) type for the S3 bucket.
supported option: "AES256", "aws:kms"
string
cluster.awsClusterConfig.storageClassThe S3 Storage Class to use when uploading objects. Glacier storage
classes are not supported
string
cluster.awsClusterConfig.useIamUseIam when set stork will use the instance IAM role associated with the nodes
on which stork pods run
boolean
cluster.azureClusterConfigAzureConfig specifies the config required to connect to Azure Blob Storageobject
cluster.azureClusterConfig.clientIDClientId holds the client ID for the azure accountstring
cluster.azureClusterConfig.clientSecretClientSecret holds the client secret for the azure accountstring
cluster.azureClusterConfig.environmentAzure-Environment type for azure blob storage
supported option: "azure-public", "azure-china"
string
cluster.azureClusterConfig.resourceGroupNameResource group namestring
cluster.azureClusterConfig.storageAccountKeyStorageAccountKey holds the key for the storage account.
Not required when UseWorkloadIdentity is set in BackupLocationItem.
string
cluster.azureClusterConfig.storageAccountNameStorageAccountName holds the name of the storage accountstring
cluster.azureClusterConfig.subscriptionIDSubscriptionID holds the subscription ID for the azure accountstring
cluster.azureClusterConfig.tenantIDTenantID holds the tenant ID for the azure accountstring
cluster.encryptionKeyPath is either the bucket or any other path for the backup locationstring
cluster.gcpClusterConfigGoogleConfig specifies the config required to connect to Google Cloud Storageobject
cluster.gcpClusterConfig.accountKeyAccountKey holds the account key for the google accountstring
cluster.gcpClusterConfig.projectIDProjectID holds the project ID for the google accountstring
cluster.typeClusterType is the type of the clusterstring

location fields

FieldDescriptionType
location.azureConfigAzureConfig specifies the config required to connect to Azure Blob Storageobject
location.azureConfig.clientIDClientId holds the client ID for the azure accountstring
location.azureConfig.clientSecretClientSecret holds the client secret for the azure accountstring
location.azureConfig.environmentAzure-Environment type for azure blob storage
supported option: "azure-public", "azure-china"
string
location.azureConfig.resourceGroupNameResource group namestring
location.azureConfig.storageAccountKeyStorageAccountKey holds the key for the storage account.
Not required when UseWorkloadIdentity is set in BackupLocationItem.
string
location.azureConfig.storageAccountNameStorageAccountName holds the name of the storage accountstring
location.azureConfig.subscriptionIDSubscriptionID holds the subscription ID for the azure accountstring
location.azureConfig.tenantIDTenantID holds the tenant ID for the azure accountstring
location.encryptionKeyEncryptionKey is deprecated. Instead use EncryptionV2Key field to pass the encryption key.string
location.encryptionV2KeyEncryptionV2Key will be used to pass encryption key.string
location.googleConfigGoogleConfig specifies the config required to connect to Google Cloud Storageobject
location.googleConfig.accountKeyAccountKey holds the account key for the google accountstring
location.googleConfig.projectIDProjectID holds the project ID for the google accountstring
location.nfsConfig.mountOptionsMountOptions holds the mount options for the NFS serverstring
location.nfsConfig.nfsIOTimeoutInSecsNFSIOTimeoutInSecs holds the NFS IO timeout in secondsstring
location.nfsConfig.serverAddrServerAddr holds the server address for the NFS serverstring
location.nfsConfig.subPathSubPath holds the subpath for the NFS serverstring
location.pathPath is either the bucket or any other path for the backup locationstring
location.s3ConfigS3Config specifies the config required to connect to an S3-compliant
objectstore
object
location.s3Config.accessKeyIDAccessKeyId holds the accessKey for S3 endpointstring
location.s3Config.disableSSLDisable SSL option if using with a non-AWS S3 objectstore which doesn't
have SSL enabled
boolean
location.s3Config.endpointEndpoint will be defaulted to s3.amazonaws.com by the controller if not providedstring
location.s3Config.regionRegion will be defaulted to us-east-1 by the controller if not providedstring
location.s3Config.secretAccessKeySecretAccessKey holds the secretAccessKey for S3 endpointstring
location.s3Config.sseSSE (Server Side Encryption) type for the S3 bucket.
supported option: "AES256", "aws:kms"
string
location.s3Config.storageClassThe S3 Storage Class to use when uploading objects. Glacier storage
classes are not supported
string
location.s3Config.useIamUseIam when set stork will use the instance IAM role associated with the nodes
on which stork pods run
boolean
location.typeBackupLocationType is the type of the backup locationstring
location.useWorkloadIdentityUseWorkloadIdentity when set, stork will use cloud provider's workload identity
credentials instead of static credentials for authentication. This allows each cluster
to use its own identity to access the storage account.
For Azure: Uses AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_FEDERATED_TOKEN_FILE environment variables
For AWS: Uses IAM roles for service accounts (IRSA)
For GCP: Uses Workload Identity
boolean
location.validateValidate triggers validation when set to true. After validation completes,
this field is reset to false and the result is stored in Status.Validation.
boolean

status fields

FieldDescriptionType
status.syncSync contains the status of the last sync operationobject
status.sync.lastUpdateTimeLastUpdateTime is the timestamp of the last operation attemptstring
status.sync.reasonReason provides additional details about the operation statusstring
status.sync.statusStatus is the current status of the operationstring
status.validationValidation contains the status of the last validation operationobject
status.validation.lastUpdateTimeLastUpdateTime is the timestamp of the last operation attemptstring
status.validation.objectLockObjectLock indicates whether the backup location bucket has object lock enabledboolean
status.validation.reasonReason provides additional details about the operation statusstring
status.validation.retentionPeriodDaysRetentionPeriodDays is the retention period in days configured on the object-locked bucketinteger
status.validation.statusStatus is the current status of the operationstring
In this topic: